@samsarahq/samsara 5.9.1 → 5.10.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.
Files changed (31) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/addresses/client/requests/CreateAddressRequest.d.ts +3 -1
  3. package/dist/cjs/api/resources/addresses/client/requests/CreateAddressRequest.js +2 -0
  4. package/dist/cjs/api/resources/addresses/client/requests/UpdateAddressRequest.d.ts +3 -1
  5. package/dist/cjs/api/resources/addresses/client/requests/UpdateAddressRequest.js +2 -0
  6. package/dist/cjs/api/types/Address.d.ts +3 -1
  7. package/dist/cjs/api/types/Address.js +2 -0
  8. package/dist/cjs/api/types/IdlingEventAddressObjectResponseBody.d.ts +3 -1
  9. package/dist/cjs/api/types/IdlingEventAddressObjectResponseBody.js +3 -1
  10. package/dist/cjs/api/types/LocationObjectRequestBody.d.ts +3 -1
  11. package/dist/cjs/api/types/LocationObjectRequestBody.js +3 -1
  12. package/dist/cjs/api/types/LocationObjectResponseBody.d.ts +3 -1
  13. package/dist/cjs/api/types/LocationObjectResponseBody.js +3 -1
  14. package/dist/cjs/version.d.ts +1 -1
  15. package/dist/cjs/version.js +1 -1
  16. package/dist/esm/BaseClient.mjs +2 -2
  17. package/dist/esm/api/resources/addresses/client/requests/CreateAddressRequest.d.mts +3 -1
  18. package/dist/esm/api/resources/addresses/client/requests/CreateAddressRequest.mjs +2 -0
  19. package/dist/esm/api/resources/addresses/client/requests/UpdateAddressRequest.d.mts +3 -1
  20. package/dist/esm/api/resources/addresses/client/requests/UpdateAddressRequest.mjs +2 -0
  21. package/dist/esm/api/types/Address.d.mts +3 -1
  22. package/dist/esm/api/types/Address.mjs +2 -0
  23. package/dist/esm/api/types/IdlingEventAddressObjectResponseBody.d.mts +3 -1
  24. package/dist/esm/api/types/IdlingEventAddressObjectResponseBody.mjs +3 -1
  25. package/dist/esm/api/types/LocationObjectRequestBody.d.mts +3 -1
  26. package/dist/esm/api/types/LocationObjectRequestBody.mjs +3 -1
  27. package/dist/esm/api/types/LocationObjectResponseBody.d.mts +3 -1
  28. package/dist/esm/api/types/LocationObjectResponseBody.mjs +3 -1
  29. package/dist/esm/version.d.mts +1 -1
  30. package/dist/esm/version.mjs +1 -1
  31. package/package.json +1 -1
@@ -44,8 +44,8 @@ function normalizeClientOptions(options) {
44
44
  const headers = (0, headers_js_1.mergeHeaders)({
45
45
  "X-Fern-Language": "JavaScript",
46
46
  "X-Fern-SDK-Name": "@samsarahq/samsara",
47
- "X-Fern-SDK-Version": "5.9.1",
48
- "User-Agent": "@samsarahq/samsara/5.9.1",
47
+ "X-Fern-SDK-Version": "5.10.0",
48
+ "User-Agent": "@samsarahq/samsara/5.10.0",
49
49
  "X-Fern-Runtime": core.RUNTIME.type,
50
50
  "X-Fern-Runtime-Version": core.RUNTIME.version,
51
51
  "X-Samsara-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-06-11",
@@ -8,7 +8,7 @@ import type * as Samsara from "../../../../index.js";
8
8
  * }
9
9
  */
10
10
  export interface CreateAddressRequest {
11
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
11
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
12
12
  addressTypes?: CreateAddressRequest.AddressTypes.Item[];
13
13
  /** An array of Contact IDs associated with this Address. */
14
14
  contactIds?: string[];
@@ -43,6 +43,8 @@ export declare namespace CreateAddressRequest {
43
43
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
44
44
  readonly AuthorizedZone: "authorizedZone";
45
45
  readonly UnauthorizedZone: "unauthorizedZone";
46
+ readonly Vendor: "vendor";
47
+ readonly Inventory: "inventory";
46
48
  };
47
49
  type Item = (typeof Item)[keyof typeof Item];
48
50
  }
@@ -18,6 +18,8 @@ var CreateAddressRequest;
18
18
  KnownGpsJammingZone: "knownGPSJammingZone",
19
19
  AuthorizedZone: "authorizedZone",
20
20
  UnauthorizedZone: "unauthorizedZone",
21
+ Vendor: "vendor",
22
+ Inventory: "inventory",
21
23
  };
22
24
  })(AddressTypes = CreateAddressRequest.AddressTypes || (CreateAddressRequest.AddressTypes = {}));
23
25
  })(CreateAddressRequest || (exports.CreateAddressRequest = CreateAddressRequest = {}));
@@ -8,7 +8,7 @@ import type * as Samsara from "../../../../index.js";
8
8
  export interface UpdateAddressRequest {
9
9
  /** ID of the Address. This can either be the Samsara-provided ID or an external ID. External IDs are customer-specified key-value pairs created in the POST or PATCH requests of this resource. To specify an external ID as part of a path parameter, use the following format: `key:value`. For example, `crmId:abc123` */
10
10
  id: string;
11
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
11
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
12
12
  addressTypes?: UpdateAddressRequest.AddressTypes.Item[];
13
13
  /** An array of Contact IDs associated with this Address. */
14
14
  contactIds?: string[];
@@ -43,6 +43,8 @@ export declare namespace UpdateAddressRequest {
43
43
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
44
44
  readonly AuthorizedZone: "authorizedZone";
45
45
  readonly UnauthorizedZone: "unauthorizedZone";
46
+ readonly Vendor: "vendor";
47
+ readonly Inventory: "inventory";
46
48
  };
47
49
  type Item = (typeof Item)[keyof typeof Item];
48
50
  }
@@ -18,6 +18,8 @@ var UpdateAddressRequest;
18
18
  KnownGpsJammingZone: "knownGPSJammingZone",
19
19
  AuthorizedZone: "authorizedZone",
20
20
  UnauthorizedZone: "unauthorizedZone",
21
+ Vendor: "vendor",
22
+ Inventory: "inventory",
21
23
  };
22
24
  })(AddressTypes = UpdateAddressRequest.AddressTypes || (UpdateAddressRequest.AddressTypes = {}));
23
25
  })(UpdateAddressRequest || (exports.UpdateAddressRequest = UpdateAddressRequest = {}));
@@ -3,7 +3,7 @@ import type * as Samsara from "../index.js";
3
3
  * An Address object.
4
4
  */
5
5
  export interface Address {
6
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
6
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
7
7
  addressTypes?: Address.AddressTypes.Item[] | undefined;
8
8
  /** An array Contact mini-objects that are associated the Address. */
9
9
  contacts?: Samsara.ContactTinyResponse[] | undefined;
@@ -42,6 +42,8 @@ export declare namespace Address {
42
42
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
43
43
  readonly AuthorizedZone: "authorizedZone";
44
44
  readonly UnauthorizedZone: "unauthorizedZone";
45
+ readonly Vendor: "vendor";
46
+ readonly Inventory: "inventory";
45
47
  };
46
48
  type Item = (typeof Item)[keyof typeof Item];
47
49
  }
@@ -18,6 +18,8 @@ var Address;
18
18
  KnownGpsJammingZone: "knownGPSJammingZone",
19
19
  AuthorizedZone: "authorizedZone",
20
20
  UnauthorizedZone: "unauthorizedZone",
21
+ Vendor: "vendor",
22
+ Inventory: "inventory",
21
23
  };
22
24
  })(AddressTypes = Address.AddressTypes || (Address.AddressTypes = {}));
23
25
  })(Address || (exports.Address = Address = {}));
@@ -12,18 +12,20 @@ export interface IdlingEventAddressObjectResponseBody {
12
12
  export declare namespace IdlingEventAddressObjectResponseBody {
13
13
  type AddressTypes = AddressTypes.Item[];
14
14
  namespace AddressTypes {
15
- /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
15
+ /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
16
16
  const Item: {
17
17
  readonly AgricultureSource: "agricultureSource";
18
18
  readonly AlertsOnly: "alertsOnly";
19
19
  readonly AuthorizedZone: "authorizedZone";
20
20
  readonly AvoidanceZone: "avoidanceZone";
21
21
  readonly IndustrialSite: "industrialSite";
22
+ readonly Inventory: "inventory";
22
23
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
23
24
  readonly RiskZone: "riskZone";
24
25
  readonly ShortHaul: "shortHaul";
25
26
  readonly UnauthorizedZone: "unauthorizedZone";
26
27
  readonly Undefined: "undefined";
28
+ readonly Vendor: "vendor";
27
29
  readonly WorkforceSite: "workforceSite";
28
30
  readonly Yard: "yard";
29
31
  };
@@ -6,18 +6,20 @@ var IdlingEventAddressObjectResponseBody;
6
6
  (function (IdlingEventAddressObjectResponseBody) {
7
7
  let AddressTypes;
8
8
  (function (AddressTypes) {
9
- /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
9
+ /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
10
10
  AddressTypes.Item = {
11
11
  AgricultureSource: "agricultureSource",
12
12
  AlertsOnly: "alertsOnly",
13
13
  AuthorizedZone: "authorizedZone",
14
14
  AvoidanceZone: "avoidanceZone",
15
15
  IndustrialSite: "industrialSite",
16
+ Inventory: "inventory",
16
17
  KnownGpsJammingZone: "knownGPSJammingZone",
17
18
  RiskZone: "riskZone",
18
19
  ShortHaul: "shortHaul",
19
20
  UnauthorizedZone: "unauthorizedZone",
20
21
  Undefined: "undefined",
22
+ Vendor: "vendor",
21
23
  WorkforceSite: "workforceSite",
22
24
  Yard: "yard",
23
25
  };
@@ -15,18 +15,20 @@ export interface LocationObjectRequestBody {
15
15
  export declare namespace LocationObjectRequestBody {
16
16
  type AddressTypes = AddressTypes.Item[];
17
17
  namespace AddressTypes {
18
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
18
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
19
19
  const Item: {
20
20
  readonly AgricultureSource: "agricultureSource";
21
21
  readonly AlertsOnly: "alertsOnly";
22
22
  readonly AuthorizedZone: "authorizedZone";
23
23
  readonly AvoidanceZone: "avoidanceZone";
24
24
  readonly IndustrialSite: "industrialSite";
25
+ readonly Inventory: "inventory";
25
26
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
26
27
  readonly RiskZone: "riskZone";
27
28
  readonly ShortHaul: "shortHaul";
28
29
  readonly UnauthorizedZone: "unauthorizedZone";
29
30
  readonly Undefined: "undefined";
31
+ readonly Vendor: "vendor";
30
32
  readonly WorkforceSite: "workforceSite";
31
33
  readonly Yard: "yard";
32
34
  };
@@ -6,18 +6,20 @@ var LocationObjectRequestBody;
6
6
  (function (LocationObjectRequestBody) {
7
7
  let AddressTypes;
8
8
  (function (AddressTypes) {
9
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
9
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
10
10
  AddressTypes.Item = {
11
11
  AgricultureSource: "agricultureSource",
12
12
  AlertsOnly: "alertsOnly",
13
13
  AuthorizedZone: "authorizedZone",
14
14
  AvoidanceZone: "avoidanceZone",
15
15
  IndustrialSite: "industrialSite",
16
+ Inventory: "inventory",
16
17
  KnownGpsJammingZone: "knownGPSJammingZone",
17
18
  RiskZone: "riskZone",
18
19
  ShortHaul: "shortHaul",
19
20
  UnauthorizedZone: "unauthorizedZone",
20
21
  Undefined: "undefined",
22
+ Vendor: "vendor",
21
23
  WorkforceSite: "workforceSite",
22
24
  Yard: "yard",
23
25
  };
@@ -15,18 +15,20 @@ export interface LocationObjectResponseBody {
15
15
  export declare namespace LocationObjectResponseBody {
16
16
  type AddressTypes = AddressTypes.Item[];
17
17
  namespace AddressTypes {
18
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
18
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
19
19
  const Item: {
20
20
  readonly AgricultureSource: "agricultureSource";
21
21
  readonly AlertsOnly: "alertsOnly";
22
22
  readonly AuthorizedZone: "authorizedZone";
23
23
  readonly AvoidanceZone: "avoidanceZone";
24
24
  readonly IndustrialSite: "industrialSite";
25
+ readonly Inventory: "inventory";
25
26
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
26
27
  readonly RiskZone: "riskZone";
27
28
  readonly ShortHaul: "shortHaul";
28
29
  readonly UnauthorizedZone: "unauthorizedZone";
29
30
  readonly Undefined: "undefined";
31
+ readonly Vendor: "vendor";
30
32
  readonly WorkforceSite: "workforceSite";
31
33
  readonly Yard: "yard";
32
34
  };
@@ -6,18 +6,20 @@ var LocationObjectResponseBody;
6
6
  (function (LocationObjectResponseBody) {
7
7
  let AddressTypes;
8
8
  (function (AddressTypes) {
9
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
9
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
10
10
  AddressTypes.Item = {
11
11
  AgricultureSource: "agricultureSource",
12
12
  AlertsOnly: "alertsOnly",
13
13
  AuthorizedZone: "authorizedZone",
14
14
  AvoidanceZone: "avoidanceZone",
15
15
  IndustrialSite: "industrialSite",
16
+ Inventory: "inventory",
16
17
  KnownGpsJammingZone: "knownGPSJammingZone",
17
18
  RiskZone: "riskZone",
18
19
  ShortHaul: "shortHaul",
19
20
  UnauthorizedZone: "unauthorizedZone",
20
21
  Undefined: "undefined",
22
+ Vendor: "vendor",
21
23
  WorkforceSite: "workforceSite",
22
24
  Yard: "yard",
23
25
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.9.1";
1
+ export declare const SDK_VERSION = "5.10.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 = "5.9.1";
4
+ exports.SDK_VERSION = "5.10.0";
@@ -7,8 +7,8 @@ export function normalizeClientOptions(options) {
7
7
  const headers = mergeHeaders({
8
8
  "X-Fern-Language": "JavaScript",
9
9
  "X-Fern-SDK-Name": "@samsarahq/samsara",
10
- "X-Fern-SDK-Version": "5.9.1",
11
- "User-Agent": "@samsarahq/samsara/5.9.1",
10
+ "X-Fern-SDK-Version": "5.10.0",
11
+ "User-Agent": "@samsarahq/samsara/5.10.0",
12
12
  "X-Fern-Runtime": core.RUNTIME.type,
13
13
  "X-Fern-Runtime-Version": core.RUNTIME.version,
14
14
  "X-Samsara-Version": (_a = options === null || options === void 0 ? void 0 : options.version) !== null && _a !== void 0 ? _a : "2025-06-11",
@@ -8,7 +8,7 @@ import type * as Samsara from "../../../../index.mjs";
8
8
  * }
9
9
  */
10
10
  export interface CreateAddressRequest {
11
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
11
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
12
12
  addressTypes?: CreateAddressRequest.AddressTypes.Item[];
13
13
  /** An array of Contact IDs associated with this Address. */
14
14
  contactIds?: string[];
@@ -43,6 +43,8 @@ export declare namespace CreateAddressRequest {
43
43
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
44
44
  readonly AuthorizedZone: "authorizedZone";
45
45
  readonly UnauthorizedZone: "unauthorizedZone";
46
+ readonly Vendor: "vendor";
47
+ readonly Inventory: "inventory";
46
48
  };
47
49
  type Item = (typeof Item)[keyof typeof Item];
48
50
  }
@@ -15,6 +15,8 @@ export var CreateAddressRequest;
15
15
  KnownGpsJammingZone: "knownGPSJammingZone",
16
16
  AuthorizedZone: "authorizedZone",
17
17
  UnauthorizedZone: "unauthorizedZone",
18
+ Vendor: "vendor",
19
+ Inventory: "inventory",
18
20
  };
19
21
  })(AddressTypes = CreateAddressRequest.AddressTypes || (CreateAddressRequest.AddressTypes = {}));
20
22
  })(CreateAddressRequest || (CreateAddressRequest = {}));
@@ -8,7 +8,7 @@ import type * as Samsara from "../../../../index.mjs";
8
8
  export interface UpdateAddressRequest {
9
9
  /** ID of the Address. This can either be the Samsara-provided ID or an external ID. External IDs are customer-specified key-value pairs created in the POST or PATCH requests of this resource. To specify an external ID as part of a path parameter, use the following format: `key:value`. For example, `crmId:abc123` */
10
10
  id: string;
11
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
11
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
12
12
  addressTypes?: UpdateAddressRequest.AddressTypes.Item[];
13
13
  /** An array of Contact IDs associated with this Address. */
14
14
  contactIds?: string[];
@@ -43,6 +43,8 @@ export declare namespace UpdateAddressRequest {
43
43
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
44
44
  readonly AuthorizedZone: "authorizedZone";
45
45
  readonly UnauthorizedZone: "unauthorizedZone";
46
+ readonly Vendor: "vendor";
47
+ readonly Inventory: "inventory";
46
48
  };
47
49
  type Item = (typeof Item)[keyof typeof Item];
48
50
  }
@@ -15,6 +15,8 @@ export var UpdateAddressRequest;
15
15
  KnownGpsJammingZone: "knownGPSJammingZone",
16
16
  AuthorizedZone: "authorizedZone",
17
17
  UnauthorizedZone: "unauthorizedZone",
18
+ Vendor: "vendor",
19
+ Inventory: "inventory",
18
20
  };
19
21
  })(AddressTypes = UpdateAddressRequest.AddressTypes || (UpdateAddressRequest.AddressTypes = {}));
20
22
  })(UpdateAddressRequest || (UpdateAddressRequest = {}));
@@ -3,7 +3,7 @@ import type * as Samsara from "../index.mjs";
3
3
  * An Address object.
4
4
  */
5
5
  export interface Address {
6
- /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`. */
6
+ /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */
7
7
  addressTypes?: Address.AddressTypes.Item[] | undefined;
8
8
  /** An array Contact mini-objects that are associated the Address. */
9
9
  contacts?: Samsara.ContactTinyResponse[] | undefined;
@@ -42,6 +42,8 @@ export declare namespace Address {
42
42
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
43
43
  readonly AuthorizedZone: "authorizedZone";
44
44
  readonly UnauthorizedZone: "unauthorizedZone";
45
+ readonly Vendor: "vendor";
46
+ readonly Inventory: "inventory";
45
47
  };
46
48
  type Item = (typeof Item)[keyof typeof Item];
47
49
  }
@@ -15,6 +15,8 @@ export var Address;
15
15
  KnownGpsJammingZone: "knownGPSJammingZone",
16
16
  AuthorizedZone: "authorizedZone",
17
17
  UnauthorizedZone: "unauthorizedZone",
18
+ Vendor: "vendor",
19
+ Inventory: "inventory",
18
20
  };
19
21
  })(AddressTypes = Address.AddressTypes || (Address.AddressTypes = {}));
20
22
  })(Address || (Address = {}));
@@ -12,18 +12,20 @@ export interface IdlingEventAddressObjectResponseBody {
12
12
  export declare namespace IdlingEventAddressObjectResponseBody {
13
13
  type AddressTypes = AddressTypes.Item[];
14
14
  namespace AddressTypes {
15
- /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
15
+ /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
16
16
  const Item: {
17
17
  readonly AgricultureSource: "agricultureSource";
18
18
  readonly AlertsOnly: "alertsOnly";
19
19
  readonly AuthorizedZone: "authorizedZone";
20
20
  readonly AvoidanceZone: "avoidanceZone";
21
21
  readonly IndustrialSite: "industrialSite";
22
+ readonly Inventory: "inventory";
22
23
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
23
24
  readonly RiskZone: "riskZone";
24
25
  readonly ShortHaul: "shortHaul";
25
26
  readonly UnauthorizedZone: "unauthorizedZone";
26
27
  readonly Undefined: "undefined";
28
+ readonly Vendor: "vendor";
27
29
  readonly WorkforceSite: "workforceSite";
28
30
  readonly Yard: "yard";
29
31
  };
@@ -3,18 +3,20 @@ export var IdlingEventAddressObjectResponseBody;
3
3
  (function (IdlingEventAddressObjectResponseBody) {
4
4
  let AddressTypes;
5
5
  (function (AddressTypes) {
6
- /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
6
+ /** Address types Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
7
7
  AddressTypes.Item = {
8
8
  AgricultureSource: "agricultureSource",
9
9
  AlertsOnly: "alertsOnly",
10
10
  AuthorizedZone: "authorizedZone",
11
11
  AvoidanceZone: "avoidanceZone",
12
12
  IndustrialSite: "industrialSite",
13
+ Inventory: "inventory",
13
14
  KnownGpsJammingZone: "knownGPSJammingZone",
14
15
  RiskZone: "riskZone",
15
16
  ShortHaul: "shortHaul",
16
17
  UnauthorizedZone: "unauthorizedZone",
17
18
  Undefined: "undefined",
19
+ Vendor: "vendor",
18
20
  WorkforceSite: "workforceSite",
19
21
  Yard: "yard",
20
22
  };
@@ -15,18 +15,20 @@ export interface LocationObjectRequestBody {
15
15
  export declare namespace LocationObjectRequestBody {
16
16
  type AddressTypes = AddressTypes.Item[];
17
17
  namespace AddressTypes {
18
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
18
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
19
19
  const Item: {
20
20
  readonly AgricultureSource: "agricultureSource";
21
21
  readonly AlertsOnly: "alertsOnly";
22
22
  readonly AuthorizedZone: "authorizedZone";
23
23
  readonly AvoidanceZone: "avoidanceZone";
24
24
  readonly IndustrialSite: "industrialSite";
25
+ readonly Inventory: "inventory";
25
26
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
26
27
  readonly RiskZone: "riskZone";
27
28
  readonly ShortHaul: "shortHaul";
28
29
  readonly UnauthorizedZone: "unauthorizedZone";
29
30
  readonly Undefined: "undefined";
31
+ readonly Vendor: "vendor";
30
32
  readonly WorkforceSite: "workforceSite";
31
33
  readonly Yard: "yard";
32
34
  };
@@ -3,18 +3,20 @@ export var LocationObjectRequestBody;
3
3
  (function (LocationObjectRequestBody) {
4
4
  let AddressTypes;
5
5
  (function (AddressTypes) {
6
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
6
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
7
7
  AddressTypes.Item = {
8
8
  AgricultureSource: "agricultureSource",
9
9
  AlertsOnly: "alertsOnly",
10
10
  AuthorizedZone: "authorizedZone",
11
11
  AvoidanceZone: "avoidanceZone",
12
12
  IndustrialSite: "industrialSite",
13
+ Inventory: "inventory",
13
14
  KnownGpsJammingZone: "knownGPSJammingZone",
14
15
  RiskZone: "riskZone",
15
16
  ShortHaul: "shortHaul",
16
17
  UnauthorizedZone: "unauthorizedZone",
17
18
  Undefined: "undefined",
19
+ Vendor: "vendor",
18
20
  WorkforceSite: "workforceSite",
19
21
  Yard: "yard",
20
22
  };
@@ -15,18 +15,20 @@ export interface LocationObjectResponseBody {
15
15
  export declare namespace LocationObjectResponseBody {
16
16
  type AddressTypes = AddressTypes.Item[];
17
17
  namespace AddressTypes {
18
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
18
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
19
19
  const Item: {
20
20
  readonly AgricultureSource: "agricultureSource";
21
21
  readonly AlertsOnly: "alertsOnly";
22
22
  readonly AuthorizedZone: "authorizedZone";
23
23
  readonly AvoidanceZone: "avoidanceZone";
24
24
  readonly IndustrialSite: "industrialSite";
25
+ readonly Inventory: "inventory";
25
26
  readonly KnownGpsJammingZone: "knownGPSJammingZone";
26
27
  readonly RiskZone: "riskZone";
27
28
  readonly ShortHaul: "shortHaul";
28
29
  readonly UnauthorizedZone: "unauthorizedZone";
29
30
  readonly Undefined: "undefined";
31
+ readonly Vendor: "vendor";
30
32
  readonly WorkforceSite: "workforceSite";
31
33
  readonly Yard: "yard";
32
34
  };
@@ -3,18 +3,20 @@ export var LocationObjectResponseBody;
3
3
  (function (LocationObjectResponseBody) {
4
4
  let AddressTypes;
5
5
  (function (AddressTypes) {
6
- /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `workforceSite`, `yard` */
6
+ /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */
7
7
  AddressTypes.Item = {
8
8
  AgricultureSource: "agricultureSource",
9
9
  AlertsOnly: "alertsOnly",
10
10
  AuthorizedZone: "authorizedZone",
11
11
  AvoidanceZone: "avoidanceZone",
12
12
  IndustrialSite: "industrialSite",
13
+ Inventory: "inventory",
13
14
  KnownGpsJammingZone: "knownGPSJammingZone",
14
15
  RiskZone: "riskZone",
15
16
  ShortHaul: "shortHaul",
16
17
  UnauthorizedZone: "unauthorizedZone",
17
18
  Undefined: "undefined",
19
+ Vendor: "vendor",
18
20
  WorkforceSite: "workforceSite",
19
21
  Yard: "yard",
20
22
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.9.1";
1
+ export declare const SDK_VERSION = "5.10.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.9.1";
1
+ export const SDK_VERSION = "5.10.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samsarahq/samsara",
3
- "version": "5.9.1",
3
+ "version": "5.10.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",