@sofie-automation/openapi 1.51.5 → 1.52.0-in-testing.0

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 (114) hide show
  1. package/api/actions.yaml +7 -0
  2. package/api/definitions/playlists.yaml +10 -3
  3. package/api/definitions/showstyles.yaml +111 -0
  4. package/api/definitions/snapshots.yaml +157 -0
  5. package/api/definitions/studios.yaml +93 -0
  6. package/dist/client/ts/apis/ShowstylesApi.d.ts +26 -1
  7. package/dist/client/ts/apis/ShowstylesApi.d.ts.map +1 -1
  8. package/dist/client/ts/apis/ShowstylesApi.js +50 -0
  9. package/dist/client/ts/apis/ShowstylesApi.js.map +1 -1
  10. package/dist/client/ts/apis/SnapshotsApi.d.ts +31 -0
  11. package/dist/client/ts/apis/SnapshotsApi.d.ts.map +1 -0
  12. package/dist/client/ts/apis/SnapshotsApi.js +57 -0
  13. package/dist/client/ts/apis/SnapshotsApi.js.map +1 -0
  14. package/dist/client/ts/apis/StudiosApi.d.ts +26 -1
  15. package/dist/client/ts/apis/StudiosApi.d.ts.map +1 -1
  16. package/dist/client/ts/apis/StudiosApi.js +50 -0
  17. package/dist/client/ts/apis/StudiosApi.js.map +1 -1
  18. package/dist/client/ts/apis/index.d.ts +1 -0
  19. package/dist/client/ts/apis/index.d.ts.map +1 -1
  20. package/dist/client/ts/apis/index.js +1 -0
  21. package/dist/client/ts/apis/index.js.map +1 -1
  22. package/dist/client/ts/models/AttachDeviceRequest.d.ts +6 -0
  23. package/dist/client/ts/models/AttachDeviceRequest.d.ts.map +1 -1
  24. package/dist/client/ts/models/AttachDeviceRequest.js +3 -0
  25. package/dist/client/ts/models/AttachDeviceRequest.js.map +1 -1
  26. package/dist/client/ts/models/ExecuteAdLibRequest.d.ts +9 -3
  27. package/dist/client/ts/models/ExecuteAdLibRequest.d.ts.map +1 -1
  28. package/dist/client/ts/models/ExecuteAdLibRequest.js +4 -2
  29. package/dist/client/ts/models/ExecuteAdLibRequest.js.map +1 -1
  30. package/dist/client/ts/models/GetShowStyleConfig200Response.d.ts +39 -0
  31. package/dist/client/ts/models/GetShowStyleConfig200Response.d.ts.map +1 -0
  32. package/dist/client/ts/models/GetShowStyleConfig200Response.js +54 -0
  33. package/dist/client/ts/models/GetShowStyleConfig200Response.js.map +1 -0
  34. package/dist/client/ts/models/GetShowStyleConfig200ResponseResult.d.ts +33 -0
  35. package/dist/client/ts/models/GetShowStyleConfig200ResponseResult.d.ts.map +1 -0
  36. package/dist/client/ts/models/GetShowStyleConfig200ResponseResult.js +53 -0
  37. package/dist/client/ts/models/GetShowStyleConfig200ResponseResult.js.map +1 -0
  38. package/dist/client/ts/models/GetStudioConfig200Response.d.ts +39 -0
  39. package/dist/client/ts/models/GetStudioConfig200Response.d.ts.map +1 -0
  40. package/dist/client/ts/models/GetStudioConfig200Response.js +54 -0
  41. package/dist/client/ts/models/GetStudioConfig200Response.js.map +1 -0
  42. package/dist/client/ts/models/GetStudioConfig200ResponseResult.d.ts +33 -0
  43. package/dist/client/ts/models/GetStudioConfig200ResponseResult.d.ts.map +1 -0
  44. package/dist/client/ts/models/GetStudioConfig200ResponseResult.js +53 -0
  45. package/dist/client/ts/models/GetStudioConfig200ResponseResult.js.map +1 -0
  46. package/dist/client/ts/models/MoveNextSegmentRequest.d.ts +6 -0
  47. package/dist/client/ts/models/MoveNextSegmentRequest.d.ts.map +1 -1
  48. package/dist/client/ts/models/MoveNextSegmentRequest.js +3 -0
  49. package/dist/client/ts/models/MoveNextSegmentRequest.js.map +1 -1
  50. package/dist/client/ts/models/ShowStyleBase.d.ts +3 -3
  51. package/dist/client/ts/models/ShowStyleBase.d.ts.map +1 -1
  52. package/dist/client/ts/models/ShowStyleBase.js +3 -3
  53. package/dist/client/ts/models/ShowStyleBase.js.map +1 -1
  54. package/dist/client/ts/models/ShowStyleVariant.d.ts +3 -3
  55. package/dist/client/ts/models/ShowStyleVariant.d.ts.map +1 -1
  56. package/dist/client/ts/models/ShowStyleVariant.js +3 -3
  57. package/dist/client/ts/models/ShowStyleVariant.js.map +1 -1
  58. package/dist/client/ts/models/StorePlaylistSnapshotRequestBody.d.ts +45 -0
  59. package/dist/client/ts/models/StorePlaylistSnapshotRequestBody.d.ts.map +1 -0
  60. package/dist/client/ts/models/StorePlaylistSnapshotRequestBody.js +59 -0
  61. package/dist/client/ts/models/StorePlaylistSnapshotRequestBody.js.map +1 -0
  62. package/dist/client/ts/models/StorePlaylistSnapshotRequestBodyAllOf.d.ts +44 -0
  63. package/dist/client/ts/models/StorePlaylistSnapshotRequestBodyAllOf.d.ts.map +1 -0
  64. package/dist/client/ts/models/StorePlaylistSnapshotRequestBodyAllOf.js +56 -0
  65. package/dist/client/ts/models/StorePlaylistSnapshotRequestBodyAllOf.js.map +1 -0
  66. package/dist/client/ts/models/StoreSnapshot200Response.d.ts +38 -0
  67. package/dist/client/ts/models/StoreSnapshot200Response.d.ts.map +1 -0
  68. package/dist/client/ts/models/StoreSnapshot200Response.js +53 -0
  69. package/dist/client/ts/models/StoreSnapshot200Response.js.map +1 -0
  70. package/dist/client/ts/models/StoreSnapshot422Response.d.ts +38 -0
  71. package/dist/client/ts/models/StoreSnapshot422Response.d.ts.map +1 -0
  72. package/dist/client/ts/models/StoreSnapshot422Response.js +54 -0
  73. package/dist/client/ts/models/StoreSnapshot422Response.js.map +1 -0
  74. package/dist/client/ts/models/StoreSnapshot429Response.d.ts +38 -0
  75. package/dist/client/ts/models/StoreSnapshot429Response.d.ts.map +1 -0
  76. package/dist/client/ts/models/StoreSnapshot429Response.js +54 -0
  77. package/dist/client/ts/models/StoreSnapshot429Response.js.map +1 -0
  78. package/dist/client/ts/models/StoreSnapshotRequest.d.ts +27 -0
  79. package/dist/client/ts/models/StoreSnapshotRequest.d.ts.map +1 -0
  80. package/dist/client/ts/models/StoreSnapshotRequest.js +54 -0
  81. package/dist/client/ts/models/StoreSnapshotRequest.js.map +1 -0
  82. package/dist/client/ts/models/StoreSnapshotRequestBody.d.ts +44 -0
  83. package/dist/client/ts/models/StoreSnapshotRequestBody.d.ts.map +1 -0
  84. package/dist/client/ts/models/StoreSnapshotRequestBody.js +66 -0
  85. package/dist/client/ts/models/StoreSnapshotRequestBody.js.map +1 -0
  86. package/dist/client/ts/models/StoreSystemSnapshotRequestBody.d.ts +33 -0
  87. package/dist/client/ts/models/StoreSystemSnapshotRequestBody.d.ts.map +1 -0
  88. package/dist/client/ts/models/StoreSystemSnapshotRequestBody.js +54 -0
  89. package/dist/client/ts/models/StoreSystemSnapshotRequestBody.js.map +1 -0
  90. package/dist/client/ts/models/StoreSystemSnapshotRequestBodyAllOf.d.ts +32 -0
  91. package/dist/client/ts/models/StoreSystemSnapshotRequestBodyAllOf.d.ts.map +1 -0
  92. package/dist/client/ts/models/StoreSystemSnapshotRequestBodyAllOf.js +51 -0
  93. package/dist/client/ts/models/StoreSystemSnapshotRequestBodyAllOf.js.map +1 -0
  94. package/dist/client/ts/models/Studio.d.ts +3 -3
  95. package/dist/client/ts/models/Studio.d.ts.map +1 -1
  96. package/dist/client/ts/models/Studio.js +3 -3
  97. package/dist/client/ts/models/Studio.js.map +1 -1
  98. package/dist/client/ts/models/StudioSettings.d.ts +45 -0
  99. package/dist/client/ts/models/StudioSettings.d.ts.map +1 -1
  100. package/dist/client/ts/models/StudioSettings.js +21 -1
  101. package/dist/client/ts/models/StudioSettings.js.map +1 -1
  102. package/dist/client/ts/models/index.d.ts +13 -2
  103. package/dist/client/ts/models/index.d.ts.map +1 -1
  104. package/dist/client/ts/models/index.js +13 -2
  105. package/dist/client/ts/models/index.js.map +1 -1
  106. package/package.json +6 -6
  107. package/dist/client/ts/models/ShowStyleBaseConfig.d.ts +0 -33
  108. package/dist/client/ts/models/ShowStyleBaseConfig.d.ts.map +0 -1
  109. package/dist/client/ts/models/ShowStyleBaseConfig.js +0 -53
  110. package/dist/client/ts/models/ShowStyleBaseConfig.js.map +0 -1
  111. package/dist/client/ts/models/StudioConfig.d.ts +0 -33
  112. package/dist/client/ts/models/StudioConfig.d.ts.map +0 -1
  113. package/dist/client/ts/models/StudioConfig.js +0 -53
  114. package/dist/client/ts/models/StudioConfig.js.map +0 -1
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Sofie User Actions API
6
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.StorePlaylistSnapshotRequestBodyAllOfToJSON = exports.StorePlaylistSnapshotRequestBodyAllOfFromJSONTyped = exports.StorePlaylistSnapshotRequestBodyAllOfFromJSON = exports.instanceOfStorePlaylistSnapshotRequestBodyAllOf = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the StorePlaylistSnapshotRequestBodyAllOf interface.
20
+ */
21
+ function instanceOfStorePlaylistSnapshotRequestBodyAllOf(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "rundownPlaylistId" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfStorePlaylistSnapshotRequestBodyAllOf = instanceOfStorePlaylistSnapshotRequestBodyAllOf;
27
+ function StorePlaylistSnapshotRequestBodyAllOfFromJSON(json) {
28
+ return StorePlaylistSnapshotRequestBodyAllOfFromJSONTyped(json, false);
29
+ }
30
+ exports.StorePlaylistSnapshotRequestBodyAllOfFromJSON = StorePlaylistSnapshotRequestBodyAllOfFromJSON;
31
+ function StorePlaylistSnapshotRequestBodyAllOfFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'rundownPlaylistId': json['rundownPlaylistId'],
37
+ 'withTimeline': !(0, runtime_1.exists)(json, 'withTimeline') ? undefined : json['withTimeline'],
38
+ 'withArchivedDocuments': !(0, runtime_1.exists)(json, 'withArchivedDocuments') ? undefined : json['withArchivedDocuments'],
39
+ };
40
+ }
41
+ exports.StorePlaylistSnapshotRequestBodyAllOfFromJSONTyped = StorePlaylistSnapshotRequestBodyAllOfFromJSONTyped;
42
+ function StorePlaylistSnapshotRequestBodyAllOfToJSON(value) {
43
+ if (value === undefined) {
44
+ return undefined;
45
+ }
46
+ if (value === null) {
47
+ return null;
48
+ }
49
+ return {
50
+ 'rundownPlaylistId': value.rundownPlaylistId,
51
+ 'withTimeline': value.withTimeline,
52
+ 'withArchivedDocuments': value.withArchivedDocuments,
53
+ };
54
+ }
55
+ exports.StorePlaylistSnapshotRequestBodyAllOfToJSON = StorePlaylistSnapshotRequestBodyAllOfToJSON;
56
+ //# sourceMappingURL=StorePlaylistSnapshotRequestBodyAllOf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorePlaylistSnapshotRequestBodyAllOf.js","sourceRoot":"","sources":["../../../../client/ts/models/StorePlaylistSnapshotRequestBodyAllOf.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AA2B/C;;GAEG;AACH,SAAgB,+CAA+C,CAAC,KAAa;IACzE,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,mBAAmB,IAAI,KAAK,CAAC;IAExD,OAAO,UAAU,CAAC;AACtB,CAAC;AALD,0GAKC;AAED,SAAgB,6CAA6C,CAAC,IAAS;IACnE,OAAO,kDAAkD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3E,CAAC;AAFD,sGAEC;AAED,SAAgB,kDAAkD,CAAC,IAAS,EAAE,mBAA4B;IACtG,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC;QAC9C,cAAc,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAChF,uBAAuB,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,uBAAuB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC;KAC9G,CAAC;AACN,CAAC;AAVD,gHAUC;AAED,SAAgB,2CAA2C,CAAC,KAAoD;IAC5G,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;QAC5C,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;KACvD,CAAC;AACN,CAAC;AAbD,kGAaC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Sofie User Actions API
3
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface StoreSnapshot200Response
16
+ */
17
+ export interface StoreSnapshot200Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof StoreSnapshot200Response
22
+ */
23
+ status?: number;
24
+ /**
25
+ * Snapshot Id.
26
+ * @type {string}
27
+ * @memberof StoreSnapshot200Response
28
+ */
29
+ result?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the StoreSnapshot200Response interface.
33
+ */
34
+ export declare function instanceOfStoreSnapshot200Response(value: object): boolean;
35
+ export declare function StoreSnapshot200ResponseFromJSON(json: any): StoreSnapshot200Response;
36
+ export declare function StoreSnapshot200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSnapshot200Response;
37
+ export declare function StoreSnapshot200ResponseToJSON(value?: StoreSnapshot200Response | null): any;
38
+ //# sourceMappingURL=StoreSnapshot200Response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshot200Response.d.ts","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshot200Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAIzE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CASvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAY3F"}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Sofie User Actions API
6
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.StoreSnapshot200ResponseToJSON = exports.StoreSnapshot200ResponseFromJSONTyped = exports.StoreSnapshot200ResponseFromJSON = exports.instanceOfStoreSnapshot200Response = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the StoreSnapshot200Response interface.
20
+ */
21
+ function instanceOfStoreSnapshot200Response(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfStoreSnapshot200Response = instanceOfStoreSnapshot200Response;
26
+ function StoreSnapshot200ResponseFromJSON(json) {
27
+ return StoreSnapshot200ResponseFromJSONTyped(json, false);
28
+ }
29
+ exports.StoreSnapshot200ResponseFromJSON = StoreSnapshot200ResponseFromJSON;
30
+ function StoreSnapshot200ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
36
+ 'result': !(0, runtime_1.exists)(json, 'result') ? undefined : json['result'],
37
+ };
38
+ }
39
+ exports.StoreSnapshot200ResponseFromJSONTyped = StoreSnapshot200ResponseFromJSONTyped;
40
+ function StoreSnapshot200ResponseToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'status': value.status,
49
+ 'result': value.result,
50
+ };
51
+ }
52
+ exports.StoreSnapshot200ResponseToJSON = StoreSnapshot200ResponseToJSON;
53
+ //# sourceMappingURL=StoreSnapshot200Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshot200Response.js","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshot200Response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAqB/C;;GAEG;AACH,SAAgB,kCAAkC,CAAC,KAAa;IAC5D,IAAI,UAAU,GAAG,IAAI,CAAC;IAEtB,OAAO,UAAU,CAAC;AACtB,CAAC;AAJD,gFAIC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAFD,4EAEC;AAED,SAAgB,qCAAqC,CAAC,IAAS,EAAE,mBAA4B;IACzF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC9D,QAAQ,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;KACjE,CAAC;AACN,CAAC;AATD,sFASC;AAED,SAAgB,8BAA8B,CAAC,KAAuC;IAClF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN,CAAC;AAZD,wEAYC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Sofie User Actions API
3
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface StoreSnapshot422Response
16
+ */
17
+ export interface StoreSnapshot422Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof StoreSnapshot422Response
22
+ */
23
+ status: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StoreSnapshot422Response
28
+ */
29
+ message: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the StoreSnapshot422Response interface.
33
+ */
34
+ export declare function instanceOfStoreSnapshot422Response(value: object): boolean;
35
+ export declare function StoreSnapshot422ResponseFromJSON(json: any): StoreSnapshot422Response;
36
+ export declare function StoreSnapshot422ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSnapshot422Response;
37
+ export declare function StoreSnapshot422ResponseToJSON(value?: StoreSnapshot422Response | null): any;
38
+ //# sourceMappingURL=StoreSnapshot422Response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshot422Response.d.ts","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshot422Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAMzE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CASvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAY3F"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Sofie User Actions API
6
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.StoreSnapshot422ResponseToJSON = exports.StoreSnapshot422ResponseFromJSONTyped = exports.StoreSnapshot422ResponseFromJSON = exports.instanceOfStoreSnapshot422Response = void 0;
17
+ /**
18
+ * Check if a given object implements the StoreSnapshot422Response interface.
19
+ */
20
+ function instanceOfStoreSnapshot422Response(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "status" in value;
23
+ isInstance = isInstance && "message" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfStoreSnapshot422Response = instanceOfStoreSnapshot422Response;
27
+ function StoreSnapshot422ResponseFromJSON(json) {
28
+ return StoreSnapshot422ResponseFromJSONTyped(json, false);
29
+ }
30
+ exports.StoreSnapshot422ResponseFromJSON = StoreSnapshot422ResponseFromJSON;
31
+ function StoreSnapshot422ResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'status': json['status'],
37
+ 'message': json['message'],
38
+ };
39
+ }
40
+ exports.StoreSnapshot422ResponseFromJSONTyped = StoreSnapshot422ResponseFromJSONTyped;
41
+ function StoreSnapshot422ResponseToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'status': value.status,
50
+ 'message': value.message,
51
+ };
52
+ }
53
+ exports.StoreSnapshot422ResponseToJSON = StoreSnapshot422ResponseToJSON;
54
+ //# sourceMappingURL=StoreSnapshot422Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshot422Response.js","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshot422Response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuBH;;GAEG;AACH,SAAgB,kCAAkC,CAAC,KAAa;IAC5D,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAC7C,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AAND,gFAMC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAFD,4EAEC;AAED,SAAgB,qCAAqC,CAAC,IAAS,EAAE,mBAA4B;IACzF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;KAC7B,CAAC;AACN,CAAC;AATD,sFASC;AAED,SAAgB,8BAA8B,CAAC,KAAuC;IAClF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN,CAAC;AAZD,wEAYC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Sofie User Actions API
3
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface StoreSnapshot429Response
16
+ */
17
+ export interface StoreSnapshot429Response {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof StoreSnapshot429Response
22
+ */
23
+ status: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StoreSnapshot429Response
28
+ */
29
+ message: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the StoreSnapshot429Response interface.
33
+ */
34
+ export declare function instanceOfStoreSnapshot429Response(value: object): boolean;
35
+ export declare function StoreSnapshot429ResponseFromJSON(json: any): StoreSnapshot429Response;
36
+ export declare function StoreSnapshot429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSnapshot429Response;
37
+ export declare function StoreSnapshot429ResponseToJSON(value?: StoreSnapshot429Response | null): any;
38
+ //# sourceMappingURL=StoreSnapshot429Response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshot429Response.d.ts","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshot429Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAMzE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CASvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAY3F"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Sofie User Actions API
6
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.StoreSnapshot429ResponseToJSON = exports.StoreSnapshot429ResponseFromJSONTyped = exports.StoreSnapshot429ResponseFromJSON = exports.instanceOfStoreSnapshot429Response = void 0;
17
+ /**
18
+ * Check if a given object implements the StoreSnapshot429Response interface.
19
+ */
20
+ function instanceOfStoreSnapshot429Response(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "status" in value;
23
+ isInstance = isInstance && "message" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfStoreSnapshot429Response = instanceOfStoreSnapshot429Response;
27
+ function StoreSnapshot429ResponseFromJSON(json) {
28
+ return StoreSnapshot429ResponseFromJSONTyped(json, false);
29
+ }
30
+ exports.StoreSnapshot429ResponseFromJSON = StoreSnapshot429ResponseFromJSON;
31
+ function StoreSnapshot429ResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'status': json['status'],
37
+ 'message': json['message'],
38
+ };
39
+ }
40
+ exports.StoreSnapshot429ResponseFromJSONTyped = StoreSnapshot429ResponseFromJSONTyped;
41
+ function StoreSnapshot429ResponseToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'status': value.status,
50
+ 'message': value.message,
51
+ };
52
+ }
53
+ exports.StoreSnapshot429ResponseToJSON = StoreSnapshot429ResponseToJSON;
54
+ //# sourceMappingURL=StoreSnapshot429Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshot429Response.js","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshot429Response.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuBH;;GAEG;AACH,SAAgB,kCAAkC,CAAC,KAAa;IAC5D,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAC7C,UAAU,GAAG,UAAU,IAAI,SAAS,IAAI,KAAK,CAAC;IAE9C,OAAO,UAAU,CAAC;AACtB,CAAC;AAND,gFAMC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAFD,4EAEC;AAED,SAAgB,qCAAqC,CAAC,IAAS,EAAE,mBAA4B;IACzF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;KAC7B,CAAC;AACN,CAAC;AATD,sFASC;AAED,SAAgB,8BAA8B,CAAC,KAAuC;IAClF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK,CAAC,OAAO;KAC3B,CAAC;AACN,CAAC;AAZD,wEAYC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Sofie User Actions API
3
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { StorePlaylistSnapshotRequestBody } from './StorePlaylistSnapshotRequestBody';
13
+ import { StoreSystemSnapshotRequestBody } from './StoreSystemSnapshotRequestBody';
14
+ /**
15
+ * @type StoreSnapshotRequest
16
+ *
17
+ * @export
18
+ */
19
+ export type StoreSnapshotRequest = {
20
+ snapshotType: 'playlist';
21
+ } & StorePlaylistSnapshotRequestBody | {
22
+ snapshotType: 'system';
23
+ } & StoreSystemSnapshotRequestBody;
24
+ export declare function StoreSnapshotRequestFromJSON(json: any): StoreSnapshotRequest;
25
+ export declare function StoreSnapshotRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSnapshotRequest;
26
+ export declare function StoreSnapshotRequestToJSON(value?: StoreSnapshotRequest | null): any;
27
+ //# sourceMappingURL=StoreSnapshotRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshotRequest.d.ts","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshotRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,EACH,gCAAgC,EAKnC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACH,8BAA8B,EAKjC,MAAM,kCAAkC,CAAC;AAE1C;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAAE,YAAY,EAAE,UAAU,CAAA;CAAE,GAAG,gCAAgC,GAAG;IAAE,YAAY,EAAE,QAAQ,CAAA;CAAE,GAAG,8BAA8B,CAAC;AAEjK,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAY/G;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,GAAG,GAAG,CAgBnF"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Sofie User Actions API
6
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.StoreSnapshotRequestToJSON = exports.StoreSnapshotRequestFromJSONTyped = exports.StoreSnapshotRequestFromJSON = void 0;
17
+ const StorePlaylistSnapshotRequestBody_1 = require("./StorePlaylistSnapshotRequestBody");
18
+ const StoreSystemSnapshotRequestBody_1 = require("./StoreSystemSnapshotRequestBody");
19
+ function StoreSnapshotRequestFromJSON(json) {
20
+ return StoreSnapshotRequestFromJSONTyped(json, false);
21
+ }
22
+ exports.StoreSnapshotRequestFromJSON = StoreSnapshotRequestFromJSON;
23
+ function StoreSnapshotRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if ((json === undefined) || (json === null)) {
25
+ return json;
26
+ }
27
+ switch (json['snapshotType']) {
28
+ case 'playlist':
29
+ return { ...(0, StorePlaylistSnapshotRequestBody_1.StorePlaylistSnapshotRequestBodyFromJSONTyped)(json, true), snapshotType: 'playlist' };
30
+ case 'system':
31
+ return { ...(0, StoreSystemSnapshotRequestBody_1.StoreSystemSnapshotRequestBodyFromJSONTyped)(json, true), snapshotType: 'system' };
32
+ default:
33
+ throw new Error(`No variant of StoreSnapshotRequest exists with 'snapshotType=${json['snapshotType']}'`);
34
+ }
35
+ }
36
+ exports.StoreSnapshotRequestFromJSONTyped = StoreSnapshotRequestFromJSONTyped;
37
+ function StoreSnapshotRequestToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ switch (value['snapshotType']) {
45
+ case 'playlist':
46
+ return (0, StorePlaylistSnapshotRequestBody_1.StorePlaylistSnapshotRequestBodyToJSON)(value);
47
+ case 'system':
48
+ return (0, StoreSystemSnapshotRequestBody_1.StoreSystemSnapshotRequestBodyToJSON)(value);
49
+ default:
50
+ throw new Error(`No variant of StoreSnapshotRequest exists with 'snapshotType=${value['snapshotType']}'`);
51
+ }
52
+ }
53
+ exports.StoreSnapshotRequestToJSON = StoreSnapshotRequestToJSON;
54
+ //# sourceMappingURL=StoreSnapshotRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshotRequest.js","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshotRequest.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,yFAM4C;AAC5C,qFAM0C;AAS1C,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAFD,oEAEC;AAED,SAAgB,iCAAiC,CAAC,IAAS,EAAE,mBAA4B;IACrF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,QAAQ,IAAI,CAAC,cAAc,CAAC,EAAE;QAC1B,KAAK,UAAU;YACX,OAAO,EAAC,GAAG,IAAA,gFAA6C,EAAC,IAAI,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,UAAU,EAAC,CAAC;QACpG,KAAK,QAAQ;YACT,OAAO,EAAC,GAAG,IAAA,4EAA2C,EAAC,IAAI,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAC,CAAC;QAChG;YACI,MAAM,IAAI,KAAK,CAAC,gEAAgE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;KAChH;AACL,CAAC;AAZD,8EAYC;AAED,SAAgB,0BAA0B,CAAC,KAAmC;IAC1E,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,QAAQ,KAAK,CAAC,cAAc,CAAC,EAAE;QAC3B,KAAK,UAAU;YACX,OAAO,IAAA,yEAAsC,EAAC,KAAK,CAAC,CAAC;QACzD,KAAK,QAAQ;YACT,OAAO,IAAA,qEAAoC,EAAC,KAAK,CAAC,CAAC;QACvD;YACI,MAAM,IAAI,KAAK,CAAC,gEAAgE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;KACjH;AAEL,CAAC;AAhBD,gEAgBC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Sofie User Actions API
3
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface StoreSnapshotRequestBody
16
+ */
17
+ export interface StoreSnapshotRequestBody {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StoreSnapshotRequestBody
22
+ */
23
+ snapshotType: string;
24
+ /**
25
+ * Reason this snapshot is stored.
26
+ * @type {string}
27
+ * @memberof StoreSnapshotRequestBody
28
+ */
29
+ reason: string;
30
+ /**
31
+ * If Peripheral Device snapshots should be included.
32
+ * @type {boolean}
33
+ * @memberof StoreSnapshotRequestBody
34
+ */
35
+ withDeviceSnapshots?: boolean;
36
+ }
37
+ /**
38
+ * Check if a given object implements the StoreSnapshotRequestBody interface.
39
+ */
40
+ export declare function instanceOfStoreSnapshotRequestBody(value: object): boolean;
41
+ export declare function StoreSnapshotRequestBodyFromJSON(json: any): StoreSnapshotRequestBody;
42
+ export declare function StoreSnapshotRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSnapshotRequestBody;
43
+ export declare function StoreSnapshotRequestBodyToJSON(value?: StoreSnapshotRequestBody | null): any;
44
+ //# sourceMappingURL=StoreSnapshotRequestBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshotRequestBody.d.ts","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshotRequestBody.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAQH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAMzE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAkBvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAa3F"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Sofie User Actions API
6
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.StoreSnapshotRequestBodyToJSON = exports.StoreSnapshotRequestBodyFromJSONTyped = exports.StoreSnapshotRequestBodyFromJSON = exports.instanceOfStoreSnapshotRequestBody = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const _1 = require("./");
19
+ /**
20
+ * Check if a given object implements the StoreSnapshotRequestBody interface.
21
+ */
22
+ function instanceOfStoreSnapshotRequestBody(value) {
23
+ let isInstance = true;
24
+ isInstance = isInstance && "snapshotType" in value;
25
+ isInstance = isInstance && "reason" in value;
26
+ return isInstance;
27
+ }
28
+ exports.instanceOfStoreSnapshotRequestBody = instanceOfStoreSnapshotRequestBody;
29
+ function StoreSnapshotRequestBodyFromJSON(json) {
30
+ return StoreSnapshotRequestBodyFromJSONTyped(json, false);
31
+ }
32
+ exports.StoreSnapshotRequestBodyFromJSON = StoreSnapshotRequestBodyFromJSON;
33
+ function StoreSnapshotRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
34
+ if ((json === undefined) || (json === null)) {
35
+ return json;
36
+ }
37
+ if (!ignoreDiscriminator) {
38
+ if (json['type'] === 'storePlaylistSnapshotRequestBody') {
39
+ return (0, _1.StorePlaylistSnapshotRequestBodyFromJSONTyped)(json, true);
40
+ }
41
+ if (json['type'] === 'storeSystemSnapshotRequestBody') {
42
+ return (0, _1.StoreSystemSnapshotRequestBodyFromJSONTyped)(json, true);
43
+ }
44
+ }
45
+ return {
46
+ 'snapshotType': json['snapshotType'],
47
+ 'reason': json['reason'],
48
+ 'withDeviceSnapshots': !(0, runtime_1.exists)(json, 'withDeviceSnapshots') ? undefined : json['withDeviceSnapshots'],
49
+ };
50
+ }
51
+ exports.StoreSnapshotRequestBodyFromJSONTyped = StoreSnapshotRequestBodyFromJSONTyped;
52
+ function StoreSnapshotRequestBodyToJSON(value) {
53
+ if (value === undefined) {
54
+ return undefined;
55
+ }
56
+ if (value === null) {
57
+ return null;
58
+ }
59
+ return {
60
+ 'snapshotType': value.snapshotType,
61
+ 'reason': value.reason,
62
+ 'withDeviceSnapshots': value.withDeviceSnapshots,
63
+ };
64
+ }
65
+ exports.StoreSnapshotRequestBodyToJSON = StoreSnapshotRequestBodyToJSON;
66
+ //# sourceMappingURL=StoreSnapshotRequestBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSnapshotRequestBody.js","sourceRoot":"","sources":["../../../../client/ts/models/StoreSnapshotRequestBody.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAC/C,yBAGY;AA4BZ;;GAEG;AACH,SAAgB,kCAAkC,CAAC,KAAa;IAC5D,IAAI,UAAU,GAAG,IAAI,CAAC;IACtB,UAAU,GAAG,UAAU,IAAI,cAAc,IAAI,KAAK,CAAC;IACnD,UAAU,GAAG,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC;IAE7C,OAAO,UAAU,CAAC;AACtB,CAAC;AAND,gFAMC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAFD,4EAEC;AAED,SAAgB,qCAAqC,CAAC,IAAS,EAAE,mBAA4B;IACzF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,IAAI,CAAC,mBAAmB,EAAE;QACtB,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,kCAAkC,EAAE;YACrD,OAAO,IAAA,gDAA6C,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SACpE;QACD,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,gCAAgC,EAAE;YACnD,OAAO,IAAA,8CAA2C,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SAClE;KACJ;IACD,OAAO;QAEH,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;QACpC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,qBAAqB,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC;KACxG,CAAC;AACN,CAAC;AAlBD,sFAkBC;AAED,SAAgB,8BAA8B,CAAC,KAAuC;IAClF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,qBAAqB,EAAE,KAAK,CAAC,mBAAmB;KACnD,CAAC;AACN,CAAC;AAbD,wEAaC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Sofie User Actions API
3
+ * The Sofie User Actions API provides paths to allow a device to control a Sofie and query health information
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { StoreSnapshotRequestBody } from './StoreSnapshotRequestBody';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface StoreSystemSnapshotRequestBody
17
+ */
18
+ export interface StoreSystemSnapshotRequestBody extends StoreSnapshotRequestBody {
19
+ /**
20
+ * When provided, only data related to that Studio will be stored.
21
+ * @type {string}
22
+ * @memberof StoreSystemSnapshotRequestBody
23
+ */
24
+ studioId?: string;
25
+ }
26
+ /**
27
+ * Check if a given object implements the StoreSystemSnapshotRequestBody interface.
28
+ */
29
+ export declare function instanceOfStoreSystemSnapshotRequestBody(value: object): boolean;
30
+ export declare function StoreSystemSnapshotRequestBodyFromJSON(json: any): StoreSystemSnapshotRequestBody;
31
+ export declare function StoreSystemSnapshotRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSystemSnapshotRequestBody;
32
+ export declare function StoreSystemSnapshotRequestBodyToJSON(value?: StoreSystemSnapshotRequestBody | null): any;
33
+ //# sourceMappingURL=StoreSystemSnapshotRequestBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreSystemSnapshotRequestBody.d.ts","sourceRoot":"","sources":["../../../../client/ts/models/StoreSystemSnapshotRequestBody.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E;;;;GAIG;AACH,MAAM,WAAW,8BAA+B,SAAQ,wBAAwB;IAC5E;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAI/E;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAQnI;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,GAAG,GAAG,CAWvG"}