@teslemetry/tesla-protocol 0.3.0 → 0.5.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.
@@ -1,7 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_command_common = require("./common.cjs");
3
3
  const require_command_google_protobuf_timestamp = require("./google/protobuf/timestamp.cjs");
4
+ const require_command_keys = require("./keys.cjs");
4
5
  const require_command_signatures = require("./signatures.cjs");
6
+ const require_command_vcsec = require("./vcsec.cjs");
5
7
  const require_command_vehicle = require("./vehicle.cjs");
6
8
  let _bufbuild_protobuf_wire = require("@bufbuild/protobuf/wire");
7
9
  //#region src/command/car_server.ts
@@ -56,6 +58,40 @@ function vehicleImageRequest_TypeToJSON(object) {
56
58
  default: return "UNRECOGNIZED";
57
59
  }
58
60
  }
61
+ let NavigationRouteResponse_TrafficStatus = /* @__PURE__ */ function(NavigationRouteResponse_TrafficStatus) {
62
+ NavigationRouteResponse_TrafficStatus[NavigationRouteResponse_TrafficStatus["TS_NO_DATA"] = 0] = "TS_NO_DATA";
63
+ NavigationRouteResponse_TrafficStatus[NavigationRouteResponse_TrafficStatus["TS_LIGHT"] = 1] = "TS_LIGHT";
64
+ NavigationRouteResponse_TrafficStatus[NavigationRouteResponse_TrafficStatus["TS_MODERATE"] = 2] = "TS_MODERATE";
65
+ NavigationRouteResponse_TrafficStatus[NavigationRouteResponse_TrafficStatus["TS_CONGESTION"] = 3] = "TS_CONGESTION";
66
+ NavigationRouteResponse_TrafficStatus[NavigationRouteResponse_TrafficStatus["TS_SEVERE_CONGESTION"] = 4] = "TS_SEVERE_CONGESTION";
67
+ NavigationRouteResponse_TrafficStatus[NavigationRouteResponse_TrafficStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
68
+ return NavigationRouteResponse_TrafficStatus;
69
+ }({});
70
+ function navigationRouteResponse_TrafficStatusFromJSON(object) {
71
+ switch (object) {
72
+ case 0:
73
+ case "TS_NO_DATA": return 0;
74
+ case 1:
75
+ case "TS_LIGHT": return 1;
76
+ case 2:
77
+ case "TS_MODERATE": return 2;
78
+ case 3:
79
+ case "TS_CONGESTION": return 3;
80
+ case 4:
81
+ case "TS_SEVERE_CONGESTION": return 4;
82
+ default: return -1;
83
+ }
84
+ }
85
+ function navigationRouteResponse_TrafficStatusToJSON(object) {
86
+ switch (object) {
87
+ case 0: return "TS_NO_DATA";
88
+ case 1: return "TS_LIGHT";
89
+ case 2: return "TS_MODERATE";
90
+ case 3: return "TS_CONGESTION";
91
+ case 4: return "TS_SEVERE_CONGESTION";
92
+ default: return "UNRECOGNIZED";
93
+ }
94
+ }
59
95
  let HvacSeatCoolerActions_HvacSeatCoolerLevelE = /* @__PURE__ */ function(HvacSeatCoolerActions_HvacSeatCoolerLevelE) {
60
96
  HvacSeatCoolerActions_HvacSeatCoolerLevelE[HvacSeatCoolerActions_HvacSeatCoolerLevelE["HvacSeatCoolerLevel_Unknown"] = 0] = "HvacSeatCoolerLevel_Unknown";
61
97
  HvacSeatCoolerActions_HvacSeatCoolerLevelE[HvacSeatCoolerActions_HvacSeatCoolerLevelE["HvacSeatCoolerLevel_Off"] = 1] = "HvacSeatCoolerLevel_Off";
@@ -2939,9 +2975,22 @@ function createBaseResponse() {
2939
2975
  actionStatus: void 0,
2940
2976
  vehicleData: void 0,
2941
2977
  getSessionInfoResponse: void 0,
2978
+ streamMessage: void 0,
2942
2979
  getNearbyChargingSites: void 0,
2980
+ vehicleDataSubscriptionResponse: void 0,
2981
+ vitalsSubscriptionResponse: void 0,
2943
2982
  ping: void 0,
2944
- getChargeOnSolarFeatureResponse: void 0
2983
+ piiKeyResponse: void 0,
2984
+ pseudonymSyncResponse: void 0,
2985
+ getRateTariffResponse: void 0,
2986
+ navigationRouteResponse: void 0,
2987
+ getManagedChargingSitesResponse: void 0,
2988
+ getChargeOnSolarFeatureResponse: void 0,
2989
+ addManagedChargingSiteResponse: void 0,
2990
+ getMessagesResponse: void 0,
2991
+ getLocalProfilesResponse: void 0,
2992
+ keysInfoResponse: void 0,
2993
+ bandwidthTestResponse: void 0
2945
2994
  };
2946
2995
  }
2947
2996
  const Response = {
@@ -2949,9 +2998,22 @@ const Response = {
2949
2998
  if (message.actionStatus !== void 0) ActionStatus.encode(message.actionStatus, writer.uint32(10).fork()).join();
2950
2999
  if (message.vehicleData !== void 0) require_command_vehicle.VehicleData.encode(message.vehicleData, writer.uint32(18).fork()).join();
2951
3000
  if (message.getSessionInfoResponse !== void 0) require_command_signatures.SessionInfo.encode(message.getSessionInfoResponse, writer.uint32(26).fork()).join();
3001
+ if (message.streamMessage !== void 0) StreamMessage.encode(message.streamMessage, writer.uint32(34).fork()).join();
2952
3002
  if (message.getNearbyChargingSites !== void 0) NearbyChargingSites.encode(message.getNearbyChargingSites, writer.uint32(42).fork()).join();
3003
+ if (message.vehicleDataSubscriptionResponse !== void 0) VehicleDataSubscriptionResponse.encode(message.vehicleDataSubscriptionResponse, writer.uint32(50).fork()).join();
3004
+ if (message.vitalsSubscriptionResponse !== void 0) VitalsSubscriptionResponse.encode(message.vitalsSubscriptionResponse, writer.uint32(66).fork()).join();
2953
3005
  if (message.ping !== void 0) Ping.encode(message.ping, writer.uint32(74).fork()).join();
3006
+ if (message.piiKeyResponse !== void 0) PiiKeyResponse.encode(message.piiKeyResponse, writer.uint32(82).fork()).join();
3007
+ if (message.pseudonymSyncResponse !== void 0) PseudonymSyncResponse.encode(message.pseudonymSyncResponse, writer.uint32(90).fork()).join();
3008
+ if (message.getRateTariffResponse !== void 0) GetRateTariffResponse.encode(message.getRateTariffResponse, writer.uint32(98).fork()).join();
3009
+ if (message.navigationRouteResponse !== void 0) NavigationRouteResponse.encode(message.navigationRouteResponse, writer.uint32(106).fork()).join();
3010
+ if (message.getManagedChargingSitesResponse !== void 0) GetManagedChargingSitesResponse.encode(message.getManagedChargingSitesResponse, writer.uint32(114).fork()).join();
2954
3011
  if (message.getChargeOnSolarFeatureResponse !== void 0) GetChargeOnSolarFeatureResponse.encode(message.getChargeOnSolarFeatureResponse, writer.uint32(122).fork()).join();
3012
+ if (message.addManagedChargingSiteResponse !== void 0) AddManagedChargingSiteResponse.encode(message.addManagedChargingSiteResponse, writer.uint32(130).fork()).join();
3013
+ if (message.getMessagesResponse !== void 0) GetMessagesResponse.encode(message.getMessagesResponse, writer.uint32(146).fork()).join();
3014
+ if (message.getLocalProfilesResponse !== void 0) GetLocalProfilesResponse.encode(message.getLocalProfilesResponse, writer.uint32(162).fork()).join();
3015
+ if (message.keysInfoResponse !== void 0) KeysInfoResponse.encode(message.keysInfoResponse, writer.uint32(194).fork()).join();
3016
+ if (message.bandwidthTestResponse !== void 0) BandwidthTestResponse.encode(message.bandwidthTestResponse, writer.uint32(202).fork()).join();
2955
3017
  return writer;
2956
3018
  },
2957
3019
  decode(input, length) {
@@ -2973,18 +3035,70 @@ const Response = {
2973
3035
  if (tag !== 26) break;
2974
3036
  message.getSessionInfoResponse = require_command_signatures.SessionInfo.decode(reader, reader.uint32());
2975
3037
  continue;
3038
+ case 4:
3039
+ if (tag !== 34) break;
3040
+ message.streamMessage = StreamMessage.decode(reader, reader.uint32());
3041
+ continue;
2976
3042
  case 5:
2977
3043
  if (tag !== 42) break;
2978
3044
  message.getNearbyChargingSites = NearbyChargingSites.decode(reader, reader.uint32());
2979
3045
  continue;
3046
+ case 6:
3047
+ if (tag !== 50) break;
3048
+ message.vehicleDataSubscriptionResponse = VehicleDataSubscriptionResponse.decode(reader, reader.uint32());
3049
+ continue;
3050
+ case 8:
3051
+ if (tag !== 66) break;
3052
+ message.vitalsSubscriptionResponse = VitalsSubscriptionResponse.decode(reader, reader.uint32());
3053
+ continue;
2980
3054
  case 9:
2981
3055
  if (tag !== 74) break;
2982
3056
  message.ping = Ping.decode(reader, reader.uint32());
2983
3057
  continue;
3058
+ case 10:
3059
+ if (tag !== 82) break;
3060
+ message.piiKeyResponse = PiiKeyResponse.decode(reader, reader.uint32());
3061
+ continue;
3062
+ case 11:
3063
+ if (tag !== 90) break;
3064
+ message.pseudonymSyncResponse = PseudonymSyncResponse.decode(reader, reader.uint32());
3065
+ continue;
3066
+ case 12:
3067
+ if (tag !== 98) break;
3068
+ message.getRateTariffResponse = GetRateTariffResponse.decode(reader, reader.uint32());
3069
+ continue;
3070
+ case 13:
3071
+ if (tag !== 106) break;
3072
+ message.navigationRouteResponse = NavigationRouteResponse.decode(reader, reader.uint32());
3073
+ continue;
3074
+ case 14:
3075
+ if (tag !== 114) break;
3076
+ message.getManagedChargingSitesResponse = GetManagedChargingSitesResponse.decode(reader, reader.uint32());
3077
+ continue;
2984
3078
  case 15:
2985
3079
  if (tag !== 122) break;
2986
3080
  message.getChargeOnSolarFeatureResponse = GetChargeOnSolarFeatureResponse.decode(reader, reader.uint32());
2987
3081
  continue;
3082
+ case 16:
3083
+ if (tag !== 130) break;
3084
+ message.addManagedChargingSiteResponse = AddManagedChargingSiteResponse.decode(reader, reader.uint32());
3085
+ continue;
3086
+ case 18:
3087
+ if (tag !== 146) break;
3088
+ message.getMessagesResponse = GetMessagesResponse.decode(reader, reader.uint32());
3089
+ continue;
3090
+ case 20:
3091
+ if (tag !== 162) break;
3092
+ message.getLocalProfilesResponse = GetLocalProfilesResponse.decode(reader, reader.uint32());
3093
+ continue;
3094
+ case 24:
3095
+ if (tag !== 194) break;
3096
+ message.keysInfoResponse = KeysInfoResponse.decode(reader, reader.uint32());
3097
+ continue;
3098
+ case 25:
3099
+ if (tag !== 202) break;
3100
+ message.bandwidthTestResponse = BandwidthTestResponse.decode(reader, reader.uint32());
3101
+ continue;
2988
3102
  }
2989
3103
  if ((tag & 7) === 4 || tag === 0) break;
2990
3104
  reader.skip(tag & 7);
@@ -2996,9 +3110,22 @@ const Response = {
2996
3110
  actionStatus: isSet(object.actionStatus) ? ActionStatus.fromJSON(object.actionStatus) : void 0,
2997
3111
  vehicleData: isSet(object.vehicleData) ? require_command_vehicle.VehicleData.fromJSON(object.vehicleData) : void 0,
2998
3112
  getSessionInfoResponse: isSet(object.getSessionInfoResponse) ? require_command_signatures.SessionInfo.fromJSON(object.getSessionInfoResponse) : void 0,
3113
+ streamMessage: isSet(object.streamMessage) ? StreamMessage.fromJSON(object.streamMessage) : void 0,
2999
3114
  getNearbyChargingSites: isSet(object.getNearbyChargingSites) ? NearbyChargingSites.fromJSON(object.getNearbyChargingSites) : void 0,
3115
+ vehicleDataSubscriptionResponse: isSet(object.vehicleDataSubscriptionResponse) ? VehicleDataSubscriptionResponse.fromJSON(object.vehicleDataSubscriptionResponse) : void 0,
3116
+ vitalsSubscriptionResponse: isSet(object.vitalsSubscriptionResponse) ? VitalsSubscriptionResponse.fromJSON(object.vitalsSubscriptionResponse) : void 0,
3000
3117
  ping: isSet(object.ping) ? Ping.fromJSON(object.ping) : void 0,
3001
- getChargeOnSolarFeatureResponse: isSet(object.getChargeOnSolarFeatureResponse) ? GetChargeOnSolarFeatureResponse.fromJSON(object.getChargeOnSolarFeatureResponse) : void 0
3118
+ piiKeyResponse: isSet(object.piiKeyResponse) ? PiiKeyResponse.fromJSON(object.piiKeyResponse) : void 0,
3119
+ pseudonymSyncResponse: isSet(object.pseudonymSyncResponse) ? PseudonymSyncResponse.fromJSON(object.pseudonymSyncResponse) : void 0,
3120
+ getRateTariffResponse: isSet(object.getRateTariffResponse) ? GetRateTariffResponse.fromJSON(object.getRateTariffResponse) : void 0,
3121
+ navigationRouteResponse: isSet(object.navigationRouteResponse) ? NavigationRouteResponse.fromJSON(object.navigationRouteResponse) : void 0,
3122
+ getManagedChargingSitesResponse: isSet(object.getManagedChargingSitesResponse) ? GetManagedChargingSitesResponse.fromJSON(object.getManagedChargingSitesResponse) : void 0,
3123
+ getChargeOnSolarFeatureResponse: isSet(object.getChargeOnSolarFeatureResponse) ? GetChargeOnSolarFeatureResponse.fromJSON(object.getChargeOnSolarFeatureResponse) : void 0,
3124
+ addManagedChargingSiteResponse: isSet(object.addManagedChargingSiteResponse) ? AddManagedChargingSiteResponse.fromJSON(object.addManagedChargingSiteResponse) : void 0,
3125
+ getMessagesResponse: isSet(object.getMessagesResponse) ? GetMessagesResponse.fromJSON(object.getMessagesResponse) : void 0,
3126
+ getLocalProfilesResponse: isSet(object.getLocalProfilesResponse) ? GetLocalProfilesResponse.fromJSON(object.getLocalProfilesResponse) : void 0,
3127
+ keysInfoResponse: isSet(object.keysInfoResponse) ? KeysInfoResponse.fromJSON(object.keysInfoResponse) : void 0,
3128
+ bandwidthTestResponse: isSet(object.bandwidthTestResponse) ? BandwidthTestResponse.fromJSON(object.bandwidthTestResponse) : void 0
3002
3129
  };
3003
3130
  },
3004
3131
  toJSON(message) {
@@ -3006,9 +3133,22 @@ const Response = {
3006
3133
  if (message.actionStatus !== void 0) obj.actionStatus = ActionStatus.toJSON(message.actionStatus);
3007
3134
  if (message.vehicleData !== void 0) obj.vehicleData = require_command_vehicle.VehicleData.toJSON(message.vehicleData);
3008
3135
  if (message.getSessionInfoResponse !== void 0) obj.getSessionInfoResponse = require_command_signatures.SessionInfo.toJSON(message.getSessionInfoResponse);
3136
+ if (message.streamMessage !== void 0) obj.streamMessage = StreamMessage.toJSON(message.streamMessage);
3009
3137
  if (message.getNearbyChargingSites !== void 0) obj.getNearbyChargingSites = NearbyChargingSites.toJSON(message.getNearbyChargingSites);
3138
+ if (message.vehicleDataSubscriptionResponse !== void 0) obj.vehicleDataSubscriptionResponse = VehicleDataSubscriptionResponse.toJSON(message.vehicleDataSubscriptionResponse);
3139
+ if (message.vitalsSubscriptionResponse !== void 0) obj.vitalsSubscriptionResponse = VitalsSubscriptionResponse.toJSON(message.vitalsSubscriptionResponse);
3010
3140
  if (message.ping !== void 0) obj.ping = Ping.toJSON(message.ping);
3141
+ if (message.piiKeyResponse !== void 0) obj.piiKeyResponse = PiiKeyResponse.toJSON(message.piiKeyResponse);
3142
+ if (message.pseudonymSyncResponse !== void 0) obj.pseudonymSyncResponse = PseudonymSyncResponse.toJSON(message.pseudonymSyncResponse);
3143
+ if (message.getRateTariffResponse !== void 0) obj.getRateTariffResponse = GetRateTariffResponse.toJSON(message.getRateTariffResponse);
3144
+ if (message.navigationRouteResponse !== void 0) obj.navigationRouteResponse = NavigationRouteResponse.toJSON(message.navigationRouteResponse);
3145
+ if (message.getManagedChargingSitesResponse !== void 0) obj.getManagedChargingSitesResponse = GetManagedChargingSitesResponse.toJSON(message.getManagedChargingSitesResponse);
3011
3146
  if (message.getChargeOnSolarFeatureResponse !== void 0) obj.getChargeOnSolarFeatureResponse = GetChargeOnSolarFeatureResponse.toJSON(message.getChargeOnSolarFeatureResponse);
3147
+ if (message.addManagedChargingSiteResponse !== void 0) obj.addManagedChargingSiteResponse = AddManagedChargingSiteResponse.toJSON(message.addManagedChargingSiteResponse);
3148
+ if (message.getMessagesResponse !== void 0) obj.getMessagesResponse = GetMessagesResponse.toJSON(message.getMessagesResponse);
3149
+ if (message.getLocalProfilesResponse !== void 0) obj.getLocalProfilesResponse = GetLocalProfilesResponse.toJSON(message.getLocalProfilesResponse);
3150
+ if (message.keysInfoResponse !== void 0) obj.keysInfoResponse = KeysInfoResponse.toJSON(message.keysInfoResponse);
3151
+ if (message.bandwidthTestResponse !== void 0) obj.bandwidthTestResponse = BandwidthTestResponse.toJSON(message.bandwidthTestResponse);
3012
3152
  return obj;
3013
3153
  },
3014
3154
  create(base) {
@@ -3019,9 +3159,997 @@ const Response = {
3019
3159
  message.actionStatus = object.actionStatus !== void 0 && object.actionStatus !== null ? ActionStatus.fromPartial(object.actionStatus) : void 0;
3020
3160
  message.vehicleData = object.vehicleData !== void 0 && object.vehicleData !== null ? require_command_vehicle.VehicleData.fromPartial(object.vehicleData) : void 0;
3021
3161
  message.getSessionInfoResponse = object.getSessionInfoResponse !== void 0 && object.getSessionInfoResponse !== null ? require_command_signatures.SessionInfo.fromPartial(object.getSessionInfoResponse) : void 0;
3162
+ message.streamMessage = object.streamMessage !== void 0 && object.streamMessage !== null ? StreamMessage.fromPartial(object.streamMessage) : void 0;
3022
3163
  message.getNearbyChargingSites = object.getNearbyChargingSites !== void 0 && object.getNearbyChargingSites !== null ? NearbyChargingSites.fromPartial(object.getNearbyChargingSites) : void 0;
3164
+ message.vehicleDataSubscriptionResponse = object.vehicleDataSubscriptionResponse !== void 0 && object.vehicleDataSubscriptionResponse !== null ? VehicleDataSubscriptionResponse.fromPartial(object.vehicleDataSubscriptionResponse) : void 0;
3165
+ message.vitalsSubscriptionResponse = object.vitalsSubscriptionResponse !== void 0 && object.vitalsSubscriptionResponse !== null ? VitalsSubscriptionResponse.fromPartial(object.vitalsSubscriptionResponse) : void 0;
3023
3166
  message.ping = object.ping !== void 0 && object.ping !== null ? Ping.fromPartial(object.ping) : void 0;
3167
+ message.piiKeyResponse = object.piiKeyResponse !== void 0 && object.piiKeyResponse !== null ? PiiKeyResponse.fromPartial(object.piiKeyResponse) : void 0;
3168
+ message.pseudonymSyncResponse = object.pseudonymSyncResponse !== void 0 && object.pseudonymSyncResponse !== null ? PseudonymSyncResponse.fromPartial(object.pseudonymSyncResponse) : void 0;
3169
+ message.getRateTariffResponse = object.getRateTariffResponse !== void 0 && object.getRateTariffResponse !== null ? GetRateTariffResponse.fromPartial(object.getRateTariffResponse) : void 0;
3170
+ message.navigationRouteResponse = object.navigationRouteResponse !== void 0 && object.navigationRouteResponse !== null ? NavigationRouteResponse.fromPartial(object.navigationRouteResponse) : void 0;
3171
+ message.getManagedChargingSitesResponse = object.getManagedChargingSitesResponse !== void 0 && object.getManagedChargingSitesResponse !== null ? GetManagedChargingSitesResponse.fromPartial(object.getManagedChargingSitesResponse) : void 0;
3024
3172
  message.getChargeOnSolarFeatureResponse = object.getChargeOnSolarFeatureResponse !== void 0 && object.getChargeOnSolarFeatureResponse !== null ? GetChargeOnSolarFeatureResponse.fromPartial(object.getChargeOnSolarFeatureResponse) : void 0;
3173
+ message.addManagedChargingSiteResponse = object.addManagedChargingSiteResponse !== void 0 && object.addManagedChargingSiteResponse !== null ? AddManagedChargingSiteResponse.fromPartial(object.addManagedChargingSiteResponse) : void 0;
3174
+ message.getMessagesResponse = object.getMessagesResponse !== void 0 && object.getMessagesResponse !== null ? GetMessagesResponse.fromPartial(object.getMessagesResponse) : void 0;
3175
+ message.getLocalProfilesResponse = object.getLocalProfilesResponse !== void 0 && object.getLocalProfilesResponse !== null ? GetLocalProfilesResponse.fromPartial(object.getLocalProfilesResponse) : void 0;
3176
+ message.keysInfoResponse = object.keysInfoResponse !== void 0 && object.keysInfoResponse !== null ? KeysInfoResponse.fromPartial(object.keysInfoResponse) : void 0;
3177
+ message.bandwidthTestResponse = object.bandwidthTestResponse !== void 0 && object.bandwidthTestResponse !== null ? BandwidthTestResponse.fromPartial(object.bandwidthTestResponse) : void 0;
3178
+ return message;
3179
+ }
3180
+ };
3181
+ function createBaseVehicleDataSubscriptionResponse() {
3182
+ return {
3183
+ unknown: "",
3184
+ piiKeyResponse: void 0
3185
+ };
3186
+ }
3187
+ const VehicleDataSubscriptionResponse = {
3188
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3189
+ if (message.unknown !== "") writer.uint32(26).string(message.unknown);
3190
+ if (message.piiKeyResponse !== void 0) PiiKeyResponse.encode(message.piiKeyResponse, writer.uint32(34).fork()).join();
3191
+ return writer;
3192
+ },
3193
+ decode(input, length) {
3194
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3195
+ const end = length === void 0 ? reader.len : reader.pos + length;
3196
+ const message = createBaseVehicleDataSubscriptionResponse();
3197
+ while (reader.pos < end) {
3198
+ const tag = reader.uint32();
3199
+ switch (tag >>> 3) {
3200
+ case 3:
3201
+ if (tag !== 26) break;
3202
+ message.unknown = reader.string();
3203
+ continue;
3204
+ case 4:
3205
+ if (tag !== 34) break;
3206
+ message.piiKeyResponse = PiiKeyResponse.decode(reader, reader.uint32());
3207
+ continue;
3208
+ }
3209
+ if ((tag & 7) === 4 || tag === 0) break;
3210
+ reader.skip(tag & 7);
3211
+ }
3212
+ return message;
3213
+ },
3214
+ fromJSON(object) {
3215
+ return {
3216
+ unknown: isSet(object.unknown) ? globalThis.String(object.unknown) : "",
3217
+ piiKeyResponse: isSet(object.piiKeyResponse) ? PiiKeyResponse.fromJSON(object.piiKeyResponse) : void 0
3218
+ };
3219
+ },
3220
+ toJSON(message) {
3221
+ const obj = {};
3222
+ if (message.unknown !== void 0) obj.unknown = message.unknown;
3223
+ if (message.piiKeyResponse !== void 0) obj.piiKeyResponse = PiiKeyResponse.toJSON(message.piiKeyResponse);
3224
+ return obj;
3225
+ },
3226
+ create(base) {
3227
+ return VehicleDataSubscriptionResponse.fromPartial(base ?? {});
3228
+ },
3229
+ fromPartial(object) {
3230
+ const message = createBaseVehicleDataSubscriptionResponse();
3231
+ message.unknown = object.unknown ?? "";
3232
+ message.piiKeyResponse = object.piiKeyResponse !== void 0 && object.piiKeyResponse !== null ? PiiKeyResponse.fromPartial(object.piiKeyResponse) : void 0;
3233
+ return message;
3234
+ }
3235
+ };
3236
+ function createBaseVitalsSubscriptionResponse() {
3237
+ return {
3238
+ sessionId: 0,
3239
+ unknown: ""
3240
+ };
3241
+ }
3242
+ const VitalsSubscriptionResponse = {
3243
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3244
+ if (message.sessionId !== 0) writer.uint32(8).int32(message.sessionId);
3245
+ if (message.unknown !== "") writer.uint32(18).string(message.unknown);
3246
+ return writer;
3247
+ },
3248
+ decode(input, length) {
3249
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3250
+ const end = length === void 0 ? reader.len : reader.pos + length;
3251
+ const message = createBaseVitalsSubscriptionResponse();
3252
+ while (reader.pos < end) {
3253
+ const tag = reader.uint32();
3254
+ switch (tag >>> 3) {
3255
+ case 1:
3256
+ if (tag !== 8) break;
3257
+ message.sessionId = reader.int32();
3258
+ continue;
3259
+ case 2:
3260
+ if (tag !== 18) break;
3261
+ message.unknown = reader.string();
3262
+ continue;
3263
+ }
3264
+ if ((tag & 7) === 4 || tag === 0) break;
3265
+ reader.skip(tag & 7);
3266
+ }
3267
+ return message;
3268
+ },
3269
+ fromJSON(object) {
3270
+ return {
3271
+ sessionId: isSet(object.sessionId) ? globalThis.Number(object.sessionId) : 0,
3272
+ unknown: isSet(object.unknown) ? globalThis.String(object.unknown) : ""
3273
+ };
3274
+ },
3275
+ toJSON(message) {
3276
+ const obj = {};
3277
+ if (message.sessionId !== void 0) obj.sessionId = Math.round(message.sessionId);
3278
+ if (message.unknown !== void 0) obj.unknown = message.unknown;
3279
+ return obj;
3280
+ },
3281
+ create(base) {
3282
+ return VitalsSubscriptionResponse.fromPartial(base ?? {});
3283
+ },
3284
+ fromPartial(object) {
3285
+ const message = createBaseVitalsSubscriptionResponse();
3286
+ message.sessionId = object.sessionId ?? 0;
3287
+ message.unknown = object.unknown ?? "";
3288
+ return message;
3289
+ }
3290
+ };
3291
+ function createBasePiiKeyResponse() {
3292
+ return {
3293
+ encryptedPiiKey: /* @__PURE__ */ new Uint8Array(0),
3294
+ piiKeyExpiration: void 0,
3295
+ subscriberPublicKeyExpiration: void 0
3296
+ };
3297
+ }
3298
+ const PiiKeyResponse = {
3299
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3300
+ if (message.encryptedPiiKey.length !== 0) writer.uint32(18).bytes(message.encryptedPiiKey);
3301
+ if (message.piiKeyExpiration !== void 0) require_command_google_protobuf_timestamp.Timestamp.encode(toTimestamp(message.piiKeyExpiration), writer.uint32(26).fork()).join();
3302
+ if (message.subscriberPublicKeyExpiration !== void 0) require_command_google_protobuf_timestamp.Timestamp.encode(toTimestamp(message.subscriberPublicKeyExpiration), writer.uint32(34).fork()).join();
3303
+ return writer;
3304
+ },
3305
+ decode(input, length) {
3306
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3307
+ const end = length === void 0 ? reader.len : reader.pos + length;
3308
+ const message = createBasePiiKeyResponse();
3309
+ while (reader.pos < end) {
3310
+ const tag = reader.uint32();
3311
+ switch (tag >>> 3) {
3312
+ case 2:
3313
+ if (tag !== 18) break;
3314
+ message.encryptedPiiKey = reader.bytes();
3315
+ continue;
3316
+ case 3:
3317
+ if (tag !== 26) break;
3318
+ message.piiKeyExpiration = fromTimestamp(require_command_google_protobuf_timestamp.Timestamp.decode(reader, reader.uint32()));
3319
+ continue;
3320
+ case 4:
3321
+ if (tag !== 34) break;
3322
+ message.subscriberPublicKeyExpiration = fromTimestamp(require_command_google_protobuf_timestamp.Timestamp.decode(reader, reader.uint32()));
3323
+ continue;
3324
+ }
3325
+ if ((tag & 7) === 4 || tag === 0) break;
3326
+ reader.skip(tag & 7);
3327
+ }
3328
+ return message;
3329
+ },
3330
+ fromJSON(object) {
3331
+ return {
3332
+ encryptedPiiKey: isSet(object.encryptedPiiKey) ? bytesFromBase64(object.encryptedPiiKey) : /* @__PURE__ */ new Uint8Array(0),
3333
+ piiKeyExpiration: isSet(object.piiKeyExpiration) ? fromJsonTimestamp(object.piiKeyExpiration) : void 0,
3334
+ subscriberPublicKeyExpiration: isSet(object.subscriberPublicKeyExpiration) ? fromJsonTimestamp(object.subscriberPublicKeyExpiration) : void 0
3335
+ };
3336
+ },
3337
+ toJSON(message) {
3338
+ const obj = {};
3339
+ if (message.encryptedPiiKey !== void 0) obj.encryptedPiiKey = base64FromBytes(message.encryptedPiiKey);
3340
+ if (message.piiKeyExpiration !== void 0) obj.piiKeyExpiration = message.piiKeyExpiration.toISOString();
3341
+ if (message.subscriberPublicKeyExpiration !== void 0) obj.subscriberPublicKeyExpiration = message.subscriberPublicKeyExpiration.toISOString();
3342
+ return obj;
3343
+ },
3344
+ create(base) {
3345
+ return PiiKeyResponse.fromPartial(base ?? {});
3346
+ },
3347
+ fromPartial(object) {
3348
+ const message = createBasePiiKeyResponse();
3349
+ message.encryptedPiiKey = object.encryptedPiiKey ?? /* @__PURE__ */ new Uint8Array(0);
3350
+ message.piiKeyExpiration = object.piiKeyExpiration ?? void 0;
3351
+ message.subscriberPublicKeyExpiration = object.subscriberPublicKeyExpiration ?? void 0;
3352
+ return message;
3353
+ }
3354
+ };
3355
+ function createBasePseudonymSyncResponse() {
3356
+ return { unknown: "" };
3357
+ }
3358
+ const PseudonymSyncResponse = {
3359
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3360
+ if (message.unknown !== "") writer.uint32(10).string(message.unknown);
3361
+ return writer;
3362
+ },
3363
+ decode(input, length) {
3364
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3365
+ const end = length === void 0 ? reader.len : reader.pos + length;
3366
+ const message = createBasePseudonymSyncResponse();
3367
+ while (reader.pos < end) {
3368
+ const tag = reader.uint32();
3369
+ switch (tag >>> 3) {
3370
+ case 1:
3371
+ if (tag !== 10) break;
3372
+ message.unknown = reader.string();
3373
+ continue;
3374
+ }
3375
+ if ((tag & 7) === 4 || tag === 0) break;
3376
+ reader.skip(tag & 7);
3377
+ }
3378
+ return message;
3379
+ },
3380
+ fromJSON(object) {
3381
+ return { unknown: isSet(object.unknown) ? globalThis.String(object.unknown) : "" };
3382
+ },
3383
+ toJSON(message) {
3384
+ const obj = {};
3385
+ if (message.unknown !== void 0) obj.unknown = message.unknown;
3386
+ return obj;
3387
+ },
3388
+ create(base) {
3389
+ return PseudonymSyncResponse.fromPartial(base ?? {});
3390
+ },
3391
+ fromPartial(object) {
3392
+ const message = createBasePseudonymSyncResponse();
3393
+ message.unknown = object.unknown ?? "";
3394
+ return message;
3395
+ }
3396
+ };
3397
+ function createBaseNavigationRouteResponse() {
3398
+ return {
3399
+ unknown: "",
3400
+ trafficDetail: []
3401
+ };
3402
+ }
3403
+ const NavigationRouteResponse = {
3404
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3405
+ if (message.unknown !== "") writer.uint32(10).string(message.unknown);
3406
+ for (const v of message.trafficDetail) NavigationRouteResponse_TrafficDetail.encode(v, writer.uint32(18).fork()).join();
3407
+ return writer;
3408
+ },
3409
+ decode(input, length) {
3410
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3411
+ const end = length === void 0 ? reader.len : reader.pos + length;
3412
+ const message = createBaseNavigationRouteResponse();
3413
+ while (reader.pos < end) {
3414
+ const tag = reader.uint32();
3415
+ switch (tag >>> 3) {
3416
+ case 1:
3417
+ if (tag !== 10) break;
3418
+ message.unknown = reader.string();
3419
+ continue;
3420
+ case 2:
3421
+ if (tag !== 18) break;
3422
+ message.trafficDetail.push(NavigationRouteResponse_TrafficDetail.decode(reader, reader.uint32()));
3423
+ continue;
3424
+ }
3425
+ if ((tag & 7) === 4 || tag === 0) break;
3426
+ reader.skip(tag & 7);
3427
+ }
3428
+ return message;
3429
+ },
3430
+ fromJSON(object) {
3431
+ return {
3432
+ unknown: isSet(object.unknown) ? globalThis.String(object.unknown) : "",
3433
+ trafficDetail: globalThis.Array.isArray(object?.trafficDetail) ? object.trafficDetail.map((e) => NavigationRouteResponse_TrafficDetail.fromJSON(e)) : []
3434
+ };
3435
+ },
3436
+ toJSON(message) {
3437
+ const obj = {};
3438
+ if (message.unknown !== void 0) obj.unknown = message.unknown;
3439
+ if (message.trafficDetail?.length) obj.trafficDetail = message.trafficDetail.map((e) => NavigationRouteResponse_TrafficDetail.toJSON(e));
3440
+ return obj;
3441
+ },
3442
+ create(base) {
3443
+ return NavigationRouteResponse.fromPartial(base ?? {});
3444
+ },
3445
+ fromPartial(object) {
3446
+ const message = createBaseNavigationRouteResponse();
3447
+ message.unknown = object.unknown ?? "";
3448
+ message.trafficDetail = object.trafficDetail?.map((e) => NavigationRouteResponse_TrafficDetail.fromPartial(e)) || [];
3449
+ return message;
3450
+ }
3451
+ };
3452
+ function createBaseNavigationRouteResponse_TrafficDetail() {
3453
+ return {
3454
+ offsetToDest: 0,
3455
+ trafficStatus: 0
3456
+ };
3457
+ }
3458
+ const NavigationRouteResponse_TrafficDetail = {
3459
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3460
+ if (message.offsetToDest !== 0) writer.uint32(13).float(message.offsetToDest);
3461
+ if (message.trafficStatus !== 0) writer.uint32(16).int32(message.trafficStatus);
3462
+ return writer;
3463
+ },
3464
+ decode(input, length) {
3465
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3466
+ const end = length === void 0 ? reader.len : reader.pos + length;
3467
+ const message = createBaseNavigationRouteResponse_TrafficDetail();
3468
+ while (reader.pos < end) {
3469
+ const tag = reader.uint32();
3470
+ switch (tag >>> 3) {
3471
+ case 1:
3472
+ if (tag !== 13) break;
3473
+ message.offsetToDest = reader.float();
3474
+ continue;
3475
+ case 2:
3476
+ if (tag !== 16) break;
3477
+ message.trafficStatus = reader.int32();
3478
+ continue;
3479
+ }
3480
+ if ((tag & 7) === 4 || tag === 0) break;
3481
+ reader.skip(tag & 7);
3482
+ }
3483
+ return message;
3484
+ },
3485
+ fromJSON(object) {
3486
+ return {
3487
+ offsetToDest: isSet(object.offsetToDest) ? globalThis.Number(object.offsetToDest) : 0,
3488
+ trafficStatus: isSet(object.trafficStatus) ? navigationRouteResponse_TrafficStatusFromJSON(object.trafficStatus) : 0
3489
+ };
3490
+ },
3491
+ toJSON(message) {
3492
+ const obj = {};
3493
+ if (message.offsetToDest !== void 0) obj.offsetToDest = message.offsetToDest;
3494
+ if (message.trafficStatus !== void 0) obj.trafficStatus = navigationRouteResponse_TrafficStatusToJSON(message.trafficStatus);
3495
+ return obj;
3496
+ },
3497
+ create(base) {
3498
+ return NavigationRouteResponse_TrafficDetail.fromPartial(base ?? {});
3499
+ },
3500
+ fromPartial(object) {
3501
+ const message = createBaseNavigationRouteResponse_TrafficDetail();
3502
+ message.offsetToDest = object.offsetToDest ?? 0;
3503
+ message.trafficStatus = object.trafficStatus ?? 0;
3504
+ return message;
3505
+ }
3506
+ };
3507
+ function createBaseGetManagedChargingSitesResponse() {
3508
+ return { sites: [] };
3509
+ }
3510
+ const GetManagedChargingSitesResponse = {
3511
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3512
+ for (const v of message.sites) ManagedChargingSite.encode(v, writer.uint32(10).fork()).join();
3513
+ return writer;
3514
+ },
3515
+ decode(input, length) {
3516
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3517
+ const end = length === void 0 ? reader.len : reader.pos + length;
3518
+ const message = createBaseGetManagedChargingSitesResponse();
3519
+ while (reader.pos < end) {
3520
+ const tag = reader.uint32();
3521
+ switch (tag >>> 3) {
3522
+ case 1:
3523
+ if (tag !== 10) break;
3524
+ message.sites.push(ManagedChargingSite.decode(reader, reader.uint32()));
3525
+ continue;
3526
+ }
3527
+ if ((tag & 7) === 4 || tag === 0) break;
3528
+ reader.skip(tag & 7);
3529
+ }
3530
+ return message;
3531
+ },
3532
+ fromJSON(object) {
3533
+ return { sites: globalThis.Array.isArray(object?.sites) ? object.sites.map((e) => ManagedChargingSite.fromJSON(e)) : [] };
3534
+ },
3535
+ toJSON(message) {
3536
+ const obj = {};
3537
+ if (message.sites?.length) obj.sites = message.sites.map((e) => ManagedChargingSite.toJSON(e));
3538
+ return obj;
3539
+ },
3540
+ create(base) {
3541
+ return GetManagedChargingSitesResponse.fromPartial(base ?? {});
3542
+ },
3543
+ fromPartial(object) {
3544
+ const message = createBaseGetManagedChargingSitesResponse();
3545
+ message.sites = object.sites?.map((e) => ManagedChargingSite.fromPartial(e)) || [];
3546
+ return message;
3547
+ }
3548
+ };
3549
+ function createBaseManagedChargingSiteAddedOrUpdated() {
3550
+ return {};
3551
+ }
3552
+ const ManagedChargingSiteAddedOrUpdated = {
3553
+ encode(_, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3554
+ return writer;
3555
+ },
3556
+ decode(input, length) {
3557
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3558
+ const end = length === void 0 ? reader.len : reader.pos + length;
3559
+ const message = createBaseManagedChargingSiteAddedOrUpdated();
3560
+ while (reader.pos < end) {
3561
+ const tag = reader.uint32();
3562
+ switch (tag >>> 3) {}
3563
+ if ((tag & 7) === 4 || tag === 0) break;
3564
+ reader.skip(tag & 7);
3565
+ }
3566
+ return message;
3567
+ },
3568
+ fromJSON(_) {
3569
+ return {};
3570
+ },
3571
+ toJSON(_) {
3572
+ return {};
3573
+ },
3574
+ create(base) {
3575
+ return ManagedChargingSiteAddedOrUpdated.fromPartial(base ?? {});
3576
+ },
3577
+ fromPartial(_) {
3578
+ return createBaseManagedChargingSiteAddedOrUpdated();
3579
+ }
3580
+ };
3581
+ function createBaseExistingManagedChargingSiteNearby() {
3582
+ return {};
3583
+ }
3584
+ const ExistingManagedChargingSiteNearby = {
3585
+ encode(_, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3586
+ return writer;
3587
+ },
3588
+ decode(input, length) {
3589
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3590
+ const end = length === void 0 ? reader.len : reader.pos + length;
3591
+ const message = createBaseExistingManagedChargingSiteNearby();
3592
+ while (reader.pos < end) {
3593
+ const tag = reader.uint32();
3594
+ switch (tag >>> 3) {}
3595
+ if ((tag & 7) === 4 || tag === 0) break;
3596
+ reader.skip(tag & 7);
3597
+ }
3598
+ return message;
3599
+ },
3600
+ fromJSON(_) {
3601
+ return {};
3602
+ },
3603
+ toJSON(_) {
3604
+ return {};
3605
+ },
3606
+ create(base) {
3607
+ return ExistingManagedChargingSiteNearby.fromPartial(base ?? {});
3608
+ },
3609
+ fromPartial(_) {
3610
+ return createBaseExistingManagedChargingSiteNearby();
3611
+ }
3612
+ };
3613
+ function createBaseAddManagedChargingSiteResponse() {
3614
+ return {
3615
+ addedOrUpdated: void 0,
3616
+ existingSiteNearby: void 0
3617
+ };
3618
+ }
3619
+ const AddManagedChargingSiteResponse = {
3620
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3621
+ if (message.addedOrUpdated !== void 0) ManagedChargingSiteAddedOrUpdated.encode(message.addedOrUpdated, writer.uint32(10).fork()).join();
3622
+ if (message.existingSiteNearby !== void 0) ExistingManagedChargingSiteNearby.encode(message.existingSiteNearby, writer.uint32(18).fork()).join();
3623
+ return writer;
3624
+ },
3625
+ decode(input, length) {
3626
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3627
+ const end = length === void 0 ? reader.len : reader.pos + length;
3628
+ const message = createBaseAddManagedChargingSiteResponse();
3629
+ while (reader.pos < end) {
3630
+ const tag = reader.uint32();
3631
+ switch (tag >>> 3) {
3632
+ case 1:
3633
+ if (tag !== 10) break;
3634
+ message.addedOrUpdated = ManagedChargingSiteAddedOrUpdated.decode(reader, reader.uint32());
3635
+ continue;
3636
+ case 2:
3637
+ if (tag !== 18) break;
3638
+ message.existingSiteNearby = ExistingManagedChargingSiteNearby.decode(reader, reader.uint32());
3639
+ continue;
3640
+ }
3641
+ if ((tag & 7) === 4 || tag === 0) break;
3642
+ reader.skip(tag & 7);
3643
+ }
3644
+ return message;
3645
+ },
3646
+ fromJSON(object) {
3647
+ return {
3648
+ addedOrUpdated: isSet(object.addedOrUpdated) ? ManagedChargingSiteAddedOrUpdated.fromJSON(object.addedOrUpdated) : void 0,
3649
+ existingSiteNearby: isSet(object.existingSiteNearby) ? ExistingManagedChargingSiteNearby.fromJSON(object.existingSiteNearby) : void 0
3650
+ };
3651
+ },
3652
+ toJSON(message) {
3653
+ const obj = {};
3654
+ if (message.addedOrUpdated !== void 0) obj.addedOrUpdated = ManagedChargingSiteAddedOrUpdated.toJSON(message.addedOrUpdated);
3655
+ if (message.existingSiteNearby !== void 0) obj.existingSiteNearby = ExistingManagedChargingSiteNearby.toJSON(message.existingSiteNearby);
3656
+ return obj;
3657
+ },
3658
+ create(base) {
3659
+ return AddManagedChargingSiteResponse.fromPartial(base ?? {});
3660
+ },
3661
+ fromPartial(object) {
3662
+ const message = createBaseAddManagedChargingSiteResponse();
3663
+ message.addedOrUpdated = object.addedOrUpdated !== void 0 && object.addedOrUpdated !== null ? ManagedChargingSiteAddedOrUpdated.fromPartial(object.addedOrUpdated) : void 0;
3664
+ message.existingSiteNearby = object.existingSiteNearby !== void 0 && object.existingSiteNearby !== null ? ExistingManagedChargingSiteNearby.fromPartial(object.existingSiteNearby) : void 0;
3665
+ return message;
3666
+ }
3667
+ };
3668
+ function createBaseRequestTeslaAuthCommand() {
3669
+ return {
3670
+ clientId: "",
3671
+ unknown: "",
3672
+ returnScopedToken: false
3673
+ };
3674
+ }
3675
+ const RequestTeslaAuthCommand = {
3676
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3677
+ if (message.clientId !== "") writer.uint32(10).string(message.clientId);
3678
+ if (message.unknown !== "") writer.uint32(18).string(message.unknown);
3679
+ if (message.returnScopedToken !== false) writer.uint32(24).bool(message.returnScopedToken);
3680
+ return writer;
3681
+ },
3682
+ decode(input, length) {
3683
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3684
+ const end = length === void 0 ? reader.len : reader.pos + length;
3685
+ const message = createBaseRequestTeslaAuthCommand();
3686
+ while (reader.pos < end) {
3687
+ const tag = reader.uint32();
3688
+ switch (tag >>> 3) {
3689
+ case 1:
3690
+ if (tag !== 10) break;
3691
+ message.clientId = reader.string();
3692
+ continue;
3693
+ case 2:
3694
+ if (tag !== 18) break;
3695
+ message.unknown = reader.string();
3696
+ continue;
3697
+ case 3:
3698
+ if (tag !== 24) break;
3699
+ message.returnScopedToken = reader.bool();
3700
+ continue;
3701
+ }
3702
+ if ((tag & 7) === 4 || tag === 0) break;
3703
+ reader.skip(tag & 7);
3704
+ }
3705
+ return message;
3706
+ },
3707
+ fromJSON(object) {
3708
+ return {
3709
+ clientId: isSet(object.clientId) ? globalThis.String(object.clientId) : "",
3710
+ unknown: isSet(object.unknown) ? globalThis.String(object.unknown) : "",
3711
+ returnScopedToken: isSet(object.returnScopedToken) ? globalThis.Boolean(object.returnScopedToken) : false
3712
+ };
3713
+ },
3714
+ toJSON(message) {
3715
+ const obj = {};
3716
+ if (message.clientId !== void 0) obj.clientId = message.clientId;
3717
+ if (message.unknown !== void 0) obj.unknown = message.unknown;
3718
+ if (message.returnScopedToken !== void 0) obj.returnScopedToken = message.returnScopedToken;
3719
+ return obj;
3720
+ },
3721
+ create(base) {
3722
+ return RequestTeslaAuthCommand.fromPartial(base ?? {});
3723
+ },
3724
+ fromPartial(object) {
3725
+ const message = createBaseRequestTeslaAuthCommand();
3726
+ message.clientId = object.clientId ?? "";
3727
+ message.unknown = object.unknown ?? "";
3728
+ message.returnScopedToken = object.returnScopedToken ?? false;
3729
+ return message;
3730
+ }
3731
+ };
3732
+ function createBaseMobileAppMessage() {
3733
+ return { requestTeslaAuthCommand: void 0 };
3734
+ }
3735
+ const MobileAppMessage = {
3736
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3737
+ if (message.requestTeslaAuthCommand !== void 0) RequestTeslaAuthCommand.encode(message.requestTeslaAuthCommand, writer.uint32(10).fork()).join();
3738
+ return writer;
3739
+ },
3740
+ decode(input, length) {
3741
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3742
+ const end = length === void 0 ? reader.len : reader.pos + length;
3743
+ const message = createBaseMobileAppMessage();
3744
+ while (reader.pos < end) {
3745
+ const tag = reader.uint32();
3746
+ switch (tag >>> 3) {
3747
+ case 1:
3748
+ if (tag !== 10) break;
3749
+ message.requestTeslaAuthCommand = RequestTeslaAuthCommand.decode(reader, reader.uint32());
3750
+ continue;
3751
+ }
3752
+ if ((tag & 7) === 4 || tag === 0) break;
3753
+ reader.skip(tag & 7);
3754
+ }
3755
+ return message;
3756
+ },
3757
+ fromJSON(object) {
3758
+ return { requestTeslaAuthCommand: isSet(object.requestTeslaAuthCommand) ? RequestTeslaAuthCommand.fromJSON(object.requestTeslaAuthCommand) : void 0 };
3759
+ },
3760
+ toJSON(message) {
3761
+ const obj = {};
3762
+ if (message.requestTeslaAuthCommand !== void 0) obj.requestTeslaAuthCommand = RequestTeslaAuthCommand.toJSON(message.requestTeslaAuthCommand);
3763
+ return obj;
3764
+ },
3765
+ create(base) {
3766
+ return MobileAppMessage.fromPartial(base ?? {});
3767
+ },
3768
+ fromPartial(object) {
3769
+ const message = createBaseMobileAppMessage();
3770
+ message.requestTeslaAuthCommand = object.requestTeslaAuthCommand !== void 0 && object.requestTeslaAuthCommand !== null ? RequestTeslaAuthCommand.fromPartial(object.requestTeslaAuthCommand) : void 0;
3771
+ return message;
3772
+ }
3773
+ };
3774
+ function createBaseGetMessagesResponse() {
3775
+ return { mobileAppMessages: [] };
3776
+ }
3777
+ const GetMessagesResponse = {
3778
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3779
+ for (const v of message.mobileAppMessages) MobileAppMessage.encode(v, writer.uint32(10).fork()).join();
3780
+ return writer;
3781
+ },
3782
+ decode(input, length) {
3783
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3784
+ const end = length === void 0 ? reader.len : reader.pos + length;
3785
+ const message = createBaseGetMessagesResponse();
3786
+ while (reader.pos < end) {
3787
+ const tag = reader.uint32();
3788
+ switch (tag >>> 3) {
3789
+ case 1:
3790
+ if (tag !== 10) break;
3791
+ message.mobileAppMessages.push(MobileAppMessage.decode(reader, reader.uint32()));
3792
+ continue;
3793
+ }
3794
+ if ((tag & 7) === 4 || tag === 0) break;
3795
+ reader.skip(tag & 7);
3796
+ }
3797
+ return message;
3798
+ },
3799
+ fromJSON(object) {
3800
+ return { mobileAppMessages: globalThis.Array.isArray(object?.mobileAppMessages) ? object.mobileAppMessages.map((e) => MobileAppMessage.fromJSON(e)) : [] };
3801
+ },
3802
+ toJSON(message) {
3803
+ const obj = {};
3804
+ if (message.mobileAppMessages?.length) obj.mobileAppMessages = message.mobileAppMessages.map((e) => MobileAppMessage.toJSON(e));
3805
+ return obj;
3806
+ },
3807
+ create(base) {
3808
+ return GetMessagesResponse.fromPartial(base ?? {});
3809
+ },
3810
+ fromPartial(object) {
3811
+ const message = createBaseGetMessagesResponse();
3812
+ message.mobileAppMessages = object.mobileAppMessages?.map((e) => MobileAppMessage.fromPartial(e)) || [];
3813
+ return message;
3814
+ }
3815
+ };
3816
+ function createBaseProfile() {
3817
+ return {
3818
+ unknown1: "",
3819
+ unknown2: ""
3820
+ };
3821
+ }
3822
+ const Profile = {
3823
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3824
+ if (message.unknown1 !== "") writer.uint32(10).string(message.unknown1);
3825
+ if (message.unknown2 !== "") writer.uint32(18).string(message.unknown2);
3826
+ return writer;
3827
+ },
3828
+ decode(input, length) {
3829
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3830
+ const end = length === void 0 ? reader.len : reader.pos + length;
3831
+ const message = createBaseProfile();
3832
+ while (reader.pos < end) {
3833
+ const tag = reader.uint32();
3834
+ switch (tag >>> 3) {
3835
+ case 1:
3836
+ if (tag !== 10) break;
3837
+ message.unknown1 = reader.string();
3838
+ continue;
3839
+ case 2:
3840
+ if (tag !== 18) break;
3841
+ message.unknown2 = reader.string();
3842
+ continue;
3843
+ }
3844
+ if ((tag & 7) === 4 || tag === 0) break;
3845
+ reader.skip(tag & 7);
3846
+ }
3847
+ return message;
3848
+ },
3849
+ fromJSON(object) {
3850
+ return {
3851
+ unknown1: isSet(object.unknown1) ? globalThis.String(object.unknown1) : "",
3852
+ unknown2: isSet(object.unknown2) ? globalThis.String(object.unknown2) : ""
3853
+ };
3854
+ },
3855
+ toJSON(message) {
3856
+ const obj = {};
3857
+ if (message.unknown1 !== void 0) obj.unknown1 = message.unknown1;
3858
+ if (message.unknown2 !== void 0) obj.unknown2 = message.unknown2;
3859
+ return obj;
3860
+ },
3861
+ create(base) {
3862
+ return Profile.fromPartial(base ?? {});
3863
+ },
3864
+ fromPartial(object) {
3865
+ const message = createBaseProfile();
3866
+ message.unknown1 = object.unknown1 ?? "";
3867
+ message.unknown2 = object.unknown2 ?? "";
3868
+ return message;
3869
+ }
3870
+ };
3871
+ function createBaseGetLocalProfilesResponse() {
3872
+ return { profiles: [] };
3873
+ }
3874
+ const GetLocalProfilesResponse = {
3875
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3876
+ for (const v of message.profiles) Profile.encode(v, writer.uint32(10).fork()).join();
3877
+ return writer;
3878
+ },
3879
+ decode(input, length) {
3880
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3881
+ const end = length === void 0 ? reader.len : reader.pos + length;
3882
+ const message = createBaseGetLocalProfilesResponse();
3883
+ while (reader.pos < end) {
3884
+ const tag = reader.uint32();
3885
+ switch (tag >>> 3) {
3886
+ case 1:
3887
+ if (tag !== 10) break;
3888
+ message.profiles.push(Profile.decode(reader, reader.uint32()));
3889
+ continue;
3890
+ }
3891
+ if ((tag & 7) === 4 || tag === 0) break;
3892
+ reader.skip(tag & 7);
3893
+ }
3894
+ return message;
3895
+ },
3896
+ fromJSON(object) {
3897
+ return { profiles: globalThis.Array.isArray(object?.profiles) ? object.profiles.map((e) => Profile.fromJSON(e)) : [] };
3898
+ },
3899
+ toJSON(message) {
3900
+ const obj = {};
3901
+ if (message.profiles?.length) obj.profiles = message.profiles.map((e) => Profile.toJSON(e));
3902
+ return obj;
3903
+ },
3904
+ create(base) {
3905
+ return GetLocalProfilesResponse.fromPartial(base ?? {});
3906
+ },
3907
+ fromPartial(object) {
3908
+ const message = createBaseGetLocalProfilesResponse();
3909
+ message.profiles = object.profiles?.map((e) => Profile.fromPartial(e)) || [];
3910
+ return message;
3911
+ }
3912
+ };
3913
+ function createBaseKeyInfo() {
3914
+ return {
3915
+ unknown1: "",
3916
+ unknown2: "",
3917
+ publicKey: /* @__PURE__ */ new Uint8Array(0),
3918
+ lastSeen: void 0,
3919
+ role: 0,
3920
+ formFactor: 0
3921
+ };
3922
+ }
3923
+ const KeyInfo = {
3924
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
3925
+ if (message.unknown1 !== "") writer.uint32(10).string(message.unknown1);
3926
+ if (message.unknown2 !== "") writer.uint32(18).string(message.unknown2);
3927
+ if (message.publicKey.length !== 0) writer.uint32(26).bytes(message.publicKey);
3928
+ if (message.lastSeen !== void 0) require_command_google_protobuf_timestamp.Timestamp.encode(toTimestamp(message.lastSeen), writer.uint32(34).fork()).join();
3929
+ if (message.role !== 0) writer.uint32(40).int32(message.role);
3930
+ if (message.formFactor !== 0) writer.uint32(48).int32(message.formFactor);
3931
+ return writer;
3932
+ },
3933
+ decode(input, length) {
3934
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
3935
+ const end = length === void 0 ? reader.len : reader.pos + length;
3936
+ const message = createBaseKeyInfo();
3937
+ while (reader.pos < end) {
3938
+ const tag = reader.uint32();
3939
+ switch (tag >>> 3) {
3940
+ case 1:
3941
+ if (tag !== 10) break;
3942
+ message.unknown1 = reader.string();
3943
+ continue;
3944
+ case 2:
3945
+ if (tag !== 18) break;
3946
+ message.unknown2 = reader.string();
3947
+ continue;
3948
+ case 3:
3949
+ if (tag !== 26) break;
3950
+ message.publicKey = reader.bytes();
3951
+ continue;
3952
+ case 4:
3953
+ if (tag !== 34) break;
3954
+ message.lastSeen = fromTimestamp(require_command_google_protobuf_timestamp.Timestamp.decode(reader, reader.uint32()));
3955
+ continue;
3956
+ case 5:
3957
+ if (tag !== 40) break;
3958
+ message.role = reader.int32();
3959
+ continue;
3960
+ case 6:
3961
+ if (tag !== 48) break;
3962
+ message.formFactor = reader.int32();
3963
+ continue;
3964
+ }
3965
+ if ((tag & 7) === 4 || tag === 0) break;
3966
+ reader.skip(tag & 7);
3967
+ }
3968
+ return message;
3969
+ },
3970
+ fromJSON(object) {
3971
+ return {
3972
+ unknown1: isSet(object.unknown1) ? globalThis.String(object.unknown1) : "",
3973
+ unknown2: isSet(object.unknown2) ? globalThis.String(object.unknown2) : "",
3974
+ publicKey: isSet(object.publicKey) ? bytesFromBase64(object.publicKey) : /* @__PURE__ */ new Uint8Array(0),
3975
+ lastSeen: isSet(object.lastSeen) ? fromJsonTimestamp(object.lastSeen) : void 0,
3976
+ role: isSet(object.role) ? require_command_keys.roleFromJSON(object.role) : 0,
3977
+ formFactor: isSet(object.formFactor) ? require_command_vcsec.keyFormFactorFromJSON(object.formFactor) : 0
3978
+ };
3979
+ },
3980
+ toJSON(message) {
3981
+ const obj = {};
3982
+ if (message.unknown1 !== void 0) obj.unknown1 = message.unknown1;
3983
+ if (message.unknown2 !== void 0) obj.unknown2 = message.unknown2;
3984
+ if (message.publicKey !== void 0) obj.publicKey = base64FromBytes(message.publicKey);
3985
+ if (message.lastSeen !== void 0) obj.lastSeen = message.lastSeen.toISOString();
3986
+ if (message.role !== void 0) obj.role = require_command_keys.roleToJSON(message.role);
3987
+ if (message.formFactor !== void 0) obj.formFactor = require_command_vcsec.keyFormFactorToJSON(message.formFactor);
3988
+ return obj;
3989
+ },
3990
+ create(base) {
3991
+ return KeyInfo.fromPartial(base ?? {});
3992
+ },
3993
+ fromPartial(object) {
3994
+ const message = createBaseKeyInfo();
3995
+ message.unknown1 = object.unknown1 ?? "";
3996
+ message.unknown2 = object.unknown2 ?? "";
3997
+ message.publicKey = object.publicKey ?? /* @__PURE__ */ new Uint8Array(0);
3998
+ message.lastSeen = object.lastSeen ?? void 0;
3999
+ message.role = object.role ?? 0;
4000
+ message.formFactor = object.formFactor ?? 0;
4001
+ return message;
4002
+ }
4003
+ };
4004
+ function createBaseKeysInfoResponse() {
4005
+ return { keysInfo: [] };
4006
+ }
4007
+ const KeysInfoResponse = {
4008
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
4009
+ for (const v of message.keysInfo) KeyInfo.encode(v, writer.uint32(10).fork()).join();
4010
+ return writer;
4011
+ },
4012
+ decode(input, length) {
4013
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
4014
+ const end = length === void 0 ? reader.len : reader.pos + length;
4015
+ const message = createBaseKeysInfoResponse();
4016
+ while (reader.pos < end) {
4017
+ const tag = reader.uint32();
4018
+ switch (tag >>> 3) {
4019
+ case 1:
4020
+ if (tag !== 10) break;
4021
+ message.keysInfo.push(KeyInfo.decode(reader, reader.uint32()));
4022
+ continue;
4023
+ }
4024
+ if ((tag & 7) === 4 || tag === 0) break;
4025
+ reader.skip(tag & 7);
4026
+ }
4027
+ return message;
4028
+ },
4029
+ fromJSON(object) {
4030
+ return { keysInfo: globalThis.Array.isArray(object?.keysInfo) ? object.keysInfo.map((e) => KeyInfo.fromJSON(e)) : [] };
4031
+ },
4032
+ toJSON(message) {
4033
+ const obj = {};
4034
+ if (message.keysInfo?.length) obj.keysInfo = message.keysInfo.map((e) => KeyInfo.toJSON(e));
4035
+ return obj;
4036
+ },
4037
+ create(base) {
4038
+ return KeysInfoResponse.fromPartial(base ?? {});
4039
+ },
4040
+ fromPartial(object) {
4041
+ const message = createBaseKeysInfoResponse();
4042
+ message.keysInfo = object.keysInfo?.map((e) => KeyInfo.fromPartial(e)) || [];
4043
+ return message;
4044
+ }
4045
+ };
4046
+ function createBaseBandwidthTestResponse() {
4047
+ return {
4048
+ data: /* @__PURE__ */ new Uint8Array(0),
4049
+ requestedSize: 0
4050
+ };
4051
+ }
4052
+ const BandwidthTestResponse = {
4053
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
4054
+ if (message.data.length !== 0) writer.uint32(10).bytes(message.data);
4055
+ if (message.requestedSize !== 0) writer.uint32(16).uint32(message.requestedSize);
4056
+ return writer;
4057
+ },
4058
+ decode(input, length) {
4059
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
4060
+ const end = length === void 0 ? reader.len : reader.pos + length;
4061
+ const message = createBaseBandwidthTestResponse();
4062
+ while (reader.pos < end) {
4063
+ const tag = reader.uint32();
4064
+ switch (tag >>> 3) {
4065
+ case 1:
4066
+ if (tag !== 10) break;
4067
+ message.data = reader.bytes();
4068
+ continue;
4069
+ case 2:
4070
+ if (tag !== 16) break;
4071
+ message.requestedSize = reader.uint32();
4072
+ continue;
4073
+ }
4074
+ if ((tag & 7) === 4 || tag === 0) break;
4075
+ reader.skip(tag & 7);
4076
+ }
4077
+ return message;
4078
+ },
4079
+ fromJSON(object) {
4080
+ return {
4081
+ data: isSet(object.data) ? bytesFromBase64(object.data) : /* @__PURE__ */ new Uint8Array(0),
4082
+ requestedSize: isSet(object.requestedSize) ? globalThis.Number(object.requestedSize) : 0
4083
+ };
4084
+ },
4085
+ toJSON(message) {
4086
+ const obj = {};
4087
+ if (message.data !== void 0) obj.data = base64FromBytes(message.data);
4088
+ if (message.requestedSize !== void 0) obj.requestedSize = Math.round(message.requestedSize);
4089
+ return obj;
4090
+ },
4091
+ create(base) {
4092
+ return BandwidthTestResponse.fromPartial(base ?? {});
4093
+ },
4094
+ fromPartial(object) {
4095
+ const message = createBaseBandwidthTestResponse();
4096
+ message.data = object.data ?? /* @__PURE__ */ new Uint8Array(0);
4097
+ message.requestedSize = object.requestedSize ?? 0;
4098
+ return message;
4099
+ }
4100
+ };
4101
+ function createBaseGetRateTariffResponse() {
4102
+ return {
4103
+ seasons: void 0,
4104
+ tariff: void 0
4105
+ };
4106
+ }
4107
+ const GetRateTariffResponse = {
4108
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
4109
+ if (message.seasons !== void 0) SetRateTariffRequest_Seasons.encode(message.seasons, writer.uint32(106).fork()).join();
4110
+ if (message.tariff !== void 0) SetRateTariffRequest_Tariff.encode(message.tariff, writer.uint32(114).fork()).join();
4111
+ return writer;
4112
+ },
4113
+ decode(input, length) {
4114
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
4115
+ const end = length === void 0 ? reader.len : reader.pos + length;
4116
+ const message = createBaseGetRateTariffResponse();
4117
+ while (reader.pos < end) {
4118
+ const tag = reader.uint32();
4119
+ switch (tag >>> 3) {
4120
+ case 13:
4121
+ if (tag !== 106) break;
4122
+ message.seasons = SetRateTariffRequest_Seasons.decode(reader, reader.uint32());
4123
+ continue;
4124
+ case 14:
4125
+ if (tag !== 114) break;
4126
+ message.tariff = SetRateTariffRequest_Tariff.decode(reader, reader.uint32());
4127
+ continue;
4128
+ }
4129
+ if ((tag & 7) === 4 || tag === 0) break;
4130
+ reader.skip(tag & 7);
4131
+ }
4132
+ return message;
4133
+ },
4134
+ fromJSON(object) {
4135
+ return {
4136
+ seasons: isSet(object.seasons) ? SetRateTariffRequest_Seasons.fromJSON(object.seasons) : void 0,
4137
+ tariff: isSet(object.tariff) ? SetRateTariffRequest_Tariff.fromJSON(object.tariff) : void 0
4138
+ };
4139
+ },
4140
+ toJSON(message) {
4141
+ const obj = {};
4142
+ if (message.seasons !== void 0) obj.seasons = SetRateTariffRequest_Seasons.toJSON(message.seasons);
4143
+ if (message.tariff !== void 0) obj.tariff = SetRateTariffRequest_Tariff.toJSON(message.tariff);
4144
+ return obj;
4145
+ },
4146
+ create(base) {
4147
+ return GetRateTariffResponse.fromPartial(base ?? {});
4148
+ },
4149
+ fromPartial(object) {
4150
+ const message = createBaseGetRateTariffResponse();
4151
+ message.seasons = object.seasons !== void 0 && object.seasons !== null ? SetRateTariffRequest_Seasons.fromPartial(object.seasons) : void 0;
4152
+ message.tariff = object.tariff !== void 0 && object.tariff !== null ? SetRateTariffRequest_Tariff.fromPartial(object.tariff) : void 0;
3025
4153
  return message;
3026
4154
  }
3027
4155
  };
@@ -10932,11 +12060,13 @@ function isSet(value) {
10932
12060
  exports.Action = Action;
10933
12061
  exports.ActionStatus = ActionStatus;
10934
12062
  exports.AddManagedChargingSiteRequest = AddManagedChargingSiteRequest;
12063
+ exports.AddManagedChargingSiteResponse = AddManagedChargingSiteResponse;
10935
12064
  exports.AutoSeatClimateAction = AutoSeatClimateAction;
10936
12065
  exports.AutoSeatClimateAction_AutoSeatPositionE = AutoSeatClimateAction_AutoSeatPositionE;
10937
12066
  exports.AutoSeatClimateAction_CarSeat = AutoSeatClimateAction_CarSeat;
10938
12067
  exports.AutoStwHeatAction = AutoStwHeatAction;
10939
12068
  exports.BandwidthTest = BandwidthTest;
12069
+ exports.BandwidthTestResponse = BandwidthTestResponse;
10940
12070
  exports.BatchRemoveChargeSchedulesAction = BatchRemoveChargeSchedulesAction;
10941
12071
  exports.BatchRemovePreconditionSchedulesAction = BatchRemovePreconditionSchedulesAction;
10942
12072
  exports.BluetoothClassicPairingRequest = BluetoothClassicPairingRequest;
@@ -10958,6 +12088,7 @@ exports.DrivingSetSpeedLimitAction = DrivingSetSpeedLimitAction;
10958
12088
  exports.DrivingSpeedLimitAction = DrivingSpeedLimitAction;
10959
12089
  exports.EncryptedData = EncryptedData;
10960
12090
  exports.EraseUserDataAction = EraseUserDataAction;
12091
+ exports.ExistingManagedChargingSiteNearby = ExistingManagedChargingSiteNearby;
10961
12092
  exports.FetchKeysInfoAction = FetchKeysInfoAction;
10962
12093
  exports.FormatUSBAction = FormatUSBAction;
10963
12094
  exports.GetAlertState = GetAlertState;
@@ -10972,16 +12103,20 @@ exports.GetDriveState = GetDriveState;
10972
12103
  exports.GetGuiSettings = GetGuiSettings;
10973
12104
  exports.GetLightShowState = GetLightShowState;
10974
12105
  exports.GetLocalProfilesForVaultUuidAction = GetLocalProfilesForVaultUuidAction;
12106
+ exports.GetLocalProfilesResponse = GetLocalProfilesResponse;
10975
12107
  exports.GetLocationState = GetLocationState;
10976
12108
  exports.GetManagedChargingSitesRequest = GetManagedChargingSitesRequest;
12109
+ exports.GetManagedChargingSitesResponse = GetManagedChargingSitesResponse;
10977
12110
  exports.GetMediaDetailState = GetMediaDetailState;
10978
12111
  exports.GetMediaState = GetMediaState;
10979
12112
  exports.GetMessagesAction = GetMessagesAction;
12113
+ exports.GetMessagesResponse = GetMessagesResponse;
10980
12114
  exports.GetNearbyChargingSites = GetNearbyChargingSites;
10981
12115
  exports.GetParentalControlsState = GetParentalControlsState;
10982
12116
  exports.GetParkedAccessoryState = GetParkedAccessoryState;
10983
12117
  exports.GetPreconditioningScheduleState = GetPreconditioningScheduleState;
10984
12118
  exports.GetRateTariffRequest = GetRateTariffRequest;
12119
+ exports.GetRateTariffResponse = GetRateTariffResponse;
10985
12120
  exports.GetSoftwareUpdateState = GetSoftwareUpdateState;
10986
12121
  exports.GetSuspensionState = GetSuspensionState;
10987
12122
  exports.GetTirePressureState = GetTirePressureState;
@@ -11006,7 +12141,10 @@ exports.HvacSteeringWheelHeaterAction = HvacSteeringWheelHeaterAction;
11006
12141
  exports.HvacTemperatureAdjustmentAction = HvacTemperatureAdjustmentAction;
11007
12142
  exports.HvacTemperatureAdjustmentAction_HvacTemperatureZone = HvacTemperatureAdjustmentAction_HvacTemperatureZone;
11008
12143
  exports.HvacTemperatureAdjustmentAction_Temperature = HvacTemperatureAdjustmentAction_Temperature;
12144
+ exports.KeyInfo = KeyInfo;
12145
+ exports.KeysInfoResponse = KeysInfoResponse;
11009
12146
  exports.ManagedChargingSite = ManagedChargingSite;
12147
+ exports.ManagedChargingSiteAddedOrUpdated = ManagedChargingSiteAddedOrUpdated;
11010
12148
  exports.ManagerType = ManagerType;
11011
12149
  exports.MediaNextFavorite = MediaNextFavorite;
11012
12150
  exports.MediaNextTrack = MediaNextTrack;
@@ -11014,12 +12152,16 @@ exports.MediaPlayAction = MediaPlayAction;
11014
12152
  exports.MediaPreviousFavorite = MediaPreviousFavorite;
11015
12153
  exports.MediaPreviousTrack = MediaPreviousTrack;
11016
12154
  exports.MediaUpdateVolume = MediaUpdateVolume;
12155
+ exports.MobileAppMessage = MobileAppMessage;
11017
12156
  exports.NavigationGpsDestinationRequest = NavigationGpsDestinationRequest;
11018
12157
  exports.NavigationGpsDestinationRequest_RemoteNavTripOrder = NavigationGpsDestinationRequest_RemoteNavTripOrder;
11019
12158
  exports.NavigationGpsRequest = NavigationGpsRequest;
11020
12159
  exports.NavigationGpsRequest_RemoteNavTripOrder = NavigationGpsRequest_RemoteNavTripOrder;
11021
12160
  exports.NavigationRequest = NavigationRequest;
11022
12161
  exports.NavigationRouteAction = NavigationRouteAction;
12162
+ exports.NavigationRouteResponse = NavigationRouteResponse;
12163
+ exports.NavigationRouteResponse_TrafficDetail = NavigationRouteResponse_TrafficDetail;
12164
+ exports.NavigationRouteResponse_TrafficStatus = NavigationRouteResponse_TrafficStatus;
11023
12165
  exports.NavigationSuperchargerRequest = NavigationSuperchargerRequest;
11024
12166
  exports.NavigationWaypointsRequest = NavigationWaypointsRequest;
11025
12167
  exports.NavigationWaypointsRequest_TripPlanOptions = NavigationWaypointsRequest_TripPlanOptions;
@@ -11033,12 +12175,16 @@ exports.ParentalControlsEnableSettingsAction_ParentalControlsSettingE = Parental
11033
12175
  exports.ParentalControlsSetSpeedLimitAction = ParentalControlsSetSpeedLimitAction;
11034
12176
  exports.PhoneUnitPreferences = PhoneUnitPreferences;
11035
12177
  exports.PiiKeyRequest = PiiKeyRequest;
12178
+ exports.PiiKeyResponse = PiiKeyResponse;
11036
12179
  exports.Ping = Ping;
12180
+ exports.Profile = Profile;
11037
12181
  exports.PseudonymSyncRequest = PseudonymSyncRequest;
12182
+ exports.PseudonymSyncResponse = PseudonymSyncResponse;
11038
12183
  exports.RemoteStartDrive = RemoteStartDrive;
11039
12184
  exports.RemoveChargeScheduleAction = RemoveChargeScheduleAction;
11040
12185
  exports.RemoveManagedChargingSiteRequest = RemoveManagedChargingSiteRequest;
11041
12186
  exports.RemovePreconditionScheduleAction = RemovePreconditionScheduleAction;
12187
+ exports.RequestTeslaAuthCommand = RequestTeslaAuthCommand;
11042
12188
  exports.Response = Response;
11043
12189
  exports.ResultReason = ResultReason;
11044
12190
  exports.ScheduledChargingAction = ScheduledChargingAction;
@@ -11122,6 +12268,7 @@ exports.VehicleControlTriggerHomelinkAction = VehicleControlTriggerHomelinkActio
11122
12268
  exports.VehicleControlWindowAction = VehicleControlWindowAction;
11123
12269
  exports.VehicleDataAck = VehicleDataAck;
11124
12270
  exports.VehicleDataSubscription = VehicleDataSubscription;
12271
+ exports.VehicleDataSubscriptionResponse = VehicleDataSubscriptionResponse;
11125
12272
  exports.VehicleDataSubscription_PiiKeyRequest = VehicleDataSubscription_PiiKeyRequest;
11126
12273
  exports.VehicleImageDataChunkRequest = VehicleImageDataChunkRequest;
11127
12274
  exports.VehicleImageRequest = VehicleImageRequest;
@@ -11129,6 +12276,7 @@ exports.VehicleImageRequest_Type = VehicleImageRequest_Type;
11129
12276
  exports.VideoRequestAction = VideoRequestAction;
11130
12277
  exports.VitalsAck = VitalsAck;
11131
12278
  exports.VitalsSubscription = VitalsSubscription;
12279
+ exports.VitalsSubscriptionResponse = VitalsSubscriptionResponse;
11132
12280
  exports.autoSeatClimateAction_AutoSeatPositionEFromJSON = autoSeatClimateAction_AutoSeatPositionEFromJSON;
11133
12281
  exports.autoSeatClimateAction_AutoSeatPositionEToJSON = autoSeatClimateAction_AutoSeatPositionEToJSON;
11134
12282
  exports.hvacClimateKeeperAction_ClimateKeeperActionEFromJSON = hvacClimateKeeperAction_ClimateKeeperActionEFromJSON;
@@ -11145,6 +12293,8 @@ exports.navigationGpsDestinationRequest_RemoteNavTripOrderFromJSON = navigationG
11145
12293
  exports.navigationGpsDestinationRequest_RemoteNavTripOrderToJSON = navigationGpsDestinationRequest_RemoteNavTripOrderToJSON;
11146
12294
  exports.navigationGpsRequest_RemoteNavTripOrderFromJSON = navigationGpsRequest_RemoteNavTripOrderFromJSON;
11147
12295
  exports.navigationGpsRequest_RemoteNavTripOrderToJSON = navigationGpsRequest_RemoteNavTripOrderToJSON;
12296
+ exports.navigationRouteResponse_TrafficStatusFromJSON = navigationRouteResponse_TrafficStatusFromJSON;
12297
+ exports.navigationRouteResponse_TrafficStatusToJSON = navigationRouteResponse_TrafficStatusToJSON;
11148
12298
  exports.operationStatusEFromJSON = operationStatusEFromJSON;
11149
12299
  exports.operationStatusEToJSON = operationStatusEToJSON;
11150
12300
  exports.parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON = parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON;