@juhuu/sdk-ts 1.2.79 → 1.2.80
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 +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -10,6 +10,7 @@ type PushToken = {
|
|
10
10
|
type ExtractType<T> = T extends {
|
11
11
|
type: infer U;
|
12
12
|
} ? U : never;
|
13
|
+
type UserGroup = "retailer" | "engineer" | "operator" | "user";
|
13
14
|
interface Offer {
|
14
15
|
tariffId: string;
|
15
16
|
licenseTemplateIdArray: string[];
|
@@ -1138,6 +1139,7 @@ declare namespace JUHUU {
|
|
1138
1139
|
billingAddress?: DeepNullable<Address>;
|
1139
1140
|
vat?: string | null;
|
1140
1141
|
acceptedTermIdArray?: string[];
|
1142
|
+
group?: UserGroup;
|
1141
1143
|
};
|
1142
1144
|
type Options = JUHUU.RequestOptions;
|
1143
1145
|
type Response = {
|
@@ -1529,7 +1531,7 @@ declare namespace JUHUU {
|
|
1529
1531
|
namespace Update {
|
1530
1532
|
type Params = {
|
1531
1533
|
chatId: string;
|
1532
|
-
title?: string;
|
1534
|
+
title?: string | null;
|
1533
1535
|
};
|
1534
1536
|
type Options = JUHUU.RequestOptions;
|
1535
1537
|
type Response = {
|
@@ -1575,10 +1577,9 @@ declare namespace JUHUU {
|
|
1575
1577
|
context: {
|
1576
1578
|
imageArray?: string[];
|
1577
1579
|
articleIdArray?: string[];
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
tariffIdArray?: string[];
|
1580
|
+
ownerPropertyId?: string;
|
1581
|
+
userName?: string;
|
1582
|
+
userGroup: UserGroup;
|
1582
1583
|
} | null;
|
1583
1584
|
};
|
1584
1585
|
export interface UserChatMessage extends Base {
|
@@ -2678,4 +2679,4 @@ declare namespace JUHUU {
|
|
2678
2679
|
}
|
2679
2680
|
}
|
2680
2681
|
|
2681
|
-
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
2682
|
+
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
package/dist/index.d.ts
CHANGED
@@ -10,6 +10,7 @@ type PushToken = {
|
|
10
10
|
type ExtractType<T> = T extends {
|
11
11
|
type: infer U;
|
12
12
|
} ? U : never;
|
13
|
+
type UserGroup = "retailer" | "engineer" | "operator" | "user";
|
13
14
|
interface Offer {
|
14
15
|
tariffId: string;
|
15
16
|
licenseTemplateIdArray: string[];
|
@@ -1138,6 +1139,7 @@ declare namespace JUHUU {
|
|
1138
1139
|
billingAddress?: DeepNullable<Address>;
|
1139
1140
|
vat?: string | null;
|
1140
1141
|
acceptedTermIdArray?: string[];
|
1142
|
+
group?: UserGroup;
|
1141
1143
|
};
|
1142
1144
|
type Options = JUHUU.RequestOptions;
|
1143
1145
|
type Response = {
|
@@ -1529,7 +1531,7 @@ declare namespace JUHUU {
|
|
1529
1531
|
namespace Update {
|
1530
1532
|
type Params = {
|
1531
1533
|
chatId: string;
|
1532
|
-
title?: string;
|
1534
|
+
title?: string | null;
|
1533
1535
|
};
|
1534
1536
|
type Options = JUHUU.RequestOptions;
|
1535
1537
|
type Response = {
|
@@ -1575,10 +1577,9 @@ declare namespace JUHUU {
|
|
1575
1577
|
context: {
|
1576
1578
|
imageArray?: string[];
|
1577
1579
|
articleIdArray?: string[];
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
tariffIdArray?: string[];
|
1580
|
+
ownerPropertyId?: string;
|
1581
|
+
userName?: string;
|
1582
|
+
userGroup: UserGroup;
|
1582
1583
|
} | null;
|
1583
1584
|
};
|
1584
1585
|
export interface UserChatMessage extends Base {
|
@@ -2678,4 +2679,4 @@ declare namespace JUHUU {
|
|
2678
2679
|
}
|
2679
2680
|
}
|
2680
2681
|
|
2681
|
-
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
2682
|
+
export { type AccessControlListElement, type Address, type AutoRenewMode, type BusinessType, type Category, type Circumstance, type Color, type ColorScheme, type Command, type Condition, ConditionType, type CountryCode, CountryCodeArray, type CurrencyCode, CurrencyCodeArray, type CustomClaims, type DeepNullable, type DevicePermission, type DeviceStatus, type DeviceType, type Environment, type EnvironmentSettings, type ExtractType, type FuelType, type GeneralSettings, type GeoPoint, type GraphNode, JUHUU, Juhuu, type LanguageCode, LanguageCodeArray, Layout, type LayoutBlock, type LicenseTariffIdMap, type LinkType, type LocaleString, type MapFilter, type Modality, type Offer, type OfferTime, type Parameter, type Party, type PaymentMethod, type PaymentReason, type PaymentServiceProvider, type PaymentStatus, type PayoutSettings, type PayoutStatus, type PermissionTypes, type Person, type Platform, type PlatformUrl, type PostingRow, type Purpose, type PushToken, ReadonlyCategoryArray, ReadonlyModalityArray, ReadonlySectorArray, type RefundReason, type RefundStatus, type Sector, type SessionCannotTerminateReason, type SessionSettings, type SessionStatus, type SessionTerminatedByType, type SessionType, Settings, type SimStatus, type StarRating, type TarifType, type TimeZone, type Unit, type UserGroup, type UserType, type Utilization, type VeloBrushDeviceDocumentUserManualStep, type Viewport, type ViewportPolygon, type VisualPriority, type hexColor };
|
package/dist/index.js
CHANGED
@@ -628,7 +628,8 @@ var UsersService = class extends Service {
|
|
628
628
|
appVersion: UserUpdateParams?.appVersion,
|
629
629
|
billingAddress: UserUpdateParams?.billingAddress,
|
630
630
|
vat: UserUpdateParams?.vat,
|
631
|
-
acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray
|
631
|
+
acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray,
|
632
|
+
group: UserUpdateParams?.group
|
632
633
|
},
|
633
634
|
authenticationNotOptional: true
|
634
635
|
},
|
@@ -2143,7 +2144,8 @@ var ChatMessagesService = class extends Service {
|
|
2143
2144
|
body: {
|
2144
2145
|
chatId: ChatMessageCreateParams.chatId,
|
2145
2146
|
message: ChatMessageCreateParams.message,
|
2146
|
-
userId: ChatMessageCreateParams.userId
|
2147
|
+
userId: ChatMessageCreateParams.userId,
|
2148
|
+
context: ChatMessageCreateParams.context
|
2147
2149
|
},
|
2148
2150
|
authenticationNotOptional: true
|
2149
2151
|
},
|
package/dist/index.mjs
CHANGED
@@ -584,7 +584,8 @@ var UsersService = class extends Service {
|
|
584
584
|
appVersion: UserUpdateParams?.appVersion,
|
585
585
|
billingAddress: UserUpdateParams?.billingAddress,
|
586
586
|
vat: UserUpdateParams?.vat,
|
587
|
-
acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray
|
587
|
+
acceptedTermIdArray: UserUpdateParams?.acceptedTermIdArray,
|
588
|
+
group: UserUpdateParams?.group
|
588
589
|
},
|
589
590
|
authenticationNotOptional: true
|
590
591
|
},
|
@@ -2099,7 +2100,8 @@ var ChatMessagesService = class extends Service {
|
|
2099
2100
|
body: {
|
2100
2101
|
chatId: ChatMessageCreateParams.chatId,
|
2101
2102
|
message: ChatMessageCreateParams.message,
|
2102
|
-
userId: ChatMessageCreateParams.userId
|
2103
|
+
userId: ChatMessageCreateParams.userId,
|
2104
|
+
context: ChatMessageCreateParams.context
|
2103
2105
|
},
|
2104
2106
|
authenticationNotOptional: true
|
2105
2107
|
},
|