@juhuu/sdk-ts 1.2.79 → 1.2.81
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 +11 -6
- package/dist/index.d.ts +11 -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,8 @@ 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";
|
14
|
+
type Frontend = "dashbaoard" | "app";
|
13
15
|
interface Offer {
|
14
16
|
tariffId: string;
|
15
17
|
licenseTemplateIdArray: string[];
|
@@ -1091,6 +1093,7 @@ declare namespace JUHUU {
|
|
1091
1093
|
pushTokenArray: PushToken[];
|
1092
1094
|
};
|
1093
1095
|
};
|
1096
|
+
group: UserGroup;
|
1094
1097
|
};
|
1095
1098
|
export interface Standard extends Base {
|
1096
1099
|
type: "standard";
|
@@ -1138,6 +1141,7 @@ declare namespace JUHUU {
|
|
1138
1141
|
billingAddress?: DeepNullable<Address>;
|
1139
1142
|
vat?: string | null;
|
1140
1143
|
acceptedTermIdArray?: string[];
|
1144
|
+
group?: UserGroup;
|
1141
1145
|
};
|
1142
1146
|
type Options = JUHUU.RequestOptions;
|
1143
1147
|
type Response = {
|
@@ -1529,7 +1533,7 @@ declare namespace JUHUU {
|
|
1529
1533
|
namespace Update {
|
1530
1534
|
type Params = {
|
1531
1535
|
chatId: string;
|
1532
|
-
title?: string;
|
1536
|
+
title?: string | null;
|
1533
1537
|
};
|
1534
1538
|
type Options = JUHUU.RequestOptions;
|
1535
1539
|
type Response = {
|
@@ -1575,10 +1579,11 @@ declare namespace JUHUU {
|
|
1575
1579
|
context: {
|
1576
1580
|
imageArray?: string[];
|
1577
1581
|
articleIdArray?: string[];
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
+
ownerPropertyId?: string;
|
1583
|
+
userName?: string;
|
1584
|
+
userGroup?: UserGroup;
|
1585
|
+
platform?: Platform;
|
1586
|
+
frontend?: Frontend;
|
1582
1587
|
} | null;
|
1583
1588
|
};
|
1584
1589
|
export interface UserChatMessage extends Base {
|
@@ -2678,4 +2683,4 @@ declare namespace JUHUU {
|
|
2678
2683
|
}
|
2679
2684
|
}
|
2680
2685
|
|
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 };
|
2686
|
+
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 Frontend, 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,8 @@ 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";
|
14
|
+
type Frontend = "dashbaoard" | "app";
|
13
15
|
interface Offer {
|
14
16
|
tariffId: string;
|
15
17
|
licenseTemplateIdArray: string[];
|
@@ -1091,6 +1093,7 @@ declare namespace JUHUU {
|
|
1091
1093
|
pushTokenArray: PushToken[];
|
1092
1094
|
};
|
1093
1095
|
};
|
1096
|
+
group: UserGroup;
|
1094
1097
|
};
|
1095
1098
|
export interface Standard extends Base {
|
1096
1099
|
type: "standard";
|
@@ -1138,6 +1141,7 @@ declare namespace JUHUU {
|
|
1138
1141
|
billingAddress?: DeepNullable<Address>;
|
1139
1142
|
vat?: string | null;
|
1140
1143
|
acceptedTermIdArray?: string[];
|
1144
|
+
group?: UserGroup;
|
1141
1145
|
};
|
1142
1146
|
type Options = JUHUU.RequestOptions;
|
1143
1147
|
type Response = {
|
@@ -1529,7 +1533,7 @@ declare namespace JUHUU {
|
|
1529
1533
|
namespace Update {
|
1530
1534
|
type Params = {
|
1531
1535
|
chatId: string;
|
1532
|
-
title?: string;
|
1536
|
+
title?: string | null;
|
1533
1537
|
};
|
1534
1538
|
type Options = JUHUU.RequestOptions;
|
1535
1539
|
type Response = {
|
@@ -1575,10 +1579,11 @@ declare namespace JUHUU {
|
|
1575
1579
|
context: {
|
1576
1580
|
imageArray?: string[];
|
1577
1581
|
articleIdArray?: string[];
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
+
ownerPropertyId?: string;
|
1583
|
+
userName?: string;
|
1584
|
+
userGroup?: UserGroup;
|
1585
|
+
platform?: Platform;
|
1586
|
+
frontend?: Frontend;
|
1582
1587
|
} | null;
|
1583
1588
|
};
|
1584
1589
|
export interface UserChatMessage extends Base {
|
@@ -2678,4 +2683,4 @@ declare namespace JUHUU {
|
|
2678
2683
|
}
|
2679
2684
|
}
|
2680
2685
|
|
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 };
|
2686
|
+
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 Frontend, 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
|
},
|