@juhuu/sdk-ts 1.2.222 → 1.2.224

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 CHANGED
@@ -1055,6 +1055,7 @@ declare class ParameterAnomalyGroupTrackersService extends Service {
1055
1055
  declare class EmzService extends Service {
1056
1056
  constructor(config: JUHUU.SetupConfig);
1057
1057
  credentials(EmzCredentialsParams: JUHUU.Emz.Credentials.Params, EmzCredentialsOptions?: JUHUU.Emz.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Credentials.Response>>;
1058
+ logs(EmzLogsParams: JUHUU.Emz.Logs.Params, EmzLogsOptions?: JUHUU.Emz.Logs.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Logs.Response>>;
1058
1059
  }
1059
1060
 
1060
1061
  declare class FlowsService extends Service {
@@ -1579,6 +1580,14 @@ declare namespace JUHUU {
1579
1580
  export { };
1580
1581
  }
1581
1582
  namespace Emz {
1583
+ namespace Log {
1584
+ type Object = {
1585
+ id: string;
1586
+ userId: string;
1587
+ logArray: string[];
1588
+ createdAt: Date;
1589
+ };
1590
+ }
1582
1591
  namespace Credentials {
1583
1592
  type Params = {
1584
1593
  deviceId: string;
@@ -1591,6 +1600,16 @@ declare namespace JUHUU {
1591
1600
  emzToken: string;
1592
1601
  };
1593
1602
  }
1603
+ namespace Logs {
1604
+ type Params = {
1605
+ userId: string;
1606
+ logArray: string[];
1607
+ };
1608
+ type Options = JUHUU.RequestOptions;
1609
+ type Response = {
1610
+ emzLog: JUHUU.Emz.Log.Object;
1611
+ };
1612
+ }
1594
1613
  }
1595
1614
  namespace Tapkey {
1596
1615
  namespace Credentials {
@@ -1863,6 +1882,16 @@ declare namespace JUHUU {
1863
1882
  namespace Create {
1864
1883
  type Params = {
1865
1884
  propertyId: string;
1885
+ title?: LocaleString;
1886
+ subtitle?: LocaleString;
1887
+ parentArticleId?: string | null;
1888
+ markdownContent?: LocaleString;
1889
+ status?: "draft" | "published";
1890
+ languageCodeArray?: LanguageCode[];
1891
+ slug?: string;
1892
+ autoTranslateEnabled?: boolean;
1893
+ embeddingsGenerationEnabled?: boolean;
1894
+ articleGroupIdArray?: string[];
1866
1895
  };
1867
1896
  type Options = JUHUU.RequestOptions;
1868
1897
  type Response = {
@@ -2203,7 +2232,7 @@ declare namespace JUHUU {
2203
2232
  type Params = {
2204
2233
  propertyId: string;
2205
2234
  duration?: string;
2206
- name?: string;
2235
+ name?: LocaleString;
2207
2236
  amount?: number[];
2208
2237
  continue?: number;
2209
2238
  currencyCode?: string;
@@ -3006,6 +3035,16 @@ declare namespace JUHUU {
3006
3035
  type Params = {
3007
3036
  propertyId: string;
3008
3037
  name?: string;
3038
+ previewText?: LocaleString;
3039
+ description?: LocaleString;
3040
+ highlightArray?: LocaleString[];
3041
+ purposeArray?: Purpose[];
3042
+ technologyArray?: Technology[];
3043
+ articleId?: string | null;
3044
+ bannerImageDark?: string[];
3045
+ bannerImageLight?: string[];
3046
+ model3d?: string | null;
3047
+ datasheet?: DeepNullable<LocaleString>;
3009
3048
  };
3010
3049
  type Options = JUHUU.RequestOptions;
3011
3050
  type Response = {
@@ -3386,6 +3425,10 @@ declare namespace JUHUU {
3386
3425
  namespace Create {
3387
3426
  type Params = {
3388
3427
  propertyId: string;
3428
+ name?: string;
3429
+ title?: LocaleString;
3430
+ description?: LocaleString;
3431
+ severity?: JUHUU.IncidentTemplate.Object["severity"];
3389
3432
  };
3390
3433
  type Options = JUHUU.RequestOptions;
3391
3434
  type Response = {
@@ -3579,6 +3622,8 @@ declare namespace JUHUU {
3579
3622
  type Params = {
3580
3623
  propertyId: string;
3581
3624
  parameterAnomalyGroupTrackerId?: string;
3625
+ name?: string;
3626
+ featureReferenceParameterIdArray?: JUHUU.ParameterAnomalyGroup.Object["featureReferenceParameterIdArray"];
3582
3627
  };
3583
3628
  type Options = JUHUU.RequestOptions;
3584
3629
  type Response = {
@@ -3779,10 +3824,11 @@ declare namespace JUHUU {
3779
3824
  };
3780
3825
  namespace Create {
3781
3826
  type Params = {
3782
- name: string;
3783
- startNode: FlowBlock;
3784
- nodeArray: FlowBlock[];
3785
- edgeArray: FlowEdge[];
3827
+ propertyId: string;
3828
+ name?: string;
3829
+ startNode?: FlowBlock;
3830
+ nodeArray?: FlowBlock[];
3831
+ edgeArray?: FlowEdge[];
3786
3832
  };
3787
3833
  type Options = JUHUU.RequestOptions;
3788
3834
  type Response = {
package/dist/index.d.ts CHANGED
@@ -1055,6 +1055,7 @@ declare class ParameterAnomalyGroupTrackersService extends Service {
1055
1055
  declare class EmzService extends Service {
1056
1056
  constructor(config: JUHUU.SetupConfig);
1057
1057
  credentials(EmzCredentialsParams: JUHUU.Emz.Credentials.Params, EmzCredentialsOptions?: JUHUU.Emz.Credentials.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Credentials.Response>>;
1058
+ logs(EmzLogsParams: JUHUU.Emz.Logs.Params, EmzLogsOptions?: JUHUU.Emz.Logs.Options): Promise<JUHUU.HttpResponse<JUHUU.Emz.Logs.Response>>;
1058
1059
  }
1059
1060
 
1060
1061
  declare class FlowsService extends Service {
@@ -1579,6 +1580,14 @@ declare namespace JUHUU {
1579
1580
  export { };
1580
1581
  }
1581
1582
  namespace Emz {
1583
+ namespace Log {
1584
+ type Object = {
1585
+ id: string;
1586
+ userId: string;
1587
+ logArray: string[];
1588
+ createdAt: Date;
1589
+ };
1590
+ }
1582
1591
  namespace Credentials {
1583
1592
  type Params = {
1584
1593
  deviceId: string;
@@ -1591,6 +1600,16 @@ declare namespace JUHUU {
1591
1600
  emzToken: string;
1592
1601
  };
1593
1602
  }
1603
+ namespace Logs {
1604
+ type Params = {
1605
+ userId: string;
1606
+ logArray: string[];
1607
+ };
1608
+ type Options = JUHUU.RequestOptions;
1609
+ type Response = {
1610
+ emzLog: JUHUU.Emz.Log.Object;
1611
+ };
1612
+ }
1594
1613
  }
1595
1614
  namespace Tapkey {
1596
1615
  namespace Credentials {
@@ -1863,6 +1882,16 @@ declare namespace JUHUU {
1863
1882
  namespace Create {
1864
1883
  type Params = {
1865
1884
  propertyId: string;
1885
+ title?: LocaleString;
1886
+ subtitle?: LocaleString;
1887
+ parentArticleId?: string | null;
1888
+ markdownContent?: LocaleString;
1889
+ status?: "draft" | "published";
1890
+ languageCodeArray?: LanguageCode[];
1891
+ slug?: string;
1892
+ autoTranslateEnabled?: boolean;
1893
+ embeddingsGenerationEnabled?: boolean;
1894
+ articleGroupIdArray?: string[];
1866
1895
  };
1867
1896
  type Options = JUHUU.RequestOptions;
1868
1897
  type Response = {
@@ -2203,7 +2232,7 @@ declare namespace JUHUU {
2203
2232
  type Params = {
2204
2233
  propertyId: string;
2205
2234
  duration?: string;
2206
- name?: string;
2235
+ name?: LocaleString;
2207
2236
  amount?: number[];
2208
2237
  continue?: number;
2209
2238
  currencyCode?: string;
@@ -3006,6 +3035,16 @@ declare namespace JUHUU {
3006
3035
  type Params = {
3007
3036
  propertyId: string;
3008
3037
  name?: string;
3038
+ previewText?: LocaleString;
3039
+ description?: LocaleString;
3040
+ highlightArray?: LocaleString[];
3041
+ purposeArray?: Purpose[];
3042
+ technologyArray?: Technology[];
3043
+ articleId?: string | null;
3044
+ bannerImageDark?: string[];
3045
+ bannerImageLight?: string[];
3046
+ model3d?: string | null;
3047
+ datasheet?: DeepNullable<LocaleString>;
3009
3048
  };
3010
3049
  type Options = JUHUU.RequestOptions;
3011
3050
  type Response = {
@@ -3386,6 +3425,10 @@ declare namespace JUHUU {
3386
3425
  namespace Create {
3387
3426
  type Params = {
3388
3427
  propertyId: string;
3428
+ name?: string;
3429
+ title?: LocaleString;
3430
+ description?: LocaleString;
3431
+ severity?: JUHUU.IncidentTemplate.Object["severity"];
3389
3432
  };
3390
3433
  type Options = JUHUU.RequestOptions;
3391
3434
  type Response = {
@@ -3579,6 +3622,8 @@ declare namespace JUHUU {
3579
3622
  type Params = {
3580
3623
  propertyId: string;
3581
3624
  parameterAnomalyGroupTrackerId?: string;
3625
+ name?: string;
3626
+ featureReferenceParameterIdArray?: JUHUU.ParameterAnomalyGroup.Object["featureReferenceParameterIdArray"];
3582
3627
  };
3583
3628
  type Options = JUHUU.RequestOptions;
3584
3629
  type Response = {
@@ -3779,10 +3824,11 @@ declare namespace JUHUU {
3779
3824
  };
3780
3825
  namespace Create {
3781
3826
  type Params = {
3782
- name: string;
3783
- startNode: FlowBlock;
3784
- nodeArray: FlowBlock[];
3785
- edgeArray: FlowEdge[];
3827
+ propertyId: string;
3828
+ name?: string;
3829
+ startNode?: FlowBlock;
3830
+ nodeArray?: FlowBlock[];
3831
+ edgeArray?: FlowEdge[];
3786
3832
  };
3787
3833
  type Options = JUHUU.RequestOptions;
3788
3834
  type Response = {
package/dist/index.js CHANGED
@@ -1741,7 +1741,17 @@ var ProductService = class extends Service {
1741
1741
  url: "products",
1742
1742
  body: {
1743
1743
  propertyId: ProductCreateParams.propertyId,
1744
- name: ProductCreateParams.name
1744
+ name: ProductCreateParams.name,
1745
+ previewText: ProductCreateParams.previewText,
1746
+ description: ProductCreateParams.description,
1747
+ highlightArray: ProductCreateParams.highlightArray,
1748
+ purposeArray: ProductCreateParams.purposeArray,
1749
+ technologyArray: ProductCreateParams.technologyArray,
1750
+ articleId: ProductCreateParams.articleId,
1751
+ bannerImageDark: ProductCreateParams.bannerImageDark,
1752
+ bannerImageLight: ProductCreateParams.bannerImageLight,
1753
+ model3d: ProductCreateParams.model3d,
1754
+ datasheet: ProductCreateParams.datasheet
1745
1755
  },
1746
1756
  authenticationNotOptional: true
1747
1757
  },
@@ -2206,7 +2216,17 @@ var ArticlesService = class extends Service {
2206
2216
  method: "POST",
2207
2217
  url: "articles",
2208
2218
  body: {
2209
- propertyId: ArticleCreateParams.propertyId
2219
+ propertyId: ArticleCreateParams.propertyId,
2220
+ title: ArticleCreateParams.title,
2221
+ subtitle: ArticleCreateParams.subtitle,
2222
+ parentArticleId: ArticleCreateParams.parentArticleId,
2223
+ markdownContent: ArticleCreateParams.markdownContent,
2224
+ status: ArticleCreateParams.status,
2225
+ languageCodeArray: ArticleCreateParams.languageCodeArray,
2226
+ slug: ArticleCreateParams.slug,
2227
+ autoTranslateEnabled: ArticleCreateParams.autoTranslateEnabled,
2228
+ embeddingsGenerationEnabled: ArticleCreateParams.embeddingsGenerationEnabled,
2229
+ articleGroupIdArray: ArticleCreateParams.articleGroupIdArray
2210
2230
  },
2211
2231
  authenticationNotOptional: true
2212
2232
  },
@@ -3008,7 +3028,11 @@ var IncidentTemplatesService = class extends Service {
3008
3028
  method: "POST",
3009
3029
  url: "incidentTemplates",
3010
3030
  body: {
3011
- propertyId: IncidentTemplateCreateParams.propertyId
3031
+ propertyId: IncidentTemplateCreateParams.propertyId,
3032
+ name: IncidentTemplateCreateParams.name,
3033
+ title: IncidentTemplateCreateParams.title,
3034
+ description: IncidentTemplateCreateParams.description,
3035
+ severity: IncidentTemplateCreateParams.severity
3012
3036
  },
3013
3037
  authenticationNotOptional: false
3014
3038
  },
@@ -3176,7 +3200,9 @@ var ParameterAnomalyGroupsService = class extends Service {
3176
3200
  url: "parameterAnomalyGroups",
3177
3201
  body: {
3178
3202
  propertyId: ParameterAnomalyGroupCreateParams.propertyId,
3179
- parameterAnomalyGroupTrackerId: ParameterAnomalyGroupCreateParams.parameterAnomalyGroupTrackerId
3203
+ parameterAnomalyGroupTrackerId: ParameterAnomalyGroupCreateParams.parameterAnomalyGroupTrackerId,
3204
+ name: ParameterAnomalyGroupCreateParams.name,
3205
+ featureReferenceParameterIdArray: ParameterAnomalyGroupCreateParams.featureReferenceParameterIdArray
3180
3206
  },
3181
3207
  authenticationNotOptional: true
3182
3208
  },
@@ -3368,6 +3394,21 @@ var EmzService = class extends Service {
3368
3394
  EmzCredentialsOptions
3369
3395
  );
3370
3396
  }
3397
+ async logs(EmzLogsParams, EmzLogsOptions) {
3398
+ const queryArray = [];
3399
+ return await super.sendRequest(
3400
+ {
3401
+ method: "POST",
3402
+ url: "emz/logs",
3403
+ body: {
3404
+ userId: EmzLogsParams.userId,
3405
+ logArray: EmzLogsParams.logArray
3406
+ },
3407
+ authenticationNotOptional: true
3408
+ },
3409
+ EmzLogsOptions
3410
+ );
3411
+ }
3371
3412
  };
3372
3413
 
3373
3414
  // src/flows/flows.service.ts
@@ -3384,7 +3425,8 @@ var FlowsService = class extends Service {
3384
3425
  name: FlowCreateParams.name,
3385
3426
  startNode: FlowCreateParams.startNode,
3386
3427
  nodeArray: FlowCreateParams.nodeArray,
3387
- edgeArray: FlowCreateParams.edgeArray
3428
+ edgeArray: FlowCreateParams.edgeArray,
3429
+ propertyId: FlowCreateParams.propertyId
3388
3430
  },
3389
3431
  authenticationNotOptional: true
3390
3432
  },
package/dist/index.mjs CHANGED
@@ -1697,7 +1697,17 @@ var ProductService = class extends Service {
1697
1697
  url: "products",
1698
1698
  body: {
1699
1699
  propertyId: ProductCreateParams.propertyId,
1700
- name: ProductCreateParams.name
1700
+ name: ProductCreateParams.name,
1701
+ previewText: ProductCreateParams.previewText,
1702
+ description: ProductCreateParams.description,
1703
+ highlightArray: ProductCreateParams.highlightArray,
1704
+ purposeArray: ProductCreateParams.purposeArray,
1705
+ technologyArray: ProductCreateParams.technologyArray,
1706
+ articleId: ProductCreateParams.articleId,
1707
+ bannerImageDark: ProductCreateParams.bannerImageDark,
1708
+ bannerImageLight: ProductCreateParams.bannerImageLight,
1709
+ model3d: ProductCreateParams.model3d,
1710
+ datasheet: ProductCreateParams.datasheet
1701
1711
  },
1702
1712
  authenticationNotOptional: true
1703
1713
  },
@@ -2162,7 +2172,17 @@ var ArticlesService = class extends Service {
2162
2172
  method: "POST",
2163
2173
  url: "articles",
2164
2174
  body: {
2165
- propertyId: ArticleCreateParams.propertyId
2175
+ propertyId: ArticleCreateParams.propertyId,
2176
+ title: ArticleCreateParams.title,
2177
+ subtitle: ArticleCreateParams.subtitle,
2178
+ parentArticleId: ArticleCreateParams.parentArticleId,
2179
+ markdownContent: ArticleCreateParams.markdownContent,
2180
+ status: ArticleCreateParams.status,
2181
+ languageCodeArray: ArticleCreateParams.languageCodeArray,
2182
+ slug: ArticleCreateParams.slug,
2183
+ autoTranslateEnabled: ArticleCreateParams.autoTranslateEnabled,
2184
+ embeddingsGenerationEnabled: ArticleCreateParams.embeddingsGenerationEnabled,
2185
+ articleGroupIdArray: ArticleCreateParams.articleGroupIdArray
2166
2186
  },
2167
2187
  authenticationNotOptional: true
2168
2188
  },
@@ -2964,7 +2984,11 @@ var IncidentTemplatesService = class extends Service {
2964
2984
  method: "POST",
2965
2985
  url: "incidentTemplates",
2966
2986
  body: {
2967
- propertyId: IncidentTemplateCreateParams.propertyId
2987
+ propertyId: IncidentTemplateCreateParams.propertyId,
2988
+ name: IncidentTemplateCreateParams.name,
2989
+ title: IncidentTemplateCreateParams.title,
2990
+ description: IncidentTemplateCreateParams.description,
2991
+ severity: IncidentTemplateCreateParams.severity
2968
2992
  },
2969
2993
  authenticationNotOptional: false
2970
2994
  },
@@ -3132,7 +3156,9 @@ var ParameterAnomalyGroupsService = class extends Service {
3132
3156
  url: "parameterAnomalyGroups",
3133
3157
  body: {
3134
3158
  propertyId: ParameterAnomalyGroupCreateParams.propertyId,
3135
- parameterAnomalyGroupTrackerId: ParameterAnomalyGroupCreateParams.parameterAnomalyGroupTrackerId
3159
+ parameterAnomalyGroupTrackerId: ParameterAnomalyGroupCreateParams.parameterAnomalyGroupTrackerId,
3160
+ name: ParameterAnomalyGroupCreateParams.name,
3161
+ featureReferenceParameterIdArray: ParameterAnomalyGroupCreateParams.featureReferenceParameterIdArray
3136
3162
  },
3137
3163
  authenticationNotOptional: true
3138
3164
  },
@@ -3324,6 +3350,21 @@ var EmzService = class extends Service {
3324
3350
  EmzCredentialsOptions
3325
3351
  );
3326
3352
  }
3353
+ async logs(EmzLogsParams, EmzLogsOptions) {
3354
+ const queryArray = [];
3355
+ return await super.sendRequest(
3356
+ {
3357
+ method: "POST",
3358
+ url: "emz/logs",
3359
+ body: {
3360
+ userId: EmzLogsParams.userId,
3361
+ logArray: EmzLogsParams.logArray
3362
+ },
3363
+ authenticationNotOptional: true
3364
+ },
3365
+ EmzLogsOptions
3366
+ );
3367
+ }
3327
3368
  };
3328
3369
 
3329
3370
  // src/flows/flows.service.ts
@@ -3340,7 +3381,8 @@ var FlowsService = class extends Service {
3340
3381
  name: FlowCreateParams.name,
3341
3382
  startNode: FlowCreateParams.startNode,
3342
3383
  nodeArray: FlowCreateParams.nodeArray,
3343
- edgeArray: FlowCreateParams.edgeArray
3384
+ edgeArray: FlowCreateParams.edgeArray,
3385
+ propertyId: FlowCreateParams.propertyId
3344
3386
  },
3345
3387
  authenticationNotOptional: true
3346
3388
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juhuu/sdk-ts",
3
- "version": "1.2.222",
3
+ "version": "1.2.224",
4
4
  "description": "Typescript wrapper for JUHUU services",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",