jamespot-user-api 1.0.192 → 1.0.194

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 (63) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +14 -14
  3. package/documentation/classes/AdminStoreApi.html +1 -1
  4. package/documentation/classes/AdminUtilsApi.html +1 -1
  5. package/documentation/classes/JApplicationApi.html +8 -8
  6. package/documentation/classes/JArticleApi.html +1 -1
  7. package/documentation/classes/JAssetReservation.html +1 -1
  8. package/documentation/classes/JAudienceApi.html +1 -1
  9. package/documentation/classes/JBaseApi.html +1 -1
  10. package/documentation/classes/JBbbApi.html +1 -1
  11. package/documentation/classes/JBookmarkApi.html +1 -1
  12. package/documentation/classes/JBusinessNetworkingApi.html +1 -1
  13. package/documentation/classes/JCommunityApi.html +1 -1
  14. package/documentation/classes/JDatasourceApi.html +1 -1
  15. package/documentation/classes/JDiapazoneApi.html +1 -1
  16. package/documentation/classes/JFaqApi.html +1 -1
  17. package/documentation/classes/JFileApi.html +5 -5
  18. package/documentation/classes/JFilebankApi.html +1 -1
  19. package/documentation/classes/JGlobalApi.html +1 -1
  20. package/documentation/classes/JGroupApi.html +12 -12
  21. package/documentation/classes/JIAApi.html +1 -1
  22. package/documentation/classes/JLandApi.html +1 -1
  23. package/documentation/classes/JMessengerApi.html +1 -1
  24. package/documentation/classes/JObjectApi.html +1 -1
  25. package/documentation/classes/JSearchApi.html +6 -6
  26. package/documentation/classes/JShareApi.html +1 -1
  27. package/documentation/classes/JSocialActionApi.html +1 -1
  28. package/documentation/classes/JTaxonomyApi.html +2 -2
  29. package/documentation/classes/JUserApi.html +7 -7
  30. package/documentation/classes/JWedocApi.html +1 -1
  31. package/documentation/classes/JWidgetApi.html +1 -1
  32. package/documentation/classes/JamespotUserApi.html +1 -1
  33. package/documentation/classes/Network.html +1 -1
  34. package/documentation/classes/TVDisplayApi.html +1 -1
  35. package/documentation/classes/WindowBrowser.html +1 -1
  36. package/documentation/enums/BookmarkType.html +1 -1
  37. package/documentation/enums/Format.html +1 -1
  38. package/documentation/enums/GroupModerateStatus.html +1 -1
  39. package/documentation/enums/StudioApplicationStatus.html +1 -1
  40. package/documentation/enums/WidgetsName.html +1 -1
  41. package/documentation/index.html +1 -1
  42. package/documentation/interfaces/AccessRightObject.html +1 -1
  43. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  44. package/documentation/interfaces/ApiWrapper.html +1 -1
  45. package/documentation/interfaces/BaseMessage.html +1 -1
  46. package/documentation/interfaces/FileBankProps.html +1 -1
  47. package/documentation/interfaces/FolderProps.html +1 -1
  48. package/documentation/interfaces/ListFilterSpec.html +1 -1
  49. package/documentation/interfaces/OF.html +1 -1
  50. package/documentation/interfaces/PagingResults.html +1 -1
  51. package/documentation/interfaces/RootFolderProps.html +1 -1
  52. package/documentation/interfaces/SpotProps.html +1 -1
  53. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  54. package/documentation/interfaces/WidgetType.html +1 -1
  55. package/documentation/interfaces/WindowInterface.html +1 -1
  56. package/documentation/modules.html +11 -11
  57. package/lib/jamespot-user-api.js +1 -1
  58. package/lib/jamespot-user-api.js.map +1 -1
  59. package/lib/src/types/model.d.ts +14 -0
  60. package/lib/src/types/widgets.d.ts +8 -0
  61. package/package.json +3 -3
  62. package/phpunitMock/tvDisplayGetChannel-dynamic.json +367 -214
  63. package/phpunitMock/tvDisplayGetConfigureChannel-dynamic.json +19 -0
@@ -307,6 +307,14 @@ export declare const widgetTelSchema: z.ZodObject<{
307
307
  type: "tel";
308
308
  }>;
309
309
  export type WidgetTel = z.infer<typeof widgetTelSchema>;
310
+ export declare const widgetToggleSchema: z.ZodObject<{
311
+ type: z.ZodLiteral<"toggle">;
312
+ }, "strip", z.ZodTypeAny, {
313
+ type: "toggle";
314
+ }, {
315
+ type: "toggle";
316
+ }>;
317
+ export type WidgetToggle = z.infer<typeof widgetToggleSchema>;
310
318
  export declare const widgetOrientedlinksSchema: z.ZodObject<{
311
319
  type: z.ZodLiteral<"orientedlinks">;
312
320
  params: z.ZodObject<{
@@ -618,6 +626,12 @@ export declare const widgetSchema: z.ZodUnion<[z.ZodObject<{
618
626
  type: "tel";
619
627
  }, {
620
628
  type: "tel";
629
+ }>, z.ZodObject<{
630
+ type: z.ZodLiteral<"toggle">;
631
+ }, "strip", z.ZodTypeAny, {
632
+ type: "toggle";
633
+ }, {
634
+ type: "toggle";
621
635
  }>, z.ZodObject<{
622
636
  type: z.ZodLiteral<"place">;
623
637
  options: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -2710,6 +2710,7 @@ export declare const widgetsStateSchema: z.ZodObject<{
2710
2710
  dateCreation: z.ZodOptional<z.ZodString>;
2711
2711
  dateModified: z.ZodOptional<z.ZodString>;
2712
2712
  }, z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, "strip">>>;
2713
+ flushedWidgets: z.ZodArray<z.ZodString, "many">;
2713
2714
  rtObjectStack: z.ZodArray<z.ZodObject<{
2714
2715
  uniqid: z.ZodString;
2715
2716
  object: z.ZodObject<z.objectUtil.extendShape<{
@@ -2890,6 +2891,7 @@ export declare const widgetsStateSchema: z.ZodObject<{
2890
2891
  dateCreation: z.ZodOptional<z.ZodString>;
2891
2892
  dateModified: z.ZodOptional<z.ZodString>;
2892
2893
  }, z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, "strip">>;
2894
+ flushedWidgets: string[];
2893
2895
  rtObjectStack: {
2894
2896
  object: import("./objectBase").jObjectBase & {
2895
2897
  title: string;
@@ -3057,6 +3059,7 @@ export declare const widgetsStateSchema: z.ZodObject<{
3057
3059
  dateCreation: z.ZodOptional<z.ZodString>;
3058
3060
  dateModified: z.ZodOptional<z.ZodString>;
3059
3061
  }, z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, "strip">>;
3062
+ flushedWidgets: string[];
3060
3063
  rtObjectStack: {
3061
3064
  object: import("./objectBase").jObjectBase & {
3062
3065
  title: string;
@@ -3750,6 +3753,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
3750
3753
  dateCreation: z.ZodOptional<z.ZodString>;
3751
3754
  dateModified: z.ZodOptional<z.ZodString>;
3752
3755
  }, z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, "strip">>>;
3756
+ flushedWidgets: z.ZodArray<z.ZodString, "many">;
3753
3757
  rtObjectStack: z.ZodArray<z.ZodObject<{
3754
3758
  uniqid: z.ZodString;
3755
3759
  object: z.ZodObject<z.objectUtil.extendShape<{
@@ -3930,6 +3934,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
3930
3934
  dateCreation: z.ZodOptional<z.ZodString>;
3931
3935
  dateModified: z.ZodOptional<z.ZodString>;
3932
3936
  }, z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, "strip">>;
3937
+ flushedWidgets: string[];
3933
3938
  rtObjectStack: {
3934
3939
  object: import("./objectBase").jObjectBase & {
3935
3940
  title: string;
@@ -4097,6 +4102,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
4097
4102
  dateCreation: z.ZodOptional<z.ZodString>;
4098
4103
  dateModified: z.ZodOptional<z.ZodString>;
4099
4104
  }, z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, "strip">>;
4105
+ flushedWidgets: string[];
4100
4106
  rtObjectStack: {
4101
4107
  object: import("./objectBase").jObjectBase & {
4102
4108
  title: string;
@@ -4266,6 +4272,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
4266
4272
  dateCreation: z.ZodOptional<z.ZodString>;
4267
4273
  dateModified: z.ZodOptional<z.ZodString>;
4268
4274
  }, z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, "strip">>;
4275
+ flushedWidgets: string[];
4269
4276
  rtObjectStack: {
4270
4277
  object: import("./objectBase").jObjectBase & {
4271
4278
  title: string;
@@ -4435,6 +4442,7 @@ export declare const widgetsRootStateSchema: z.ZodObject<{
4435
4442
  dateCreation: z.ZodOptional<z.ZodString>;
4436
4443
  dateModified: z.ZodOptional<z.ZodString>;
4437
4444
  }, z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, "strip">>;
4445
+ flushedWidgets: string[];
4438
4446
  rtObjectStack: {
4439
4447
  object: import("./objectBase").jObjectBase & {
4440
4448
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-user-api",
3
- "version": "1.0.192",
3
+ "version": "1.0.194",
4
4
  "main": "lib/jamespot-user-api.js",
5
5
  "types": "lib/src/index.d.ts",
6
6
  "directories": {
@@ -75,7 +75,7 @@
75
75
  "lint:fix": "npx eslint ./src/ --ext .ts,.tsx --fix ",
76
76
  "lint:ci": "eslint --output-file eslint_report.json --format json . --ext .ts,.js --max-warnings=0",
77
77
  "doc": "npx typedoc",
78
- "test": "jest",
79
- "test:mockVM": "jest -c ./jest.config.vm.ts"
78
+ "test": "jest --runInBand",
79
+ "test:mockVM": "jest -c ./jest.config.vm.ts --runInBand"
80
80
  }
81
81
  }