@juhuu/sdk-ts 1.3.7 → 1.3.9
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.
- package/dist/index.d.mts +58 -14
- package/dist/index.d.ts +58 -14
- package/dist/index.js +70 -4
- package/dist/index.mjs +70 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1850,6 +1850,10 @@ declare class PointsService extends Service {
|
|
|
1850
1850
|
constructor(config: JUHUU.SetupConfig);
|
|
1851
1851
|
map(PointListParams: JUHUU.Point.Map.Params, PointListOptions?: JUHUU.Point.Map.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Map.Response>>;
|
|
1852
1852
|
list(PointListParams: JUHUU.Point.List.Params, PointListOptions?: JUHUU.Point.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.List.Response>>;
|
|
1853
|
+
create(PointCreateParams: JUHUU.Point.Create.Params, PointCreateOptions?: JUHUU.Point.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Create.Response>>;
|
|
1854
|
+
retrieve(PointRetrieveParams: JUHUU.Point.Retrieve.Params, PointRetrieveOptions?: JUHUU.Point.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Retrieve.Response>>;
|
|
1855
|
+
update(PointUpdateParams: JUHUU.Point.Update.Params, PointUpdateOptions?: JUHUU.Point.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Update.Response>>;
|
|
1856
|
+
delete(PointDeleteParams: JUHUU.Point.Delete.Params, PointDeleteOptions?: JUHUU.Point.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Delete.Response>>;
|
|
1853
1857
|
private toRadians;
|
|
1854
1858
|
calculateDistance(lat1: number, lon1: number, lat2: number, lon2: number): number;
|
|
1855
1859
|
calculateAltitudeForTopDownView(topLeftLat: number, topLeftLon: number, bottomRightLat: number, bottomRightLon: number): number;
|
|
@@ -4098,8 +4102,9 @@ declare namespace JUHUU {
|
|
|
4098
4102
|
export interface Single extends Base {
|
|
4099
4103
|
type: "single";
|
|
4100
4104
|
source: "fluctuo" | null;
|
|
4101
|
-
referenceObject: "location";
|
|
4102
|
-
referenceObjectId: string;
|
|
4105
|
+
referenceObject: "location" | "panel";
|
|
4106
|
+
referenceObjectId: string | null;
|
|
4107
|
+
propertyId: string | null;
|
|
4103
4108
|
iconLight: string | null;
|
|
4104
4109
|
iconDark: string | null;
|
|
4105
4110
|
utilization: Utilization | null;
|
|
@@ -4128,10 +4133,61 @@ declare namespace JUHUU {
|
|
|
4128
4133
|
type Params = {
|
|
4129
4134
|
propertyId?: string;
|
|
4130
4135
|
invalidAt?: Date | null;
|
|
4136
|
+
referenceObject?: "location" | "panel";
|
|
4137
|
+
referenceObjectId?: string;
|
|
4131
4138
|
};
|
|
4132
4139
|
type Options = JUHUU.RequestOptions;
|
|
4133
4140
|
type Response = JUHUU.Point.Object[];
|
|
4134
4141
|
}
|
|
4142
|
+
export namespace Create {
|
|
4143
|
+
type Params = {
|
|
4144
|
+
propertyId: string;
|
|
4145
|
+
referenceObject: "location" | "panel";
|
|
4146
|
+
referenceObjectId?: string | null;
|
|
4147
|
+
location: GeoPoint;
|
|
4148
|
+
altitudeRange?: [number, number];
|
|
4149
|
+
purposeArray?: Purpose[];
|
|
4150
|
+
iconLight?: string | null;
|
|
4151
|
+
iconDark?: string | null;
|
|
4152
|
+
visualPriority?: VisualPriority;
|
|
4153
|
+
};
|
|
4154
|
+
type Options = JUHUU.RequestOptions;
|
|
4155
|
+
type Response = {
|
|
4156
|
+
point: JUHUU.Point.Object;
|
|
4157
|
+
};
|
|
4158
|
+
}
|
|
4159
|
+
export namespace Retrieve {
|
|
4160
|
+
type Params = {
|
|
4161
|
+
pointId: string;
|
|
4162
|
+
};
|
|
4163
|
+
type Options = JUHUU.RequestOptions;
|
|
4164
|
+
type Response = {
|
|
4165
|
+
point: JUHUU.Point.Object;
|
|
4166
|
+
};
|
|
4167
|
+
}
|
|
4168
|
+
export namespace Update {
|
|
4169
|
+
type Params = {
|
|
4170
|
+
pointId: string;
|
|
4171
|
+
location?: GeoPoint;
|
|
4172
|
+
altitudeRange?: [number, number];
|
|
4173
|
+
purposeArray?: Purpose[];
|
|
4174
|
+
iconLight?: string | null;
|
|
4175
|
+
iconDark?: string | null;
|
|
4176
|
+
visualPriority?: VisualPriority;
|
|
4177
|
+
invalidAt?: Date | null;
|
|
4178
|
+
};
|
|
4179
|
+
type Options = JUHUU.RequestOptions;
|
|
4180
|
+
type Response = {
|
|
4181
|
+
point: JUHUU.Point.Object;
|
|
4182
|
+
};
|
|
4183
|
+
}
|
|
4184
|
+
export namespace Delete {
|
|
4185
|
+
type Params = {
|
|
4186
|
+
pointId: string;
|
|
4187
|
+
};
|
|
4188
|
+
type Options = JUHUU.RequestOptions;
|
|
4189
|
+
type Response = JUHUU.Point.Object;
|
|
4190
|
+
}
|
|
4135
4191
|
export { };
|
|
4136
4192
|
}
|
|
4137
4193
|
namespace Payout {
|
|
@@ -4437,8 +4493,6 @@ declare namespace JUHUU {
|
|
|
4437
4493
|
source: "fluctuo" | null;
|
|
4438
4494
|
rentOfferArray: Offer[];
|
|
4439
4495
|
reservationOfferArray: Offer[];
|
|
4440
|
-
iconLight: string | null;
|
|
4441
|
-
iconDark: string | null;
|
|
4442
4496
|
address: Address | null;
|
|
4443
4497
|
termId: string | null;
|
|
4444
4498
|
timeZone: TimeZone | null;
|
|
@@ -4544,16 +4598,6 @@ declare namespace JUHUU {
|
|
|
4544
4598
|
* Set to null to remove the image
|
|
4545
4599
|
*/
|
|
4546
4600
|
logoDark?: string | null;
|
|
4547
|
-
/**
|
|
4548
|
-
* Base64 encoded image
|
|
4549
|
-
* Set to null to remove the image
|
|
4550
|
-
*/
|
|
4551
|
-
iconLight?: string | null;
|
|
4552
|
-
/**
|
|
4553
|
-
* Base64 encoded image
|
|
4554
|
-
* Set to null to remove the image
|
|
4555
|
-
*/
|
|
4556
|
-
iconDark?: string | null;
|
|
4557
4601
|
};
|
|
4558
4602
|
type Options = JUHUU.RequestOptions;
|
|
4559
4603
|
type Response = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1850,6 +1850,10 @@ declare class PointsService extends Service {
|
|
|
1850
1850
|
constructor(config: JUHUU.SetupConfig);
|
|
1851
1851
|
map(PointListParams: JUHUU.Point.Map.Params, PointListOptions?: JUHUU.Point.Map.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Map.Response>>;
|
|
1852
1852
|
list(PointListParams: JUHUU.Point.List.Params, PointListOptions?: JUHUU.Point.List.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.List.Response>>;
|
|
1853
|
+
create(PointCreateParams: JUHUU.Point.Create.Params, PointCreateOptions?: JUHUU.Point.Create.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Create.Response>>;
|
|
1854
|
+
retrieve(PointRetrieveParams: JUHUU.Point.Retrieve.Params, PointRetrieveOptions?: JUHUU.Point.Retrieve.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Retrieve.Response>>;
|
|
1855
|
+
update(PointUpdateParams: JUHUU.Point.Update.Params, PointUpdateOptions?: JUHUU.Point.Update.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Update.Response>>;
|
|
1856
|
+
delete(PointDeleteParams: JUHUU.Point.Delete.Params, PointDeleteOptions?: JUHUU.Point.Delete.Options): Promise<JUHUU.HttpResponse<JUHUU.Point.Delete.Response>>;
|
|
1853
1857
|
private toRadians;
|
|
1854
1858
|
calculateDistance(lat1: number, lon1: number, lat2: number, lon2: number): number;
|
|
1855
1859
|
calculateAltitudeForTopDownView(topLeftLat: number, topLeftLon: number, bottomRightLat: number, bottomRightLon: number): number;
|
|
@@ -4098,8 +4102,9 @@ declare namespace JUHUU {
|
|
|
4098
4102
|
export interface Single extends Base {
|
|
4099
4103
|
type: "single";
|
|
4100
4104
|
source: "fluctuo" | null;
|
|
4101
|
-
referenceObject: "location";
|
|
4102
|
-
referenceObjectId: string;
|
|
4105
|
+
referenceObject: "location" | "panel";
|
|
4106
|
+
referenceObjectId: string | null;
|
|
4107
|
+
propertyId: string | null;
|
|
4103
4108
|
iconLight: string | null;
|
|
4104
4109
|
iconDark: string | null;
|
|
4105
4110
|
utilization: Utilization | null;
|
|
@@ -4128,10 +4133,61 @@ declare namespace JUHUU {
|
|
|
4128
4133
|
type Params = {
|
|
4129
4134
|
propertyId?: string;
|
|
4130
4135
|
invalidAt?: Date | null;
|
|
4136
|
+
referenceObject?: "location" | "panel";
|
|
4137
|
+
referenceObjectId?: string;
|
|
4131
4138
|
};
|
|
4132
4139
|
type Options = JUHUU.RequestOptions;
|
|
4133
4140
|
type Response = JUHUU.Point.Object[];
|
|
4134
4141
|
}
|
|
4142
|
+
export namespace Create {
|
|
4143
|
+
type Params = {
|
|
4144
|
+
propertyId: string;
|
|
4145
|
+
referenceObject: "location" | "panel";
|
|
4146
|
+
referenceObjectId?: string | null;
|
|
4147
|
+
location: GeoPoint;
|
|
4148
|
+
altitudeRange?: [number, number];
|
|
4149
|
+
purposeArray?: Purpose[];
|
|
4150
|
+
iconLight?: string | null;
|
|
4151
|
+
iconDark?: string | null;
|
|
4152
|
+
visualPriority?: VisualPriority;
|
|
4153
|
+
};
|
|
4154
|
+
type Options = JUHUU.RequestOptions;
|
|
4155
|
+
type Response = {
|
|
4156
|
+
point: JUHUU.Point.Object;
|
|
4157
|
+
};
|
|
4158
|
+
}
|
|
4159
|
+
export namespace Retrieve {
|
|
4160
|
+
type Params = {
|
|
4161
|
+
pointId: string;
|
|
4162
|
+
};
|
|
4163
|
+
type Options = JUHUU.RequestOptions;
|
|
4164
|
+
type Response = {
|
|
4165
|
+
point: JUHUU.Point.Object;
|
|
4166
|
+
};
|
|
4167
|
+
}
|
|
4168
|
+
export namespace Update {
|
|
4169
|
+
type Params = {
|
|
4170
|
+
pointId: string;
|
|
4171
|
+
location?: GeoPoint;
|
|
4172
|
+
altitudeRange?: [number, number];
|
|
4173
|
+
purposeArray?: Purpose[];
|
|
4174
|
+
iconLight?: string | null;
|
|
4175
|
+
iconDark?: string | null;
|
|
4176
|
+
visualPriority?: VisualPriority;
|
|
4177
|
+
invalidAt?: Date | null;
|
|
4178
|
+
};
|
|
4179
|
+
type Options = JUHUU.RequestOptions;
|
|
4180
|
+
type Response = {
|
|
4181
|
+
point: JUHUU.Point.Object;
|
|
4182
|
+
};
|
|
4183
|
+
}
|
|
4184
|
+
export namespace Delete {
|
|
4185
|
+
type Params = {
|
|
4186
|
+
pointId: string;
|
|
4187
|
+
};
|
|
4188
|
+
type Options = JUHUU.RequestOptions;
|
|
4189
|
+
type Response = JUHUU.Point.Object;
|
|
4190
|
+
}
|
|
4135
4191
|
export { };
|
|
4136
4192
|
}
|
|
4137
4193
|
namespace Payout {
|
|
@@ -4437,8 +4493,6 @@ declare namespace JUHUU {
|
|
|
4437
4493
|
source: "fluctuo" | null;
|
|
4438
4494
|
rentOfferArray: Offer[];
|
|
4439
4495
|
reservationOfferArray: Offer[];
|
|
4440
|
-
iconLight: string | null;
|
|
4441
|
-
iconDark: string | null;
|
|
4442
4496
|
address: Address | null;
|
|
4443
4497
|
termId: string | null;
|
|
4444
4498
|
timeZone: TimeZone | null;
|
|
@@ -4544,16 +4598,6 @@ declare namespace JUHUU {
|
|
|
4544
4598
|
* Set to null to remove the image
|
|
4545
4599
|
*/
|
|
4546
4600
|
logoDark?: string | null;
|
|
4547
|
-
/**
|
|
4548
|
-
* Base64 encoded image
|
|
4549
|
-
* Set to null to remove the image
|
|
4550
|
-
*/
|
|
4551
|
-
iconLight?: string | null;
|
|
4552
|
-
/**
|
|
4553
|
-
* Base64 encoded image
|
|
4554
|
-
* Set to null to remove the image
|
|
4555
|
-
*/
|
|
4556
|
-
iconDark?: string | null;
|
|
4557
4601
|
};
|
|
4558
4602
|
type Options = JUHUU.RequestOptions;
|
|
4559
4603
|
type Response = {
|
package/dist/index.js
CHANGED
|
@@ -760,7 +760,7 @@ var AuthService = class extends Service {
|
|
|
760
760
|
async setPrimaryEmail(AuthSetPrimaryEmailParams, AuthSetPrimaryEmailOptions) {
|
|
761
761
|
return await super.sendRequest(
|
|
762
762
|
{
|
|
763
|
-
method: "
|
|
763
|
+
method: "PATCH",
|
|
764
764
|
url: "auth/email/primary",
|
|
765
765
|
authenticationNotOptional: true,
|
|
766
766
|
body: {
|
|
@@ -1571,6 +1571,12 @@ var PointsService = class extends Service {
|
|
|
1571
1571
|
queryArray.push("invalidAt=" + PointListParams.invalidAt.toISOString());
|
|
1572
1572
|
}
|
|
1573
1573
|
}
|
|
1574
|
+
if (PointListParams?.referenceObject !== void 0) {
|
|
1575
|
+
queryArray.push("referenceObject=" + PointListParams.referenceObject);
|
|
1576
|
+
}
|
|
1577
|
+
if (PointListParams?.referenceObjectId !== void 0) {
|
|
1578
|
+
queryArray.push("referenceObjectId=" + PointListParams.referenceObjectId);
|
|
1579
|
+
}
|
|
1574
1580
|
return await super.sendRequest(
|
|
1575
1581
|
{
|
|
1576
1582
|
method: "GET",
|
|
@@ -1581,6 +1587,68 @@ var PointsService = class extends Service {
|
|
|
1581
1587
|
PointListOptions
|
|
1582
1588
|
);
|
|
1583
1589
|
}
|
|
1590
|
+
async create(PointCreateParams, PointCreateOptions) {
|
|
1591
|
+
return await super.sendRequest(
|
|
1592
|
+
{
|
|
1593
|
+
method: "POST",
|
|
1594
|
+
url: "points",
|
|
1595
|
+
body: {
|
|
1596
|
+
propertyId: PointCreateParams.propertyId,
|
|
1597
|
+
referenceObject: PointCreateParams.referenceObject,
|
|
1598
|
+
referenceObjectId: PointCreateParams.referenceObjectId,
|
|
1599
|
+
location: PointCreateParams.location,
|
|
1600
|
+
altitudeRange: PointCreateParams.altitudeRange,
|
|
1601
|
+
purposeArray: PointCreateParams.purposeArray,
|
|
1602
|
+
iconLight: PointCreateParams.iconLight,
|
|
1603
|
+
iconDark: PointCreateParams.iconDark,
|
|
1604
|
+
visualPriority: PointCreateParams.visualPriority
|
|
1605
|
+
},
|
|
1606
|
+
authenticationNotOptional: true
|
|
1607
|
+
},
|
|
1608
|
+
PointCreateOptions
|
|
1609
|
+
);
|
|
1610
|
+
}
|
|
1611
|
+
async retrieve(PointRetrieveParams, PointRetrieveOptions) {
|
|
1612
|
+
return await super.sendRequest(
|
|
1613
|
+
{
|
|
1614
|
+
method: "GET",
|
|
1615
|
+
url: "points/" + PointRetrieveParams.pointId,
|
|
1616
|
+
body: void 0,
|
|
1617
|
+
authenticationNotOptional: false
|
|
1618
|
+
},
|
|
1619
|
+
PointRetrieveOptions
|
|
1620
|
+
);
|
|
1621
|
+
}
|
|
1622
|
+
async update(PointUpdateParams, PointUpdateOptions) {
|
|
1623
|
+
return await super.sendRequest(
|
|
1624
|
+
{
|
|
1625
|
+
method: "PATCH",
|
|
1626
|
+
url: "points/" + PointUpdateParams.pointId,
|
|
1627
|
+
body: {
|
|
1628
|
+
location: PointUpdateParams.location,
|
|
1629
|
+
altitudeRange: PointUpdateParams.altitudeRange,
|
|
1630
|
+
purposeArray: PointUpdateParams.purposeArray,
|
|
1631
|
+
iconLight: PointUpdateParams.iconLight,
|
|
1632
|
+
iconDark: PointUpdateParams.iconDark,
|
|
1633
|
+
visualPriority: PointUpdateParams.visualPriority,
|
|
1634
|
+
invalidAt: PointUpdateParams.invalidAt
|
|
1635
|
+
},
|
|
1636
|
+
authenticationNotOptional: true
|
|
1637
|
+
},
|
|
1638
|
+
PointUpdateOptions
|
|
1639
|
+
);
|
|
1640
|
+
}
|
|
1641
|
+
async delete(PointDeleteParams, PointDeleteOptions) {
|
|
1642
|
+
return await super.sendRequest(
|
|
1643
|
+
{
|
|
1644
|
+
method: "DELETE",
|
|
1645
|
+
url: "points/" + PointDeleteParams.pointId,
|
|
1646
|
+
body: void 0,
|
|
1647
|
+
authenticationNotOptional: true
|
|
1648
|
+
},
|
|
1649
|
+
PointDeleteOptions
|
|
1650
|
+
);
|
|
1651
|
+
}
|
|
1584
1652
|
toRadians(degrees) {
|
|
1585
1653
|
return degrees * Math.PI / 180;
|
|
1586
1654
|
}
|
|
@@ -1892,9 +1960,7 @@ var LocationsService = class extends Service {
|
|
|
1892
1960
|
visible: LocationUpdateParams.visible,
|
|
1893
1961
|
termId: LocationUpdateParams.termId,
|
|
1894
1962
|
logoLight: LocationUpdateParams.logoLight,
|
|
1895
|
-
logoDark: LocationUpdateParams.logoDark
|
|
1896
|
-
iconLight: LocationUpdateParams.iconLight,
|
|
1897
|
-
iconDark: LocationUpdateParams.iconDark
|
|
1963
|
+
logoDark: LocationUpdateParams.logoDark
|
|
1898
1964
|
},
|
|
1899
1965
|
authenticationNotOptional: true
|
|
1900
1966
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -716,7 +716,7 @@ var AuthService = class extends Service {
|
|
|
716
716
|
async setPrimaryEmail(AuthSetPrimaryEmailParams, AuthSetPrimaryEmailOptions) {
|
|
717
717
|
return await super.sendRequest(
|
|
718
718
|
{
|
|
719
|
-
method: "
|
|
719
|
+
method: "PATCH",
|
|
720
720
|
url: "auth/email/primary",
|
|
721
721
|
authenticationNotOptional: true,
|
|
722
722
|
body: {
|
|
@@ -1527,6 +1527,12 @@ var PointsService = class extends Service {
|
|
|
1527
1527
|
queryArray.push("invalidAt=" + PointListParams.invalidAt.toISOString());
|
|
1528
1528
|
}
|
|
1529
1529
|
}
|
|
1530
|
+
if (PointListParams?.referenceObject !== void 0) {
|
|
1531
|
+
queryArray.push("referenceObject=" + PointListParams.referenceObject);
|
|
1532
|
+
}
|
|
1533
|
+
if (PointListParams?.referenceObjectId !== void 0) {
|
|
1534
|
+
queryArray.push("referenceObjectId=" + PointListParams.referenceObjectId);
|
|
1535
|
+
}
|
|
1530
1536
|
return await super.sendRequest(
|
|
1531
1537
|
{
|
|
1532
1538
|
method: "GET",
|
|
@@ -1537,6 +1543,68 @@ var PointsService = class extends Service {
|
|
|
1537
1543
|
PointListOptions
|
|
1538
1544
|
);
|
|
1539
1545
|
}
|
|
1546
|
+
async create(PointCreateParams, PointCreateOptions) {
|
|
1547
|
+
return await super.sendRequest(
|
|
1548
|
+
{
|
|
1549
|
+
method: "POST",
|
|
1550
|
+
url: "points",
|
|
1551
|
+
body: {
|
|
1552
|
+
propertyId: PointCreateParams.propertyId,
|
|
1553
|
+
referenceObject: PointCreateParams.referenceObject,
|
|
1554
|
+
referenceObjectId: PointCreateParams.referenceObjectId,
|
|
1555
|
+
location: PointCreateParams.location,
|
|
1556
|
+
altitudeRange: PointCreateParams.altitudeRange,
|
|
1557
|
+
purposeArray: PointCreateParams.purposeArray,
|
|
1558
|
+
iconLight: PointCreateParams.iconLight,
|
|
1559
|
+
iconDark: PointCreateParams.iconDark,
|
|
1560
|
+
visualPriority: PointCreateParams.visualPriority
|
|
1561
|
+
},
|
|
1562
|
+
authenticationNotOptional: true
|
|
1563
|
+
},
|
|
1564
|
+
PointCreateOptions
|
|
1565
|
+
);
|
|
1566
|
+
}
|
|
1567
|
+
async retrieve(PointRetrieveParams, PointRetrieveOptions) {
|
|
1568
|
+
return await super.sendRequest(
|
|
1569
|
+
{
|
|
1570
|
+
method: "GET",
|
|
1571
|
+
url: "points/" + PointRetrieveParams.pointId,
|
|
1572
|
+
body: void 0,
|
|
1573
|
+
authenticationNotOptional: false
|
|
1574
|
+
},
|
|
1575
|
+
PointRetrieveOptions
|
|
1576
|
+
);
|
|
1577
|
+
}
|
|
1578
|
+
async update(PointUpdateParams, PointUpdateOptions) {
|
|
1579
|
+
return await super.sendRequest(
|
|
1580
|
+
{
|
|
1581
|
+
method: "PATCH",
|
|
1582
|
+
url: "points/" + PointUpdateParams.pointId,
|
|
1583
|
+
body: {
|
|
1584
|
+
location: PointUpdateParams.location,
|
|
1585
|
+
altitudeRange: PointUpdateParams.altitudeRange,
|
|
1586
|
+
purposeArray: PointUpdateParams.purposeArray,
|
|
1587
|
+
iconLight: PointUpdateParams.iconLight,
|
|
1588
|
+
iconDark: PointUpdateParams.iconDark,
|
|
1589
|
+
visualPriority: PointUpdateParams.visualPriority,
|
|
1590
|
+
invalidAt: PointUpdateParams.invalidAt
|
|
1591
|
+
},
|
|
1592
|
+
authenticationNotOptional: true
|
|
1593
|
+
},
|
|
1594
|
+
PointUpdateOptions
|
|
1595
|
+
);
|
|
1596
|
+
}
|
|
1597
|
+
async delete(PointDeleteParams, PointDeleteOptions) {
|
|
1598
|
+
return await super.sendRequest(
|
|
1599
|
+
{
|
|
1600
|
+
method: "DELETE",
|
|
1601
|
+
url: "points/" + PointDeleteParams.pointId,
|
|
1602
|
+
body: void 0,
|
|
1603
|
+
authenticationNotOptional: true
|
|
1604
|
+
},
|
|
1605
|
+
PointDeleteOptions
|
|
1606
|
+
);
|
|
1607
|
+
}
|
|
1540
1608
|
toRadians(degrees) {
|
|
1541
1609
|
return degrees * Math.PI / 180;
|
|
1542
1610
|
}
|
|
@@ -1848,9 +1916,7 @@ var LocationsService = class extends Service {
|
|
|
1848
1916
|
visible: LocationUpdateParams.visible,
|
|
1849
1917
|
termId: LocationUpdateParams.termId,
|
|
1850
1918
|
logoLight: LocationUpdateParams.logoLight,
|
|
1851
|
-
logoDark: LocationUpdateParams.logoDark
|
|
1852
|
-
iconLight: LocationUpdateParams.iconLight,
|
|
1853
|
-
iconDark: LocationUpdateParams.iconDark
|
|
1919
|
+
logoDark: LocationUpdateParams.logoDark
|
|
1854
1920
|
},
|
|
1855
1921
|
authenticationNotOptional: true
|
|
1856
1922
|
},
|