@rlvt/contents-openapi-client 1.0.24 → 1.0.28

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/build/api.d.ts CHANGED
@@ -185,6 +185,15 @@ export default class {
185
185
  readonly?: "__readonly";
186
186
  };
187
187
  readonly versions: {
188
+ readonly id: string & {
189
+ readonly?: "__readonly";
190
+ };
191
+ readonly createdAt: Date & {
192
+ readonly?: "__readonly";
193
+ };
194
+ readonly updatedAt: Date & {
195
+ readonly?: "__readonly";
196
+ };
188
197
  readonly state: (ContentVersionState.DRAFT & {
189
198
  readonly?: "__readonly";
190
199
  }) | (ContentVersionState.LIVE & {
@@ -328,6 +337,15 @@ export default class {
328
337
  readonly?: "__readonly";
329
338
  };
330
339
  readonly versions: {
340
+ readonly id: string & {
341
+ readonly?: "__readonly";
342
+ };
343
+ readonly createdAt: Date & {
344
+ readonly?: "__readonly";
345
+ };
346
+ readonly updatedAt: Date & {
347
+ readonly?: "__readonly";
348
+ };
331
349
  readonly state: (ContentVersionState.DRAFT & {
332
350
  readonly?: "__readonly";
333
351
  }) | (ContentVersionState.LIVE & {
@@ -470,6 +488,15 @@ export default class {
470
488
  readonly?: "__readonly";
471
489
  };
472
490
  readonly versions: {
491
+ readonly id: string & {
492
+ readonly?: "__readonly";
493
+ };
494
+ readonly createdAt: Date & {
495
+ readonly?: "__readonly";
496
+ };
497
+ readonly updatedAt: Date & {
498
+ readonly?: "__readonly";
499
+ };
473
500
  readonly state: (ContentVersionState.DRAFT & {
474
501
  readonly?: "__readonly";
475
502
  }) | (ContentVersionState.LIVE & {
@@ -712,6 +739,15 @@ export default class {
712
739
  readonly?: "__readonly";
713
740
  };
714
741
  readonly versions: {
742
+ readonly id: string & {
743
+ readonly?: "__readonly";
744
+ };
745
+ readonly createdAt: Date & {
746
+ readonly?: "__readonly";
747
+ };
748
+ readonly updatedAt: Date & {
749
+ readonly?: "__readonly";
750
+ };
715
751
  readonly state: (ContentVersionState.DRAFT & {
716
752
  readonly?: "__readonly";
717
753
  }) | (ContentVersionState.LIVE & {
@@ -865,6 +901,15 @@ export default class {
865
901
  readonly?: "__readonly";
866
902
  };
867
903
  readonly versions: {
904
+ readonly id: string & {
905
+ readonly?: "__readonly";
906
+ };
907
+ readonly createdAt: Date & {
908
+ readonly?: "__readonly";
909
+ };
910
+ readonly updatedAt: Date & {
911
+ readonly?: "__readonly";
912
+ };
868
913
  readonly state: (ContentVersionState.DRAFT & {
869
914
  readonly?: "__readonly";
870
915
  }) | (ContentVersionState.LIVE & {
@@ -24,14 +24,14 @@ export declare type SerializedContentResource = {
24
24
  readonly createdAt: (Date) & readonlyP;
25
25
  readonly updatedAt: (Date) & readonlyP;
26
26
  };
27
- export declare type Pick_ContentFontResources_type_or_family_or_files_ = {
27
+ export declare type Pick_ContentFontResource_type_or_family_or_files_ = {
28
28
  type: "font";
29
29
  family: string;
30
30
  files: {
31
31
  [key: string]: string;
32
32
  };
33
33
  };
34
- export declare type ContentFontResources = SerializedContentResource & Pick_ContentFontResources_type_or_family_or_files_;
34
+ export declare type ContentFontResource = SerializedContentResource & Pick_ContentFontResource_type_or_family_or_files_;
35
35
  export declare type Pick_SerializedContentFontResource_resourceGroupIds_or_family_or_files_ = {
36
36
  resourceGroupIds: string[];
37
37
  family: string;
@@ -163,6 +163,9 @@ export declare type BaseTemplate = {
163
163
  componentGroups: __x_string___name_string_or_undefined___and__rendered_boolean____;
164
164
  };
165
165
  export declare type SerializedContentVersions = {
166
+ readonly id: (string) & readonlyP;
167
+ readonly createdAt: (Date) & readonlyP;
168
+ readonly updatedAt: (Date) & readonlyP;
166
169
  readonly state: (ContentVersionState) & readonlyP;
167
170
  previewUrl?: string;
168
171
  metadata?: {
@@ -170,7 +173,7 @@ export declare type SerializedContentVersions = {
170
173
  };
171
174
  template: BaseTemplate;
172
175
  };
173
- export declare type ContentVersions = SerializedContentVersions;
176
+ export declare type ContentVersion = SerializedContentVersions;
174
177
  export declare enum ContentStatus {
175
178
  DRAFT = "draft",
176
179
  PUBLISHING = "publishing",
@@ -181,14 +184,14 @@ export declare type SerializedContent = {
181
184
  readonly id: (string) & readonlyP;
182
185
  readonly companyId: (string) & readonlyP;
183
186
  resourceGroupIds: string[];
184
- readonly versions: (ContentVersions[]) & readonlyP;
187
+ readonly versions: (ContentVersion[]) & readonlyP;
185
188
  readonly createdAt: (Date) & readonlyP;
186
189
  readonly updatedAt: (Date) & readonlyP;
187
190
  name: string;
188
191
  description?: string;
189
192
  readonly status: (ContentStatus) & readonlyP;
190
193
  };
191
- export declare type Contents = SerializedContent;
194
+ export declare type Content = SerializedContent;
192
195
  export declare type Pick_SerializedContent_resourceGroupIds_or_name_or_description_ = {
193
196
  resourceGroupIds: string[];
194
197
  name: string;
@@ -198,7 +201,7 @@ export declare type Partial_SerializedContent_ = {
198
201
  readonly id?: (string) & readonlyP;
199
202
  readonly companyId?: (string) & readonlyP;
200
203
  resourceGroupIds?: string[];
201
- readonly versions?: (ContentVersions[]) & readonlyP;
204
+ readonly versions?: (ContentVersion[]) & readonlyP;
202
205
  readonly createdAt?: (Date) & readonlyP;
203
206
  readonly updatedAt?: (Date) & readonlyP;
204
207
  name?: string;
@@ -206,6 +209,9 @@ export declare type Partial_SerializedContent_ = {
206
209
  readonly status?: (ContentStatus) & readonlyP;
207
210
  };
208
211
  export declare type Partial_SerializedContentVersions_ = {
212
+ readonly id?: (string) & readonlyP;
213
+ readonly createdAt?: (Date) & readonlyP;
214
+ readonly updatedAt?: (Date) & readonlyP;
209
215
  readonly state?: (ContentVersionState) & readonlyP;
210
216
  previewUrl?: string;
211
217
  metadata?: {
@@ -16,4 +16,4 @@ var ContentStatus;
16
16
  ContentStatus["PUBLISHED"] = "published";
17
17
  ContentStatus["ERROR"] = "error";
18
18
  })(ContentStatus = exports.ContentStatus || (exports.ContentStatus = {}));
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJ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ZSxDQUFBO0FBQ25CLENBQUMsRUFMVyxhQUFhLEdBQWIscUJBQWEsS0FBYixxQkFBYSxRQUt4QiJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlvt/contents-openapi-client",
3
- "version": "1.0.24+d9ef52b",
3
+ "version": "1.0.28+ba36fa9",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",