@contentchef/contentchef-types 2.6.0-alpha.0 → 2.6.1-alpha.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 (44) hide show
  1. package/dist/api/AccessToken.d.ts +7 -7
  2. package/dist/api/AuditLog.d.ts +12 -12
  3. package/dist/api/AuditLog.js +3 -3
  4. package/dist/api/Author.d.ts +1 -1
  5. package/dist/api/Channel.d.ts +12 -12
  6. package/dist/api/Content.d.ts +53 -33
  7. package/dist/api/Content.js +3 -3
  8. package/dist/api/ContentDefinition.d.ts +31 -23
  9. package/dist/api/ContentDefinition.js +1 -1
  10. package/dist/api/ContentDefinitionSchema.d.ts +48 -48
  11. package/dist/api/ContentDefinitionSchema.js +3 -3
  12. package/dist/api/ContentRepository.d.ts +16 -16
  13. package/dist/api/ContentTag.d.ts +2 -2
  14. package/dist/api/ContentTranslation.d.ts +15 -15
  15. package/dist/api/ContentTranslation.js +1 -1
  16. package/dist/api/Extension.d.ts +8 -8
  17. package/dist/api/Invites.d.ts +2 -2
  18. package/dist/api/MediaGallery.d.ts +34 -34
  19. package/dist/api/PublishedContent.d.ts +42 -20
  20. package/dist/api/PublishingRequest.d.ts +7 -7
  21. package/dist/api/PublishingRequest.js +1 -1
  22. package/dist/api/Space.d.ts +21 -21
  23. package/dist/api/Subscription.d.ts +27 -27
  24. package/dist/api/Subscription.js +4 -4
  25. package/dist/api/User.d.ts +11 -11
  26. package/dist/api/UserConsents.d.ts +7 -7
  27. package/dist/api/UserConsents.js +1 -1
  28. package/dist/api/UserPermission.d.ts +3 -3
  29. package/dist/api/UserPermission.js +2 -2
  30. package/dist/api/Webhooks.d.ts +14 -13
  31. package/dist/api/Webhooks.js +3 -2
  32. package/dist/api/common.d.ts +1 -1
  33. package/dist/api/common.js +1 -1
  34. package/dist/api/index.js +5 -1
  35. package/dist/extension/index.d.ts +10 -10
  36. package/dist/extension/index.js +1 -1
  37. package/dist/index.js +5 -1
  38. package/lib/api/Content.ts +25 -0
  39. package/lib/api/ContentDefinition.ts +10 -0
  40. package/lib/api/ContentDefinitionSchema.ts +2 -2
  41. package/lib/api/PublishedContent.ts +184 -160
  42. package/lib/api/Webhooks.ts +2 -1
  43. package/package.json +3 -4
  44. package/dist/.DS_Store +0 -0
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This type represent the model of an access token
3
3
  */
4
- export declare type AccessTokenResponse = {
4
+ export type AccessTokenResponse = {
5
5
  /**
6
6
  * The token reference name
7
7
  */
@@ -18,7 +18,7 @@ export declare type AccessTokenResponse = {
18
18
  /**
19
19
  * This type represent the data needed to make a create access token API request
20
20
  */
21
- export declare type CreateApiAccessTokenRequest = {
21
+ export type CreateApiAccessTokenRequest = {
22
22
  /**
23
23
  * The token reference name
24
24
  */
@@ -27,11 +27,11 @@ export declare type CreateApiAccessTokenRequest = {
27
27
  /**
28
28
  * This type represent the data needed to make a list access token API request
29
29
  */
30
- export declare type ListApiAccessTokenRequest = {};
30
+ export type ListApiAccessTokenRequest = {};
31
31
  /**
32
32
  * This type represent the data needed to make a revoke access token API request
33
33
  */
34
- export declare type RevokeApiAccessTokenRequest = {
34
+ export type RevokeApiAccessTokenRequest = {
35
35
  /**
36
36
  * The unique token key
37
37
  */
@@ -40,7 +40,7 @@ export declare type RevokeApiAccessTokenRequest = {
40
40
  /**
41
41
  * This type represent the response of a create access token API request
42
42
  */
43
- export declare type CreateApiAccessTokenResponse = {
43
+ export type CreateApiAccessTokenResponse = {
44
44
  /**
45
45
  * The signed token used valid to make api requests (store in a secure place)
46
46
  */
@@ -57,7 +57,7 @@ export declare type CreateApiAccessTokenResponse = {
57
57
  /**
58
58
  * This type represent the response of a list access token API request
59
59
  */
60
- export declare type ListApiAccessTokenResponse = {
60
+ export type ListApiAccessTokenResponse = {
61
61
  /**
62
62
  * The list of tokens
63
63
  */
@@ -66,7 +66,7 @@ export declare type ListApiAccessTokenResponse = {
66
66
  /**
67
67
  * This type represent the response of a revoke access token API request
68
68
  */
69
- export declare type RevokeApiAccessTokenResponse = {
69
+ export type RevokeApiAccessTokenResponse = {
70
70
  /**
71
71
  * The revoked token hash
72
72
  */
@@ -8,15 +8,15 @@ import { MediaGalleryId } from './MediaGallery';
8
8
  /**
9
9
  * This type represent the audit log unique id type
10
10
  */
11
- export declare type AuditLogId = number;
11
+ export type AuditLogId = number;
12
12
  /**
13
13
  * This type represent the audit log item unique id types
14
14
  */
15
- export declare type SubjectId = ContentId | ContentRepositoryId | ContentDefinitionId | MediaGalleryId | PublishingChannelId;
15
+ export type SubjectId = ContentId | ContentRepositoryId | ContentDefinitionId | MediaGalleryId | PublishingChannelId;
16
16
  /**
17
17
  * This type represent the audit log parent unique id types
18
18
  */
19
- export declare type ParentId = ContentId | ContentRepositoryId | ContentDefinitionId | MediaGalleryId | PublishingChannelId;
19
+ export type ParentId = ContentId | ContentRepositoryId | ContentDefinitionId | MediaGalleryId | PublishingChannelId;
20
20
  /**
21
21
  * This enum represent the audit log allowed
22
22
  */
@@ -91,20 +91,20 @@ export declare enum SubjectActions {
91
91
  /**
92
92
  * This enum represent the audit log parent allowed types
93
93
  */
94
- export declare type ListAuditLogRequest = {
94
+ export type ListAuditLogRequest = {
95
95
  skip: number;
96
96
  take: number;
97
97
  filters?: ListAuditLogFilters;
98
98
  };
99
- declare type LatestActivitesRequest<ToRemove extends keyof ListAuditLogFilters> = Omit<ListAuditLogRequest, 'filters'> & {
99
+ type LatestActivitesRequest<ToRemove extends keyof ListAuditLogFilters> = Omit<ListAuditLogRequest, 'filters'> & {
100
100
  filters: Omit<ListAuditLogFilters, ToRemove>;
101
101
  };
102
- export declare type UserTeamLatestActivitiesRequest = LatestActivitesRequest<'userTeamLatestActivities'>;
103
- export declare type UserLatestActivitiesRequest = LatestActivitesRequest<'userLatestActivities'>;
102
+ export type UserTeamLatestActivitiesRequest = LatestActivitesRequest<'userTeamLatestActivities'>;
103
+ export type UserLatestActivitiesRequest = LatestActivitesRequest<'userLatestActivities'>;
104
104
  /**
105
105
  * This type represent all the filters used to filter a list of audit logs
106
106
  */
107
- export declare type ListAuditLogFilters = {
107
+ export type ListAuditLogFilters = {
108
108
  /**
109
109
  * A string that a audit log must contain to be retrieved
110
110
  */
@@ -133,7 +133,7 @@ export declare type ListAuditLogFilters = {
133
133
  /**
134
134
  * The data needed to make a list of audit log filtered by repository
135
135
  */
136
- export declare type ListByRepositoryIdRequest = {
136
+ export type ListByRepositoryIdRequest = {
137
137
  /**
138
138
  * The unique repository id
139
139
  */
@@ -142,7 +142,7 @@ export declare type ListByRepositoryIdRequest = {
142
142
  /**
143
143
  * The model the represent the audit log parent filter used in the list of audit logs
144
144
  */
145
- export declare type ListAuditLogParentFilter = {
145
+ export type ListAuditLogParentFilter = {
146
146
  /**
147
147
  * The unique parent id
148
148
  */
@@ -155,7 +155,7 @@ export declare type ListAuditLogParentFilter = {
155
155
  /**
156
156
  * The model the represent the audit log item
157
157
  */
158
- export declare type ListAuditLogItem = {
158
+ export type ListAuditLogItem = {
159
159
  /**
160
160
  * The unique audit log id
161
161
  */
@@ -200,5 +200,5 @@ export declare type ListAuditLogItem = {
200
200
  /**
201
201
  * This type represent the response of a list audit log API request
202
202
  */
203
- export declare type ListAuditLogResponse = PagedListResponse<ListAuditLogItem>;
203
+ export type ListAuditLogResponse = PagedListResponse<ListAuditLogItem>;
204
204
  export {};
@@ -26,7 +26,7 @@ var SubjectTypes;
26
26
  * When the subject is a publishing channel this value will be returned
27
27
  */
28
28
  SubjectTypes["publishingChannel"] = "publishing_channel";
29
- })(SubjectTypes = exports.SubjectTypes || (exports.SubjectTypes = {}));
29
+ })(SubjectTypes || (exports.SubjectTypes = SubjectTypes = {}));
30
30
  /**
31
31
  * This enum represent the audit log parent allowed
32
32
  */
@@ -52,7 +52,7 @@ var ParentTypes;
52
52
  * When the parent is a publishing channel this value will be returned
53
53
  */
54
54
  ParentTypes["publishingChannel"] = "publishing_channel";
55
- })(ParentTypes = exports.ParentTypes || (exports.ParentTypes = {}));
55
+ })(ParentTypes || (exports.ParentTypes = ParentTypes = {}));
56
56
  /**
57
57
  * This enum represent the audit log actions allowed
58
58
  */
@@ -74,4 +74,4 @@ var SubjectActions;
74
74
  * When the action is an unarchive this value will be returned
75
75
  */
76
76
  SubjectActions["unarchive"] = "unarchive";
77
- })(SubjectActions = exports.SubjectActions || (exports.SubjectActions = {}));
77
+ })(SubjectActions || (exports.SubjectActions = SubjectActions = {}));
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This type represent the model of an author
3
3
  */
4
- export declare type AuthorResponse = {
4
+ export type AuthorResponse = {
5
5
  /**
6
6
  * The unique author id
7
7
  */
@@ -2,11 +2,11 @@ import { AuthorResponse } from './Author';
2
2
  /**
3
3
  * This type represent the publishing channel unique id
4
4
  */
5
- export declare type PublishingChannelId = number;
5
+ export type PublishingChannelId = number;
6
6
  /**
7
7
  * This type represent the data needed to make a create publishing channel API request
8
8
  */
9
- export declare type CreatePublishingChannelRequest = {
9
+ export type CreatePublishingChannelRequest = {
10
10
  /**
11
11
  * The publishing channel name
12
12
  */
@@ -23,7 +23,7 @@ export declare type CreatePublishingChannelRequest = {
23
23
  /**
24
24
  * This type represent the model of a publishing channel
25
25
  */
26
- export declare type PublishingChannelResponse = {
26
+ export type PublishingChannelResponse = {
27
27
  /**
28
28
  * The unique publishing channel id
29
29
  */
@@ -68,7 +68,7 @@ export declare type PublishingChannelResponse = {
68
68
  /**
69
69
  * This type represent the data needed to make a get publishing channel API request
70
70
  */
71
- export declare type GetPublishingChannelRequest = {
71
+ export type GetPublishingChannelRequest = {
72
72
  /**
73
73
  * The publishing channel unique id
74
74
  */
@@ -77,7 +77,7 @@ export declare type GetPublishingChannelRequest = {
77
77
  /**
78
78
  * This type represent the data needed to make an update publishing channel API request
79
79
  */
80
- export declare type UpdatePublishingChannelRequest = {
80
+ export type UpdatePublishingChannelRequest = {
81
81
  /**
82
82
  * The publishing channel unique id
83
83
  */
@@ -98,19 +98,19 @@ export declare type UpdatePublishingChannelRequest = {
98
98
  /**
99
99
  * This type represent the response of a create publishing channel API request
100
100
  */
101
- export declare type CreatePublishingChannelResponse = PublishingChannelResponse;
101
+ export type CreatePublishingChannelResponse = PublishingChannelResponse;
102
102
  /**
103
103
  * This type represent the response of a get publishing channel API request
104
104
  */
105
- export declare type GetPublishingChannelResponse = PublishingChannelResponse;
105
+ export type GetPublishingChannelResponse = PublishingChannelResponse;
106
106
  /**
107
107
  * This type represent the response of an update publishing channel API request
108
108
  */
109
- export declare type UpdatePublishingChannelResponse = PublishingChannelResponse;
109
+ export type UpdatePublishingChannelResponse = PublishingChannelResponse;
110
110
  /**
111
111
  * Request for list in PublishingChannelFacade
112
112
  */
113
- export declare type ListPublishingChannelRequest = {
113
+ export type ListPublishingChannelRequest = {
114
114
  /**
115
115
  * object whose property will be used to filter the list
116
116
  */
@@ -128,11 +128,11 @@ export declare type ListPublishingChannelRequest = {
128
128
  /**
129
129
  * This type represent the response of a list publishing channel API request
130
130
  */
131
- export declare type ListPublishingChannelsResponse = PublishingChannelResponse[];
131
+ export type ListPublishingChannelsResponse = PublishingChannelResponse[];
132
132
  /**
133
133
  * Request for toggleArchived method on PublishingChannelFacade
134
134
  */
135
- export declare type ToggleArchivedPublishingChannelRequest = {
135
+ export type ToggleArchivedPublishingChannelRequest = {
136
136
  /**
137
137
  * The unique publishing channel id
138
138
  */
@@ -145,4 +145,4 @@ export declare type ToggleArchivedPublishingChannelRequest = {
145
145
  /**
146
146
  * Response for toggleArchived method on PublishingChannelFacade
147
147
  */
148
- export declare type ToggleArchivedPublishingChannelResponse = PublishingChannelResponse;
148
+ export type ToggleArchivedPublishingChannelResponse = PublishingChannelResponse;
@@ -8,7 +8,7 @@ import { ContentTranslation, ContentTranslationStatus } from './ContentTranslati
8
8
  /**
9
9
  * This type represent the content unique id type
10
10
  */
11
- export declare type ContentId = number;
11
+ export type ContentId = number;
12
12
  /**
13
13
  * This enum represent the possible content status
14
14
  */
@@ -20,7 +20,7 @@ export declare enum ContentsStatus {
20
20
  /**
21
21
  * This type represent the model of facet
22
22
  */
23
- export declare type Facet = {
23
+ export type Facet = {
24
24
  /**
25
25
  * The key of the facet
26
26
  */
@@ -37,7 +37,7 @@ export declare type Facet = {
37
37
  /**
38
38
  * This type represent the model of an indexed content value
39
39
  */
40
- export declare type IndexedContent = {
40
+ export type IndexedContent = {
41
41
  /**
42
42
  * THe list of facet field in a content
43
43
  */
@@ -64,11 +64,11 @@ export interface ArrayPathItem {
64
64
  /**
65
65
  * This type represent the linked content item field path inside the content
66
66
  */
67
- export declare type FieldPath = (ArrayPathItem | PathItem)[];
67
+ export type FieldPath = (ArrayPathItem | PathItem)[];
68
68
  /**
69
69
  * This type represent the model of a linked content info inside a content
70
70
  */
71
- export declare type LinkedContentInfo = {
71
+ export type LinkedContentInfo = {
72
72
  /**
73
73
  * The path to reach the linked content inside the content as an array of items
74
74
  */
@@ -85,7 +85,7 @@ export declare type LinkedContentInfo = {
85
85
  /**
86
86
  * This type represent the model of a linked contents inside the content retrieved
87
87
  */
88
- export declare type LinkedContentsInfo = {
88
+ export type LinkedContentsInfo = {
89
89
  /**
90
90
  * The list of linked contents inside in the content retrieved
91
91
  */
@@ -94,7 +94,7 @@ export declare type LinkedContentsInfo = {
94
94
  /**
95
95
  * This type represent the model of a content publishing status
96
96
  */
97
- export declare type ContentStatus = {
97
+ export type ContentStatus = {
98
98
  /**
99
99
  * The unique content id
100
100
  */
@@ -159,7 +159,7 @@ export declare type ContentStatus = {
159
159
  /**
160
160
  * This type represent the data needed to make a create content API request
161
161
  */
162
- export declare type CreateContentRequest = {
162
+ export type CreateContentRequest = {
163
163
  /**
164
164
  * The content name
165
165
  */
@@ -204,11 +204,19 @@ export declare type CreateContentRequest = {
204
204
  * Controls if translations should be ignored when publishing
205
205
  */
206
206
  contentLocalizationSettings?: LocalizationSettings;
207
+ /**
208
+ * will bypass content definition mnemonicId validation for every linked-content field
209
+ */
210
+ bypassLinkedContentValidation?: boolean;
211
+ /**
212
+ * set an identifier coming from a third party application
213
+ */
214
+ externalIdentifier?: string;
207
215
  };
208
216
  /**
209
217
  * This type represent the data needed to make a update content API request
210
218
  */
211
- export declare type UpdateContentRequest = {
219
+ export type UpdateContentRequest = {
212
220
  /**
213
221
  * The unique content id
214
222
  */
@@ -253,11 +261,19 @@ export declare type UpdateContentRequest = {
253
261
  * Controls if translations should be ignored when publishing
254
262
  */
255
263
  contentLocalizationSettings?: LocalizationSettings;
264
+ /**
265
+ * will bypass content definition mnemonicId validation for every linked-content field
266
+ */
267
+ bypassLinkedContentValidation?: boolean;
268
+ /**
269
+ * set an identifier coming from a third party application
270
+ */
271
+ externalIdentifier?: string;
256
272
  };
257
273
  /**
258
274
  * This type represent the data that can be used to filter a list of contents
259
275
  */
260
- export declare type ListContentsFilters = {
276
+ export type ListContentsFilters = {
261
277
  /**
262
278
  * This filter is used to search contents that contain the value inserted
263
279
  */
@@ -294,7 +310,7 @@ export declare type ListContentsFilters = {
294
310
  /**
295
311
  * This type represent the data needed to make a list content API request
296
312
  */
297
- export declare type ListContentsRequest = {
313
+ export type ListContentsRequest = {
298
314
  /**
299
315
  * The contents to skip (used to paginate the result)
300
316
  */
@@ -311,7 +327,7 @@ export declare type ListContentsRequest = {
311
327
  /**
312
328
  * This type represent the model of the single content returned from the list of content API request
313
329
  */
314
- export declare type ListContentsItem = {
330
+ export type ListContentsItem = {
315
331
  /**
316
332
  * The unique content id
317
333
  */
@@ -422,11 +438,11 @@ export declare type ListContentsItem = {
422
438
  /**
423
439
  * This type represent the response of the list content API request
424
440
  */
425
- export declare type ListContentsResponse = PagedListResponse<ListContentsItem>;
441
+ export type ListContentsResponse = PagedListResponse<ListContentsItem>;
426
442
  /**
427
443
  * This type represent the data needed to make a duplicate content API request
428
444
  */
429
- export declare type DuplicateContentRequest = {
445
+ export type DuplicateContentRequest = {
430
446
  /**
431
447
  * The unique content id to duplicate
432
448
  */
@@ -435,7 +451,7 @@ export declare type DuplicateContentRequest = {
435
451
  /**
436
452
  * This type represent the response of the duplicate content API request
437
453
  */
438
- export declare type DuplicateContentResponse = {
454
+ export type DuplicateContentResponse = {
439
455
  /**
440
456
  * The duplicated content unique id
441
457
  */
@@ -444,7 +460,7 @@ export declare type DuplicateContentResponse = {
444
460
  /**
445
461
  * This type represent the data needed to make a get content API request
446
462
  */
447
- export declare type GetContentRequest = {
463
+ export type GetContentRequest = {
448
464
  /**
449
465
  * The unique content id to retrieve
450
466
  */
@@ -457,7 +473,7 @@ export declare type GetContentRequest = {
457
473
  /**
458
474
  * This type represent the model of a content
459
475
  */
460
- export declare type ContentResponse = {
476
+ export type ContentResponse = {
461
477
  /**
462
478
  * The unique content id
463
479
  */
@@ -554,15 +570,19 @@ export declare type ContentResponse = {
554
570
  * Content's locale
555
571
  */
556
572
  locale: string;
573
+ /**
574
+ * Content's external identifier
575
+ */
576
+ externalIdentifier?: string;
557
577
  };
558
578
  /**
559
579
  * This type represent the model of a linked content
560
580
  */
561
- export declare type LinkingContents = ContentResponse;
581
+ export type LinkingContents = ContentResponse;
562
582
  /**
563
583
  * This type represent the response of a get content API request
564
584
  */
565
- export declare type GetContentResponse = {
585
+ export type GetContentResponse = {
566
586
  /**
567
587
  * The requested content
568
588
  */
@@ -575,15 +595,15 @@ export declare type GetContentResponse = {
575
595
  /**
576
596
  * This type represent the response of a create content API request
577
597
  */
578
- export declare type CreateContentResponse = ContentResponse;
598
+ export type CreateContentResponse = ContentResponse;
579
599
  /**
580
600
  * This type represent the response of an update content API request
581
601
  */
582
- export declare type UpdateContentResponse = ContentResponse;
602
+ export type UpdateContentResponse = ContentResponse;
583
603
  /**
584
604
  * This type represent the data needed to make a list public id API request
585
605
  */
586
- export declare type ListPublicIdsRequest = {
606
+ export type ListPublicIdsRequest = {
587
607
  /**
588
608
  * The admitted filters in the request
589
609
  */
@@ -601,11 +621,11 @@ export declare type ListPublicIdsRequest = {
601
621
  /**
602
622
  * This type represent the response of a list public id API request
603
623
  */
604
- export declare type ListPublicIdsResponse = string[];
624
+ export type ListPublicIdsResponse = string[];
605
625
  /**
606
626
  * This type represent the data needed to make a delete content API request
607
627
  */
608
- export declare type DeleteContentRequest = {
628
+ export type DeleteContentRequest = {
609
629
  /**
610
630
  * The unique content id to delete
611
631
  */
@@ -614,11 +634,11 @@ export declare type DeleteContentRequest = {
614
634
  /**
615
635
  * This type represent the response of a delete content API request
616
636
  */
617
- export declare type DeleteContentResponse = ContentResponse;
637
+ export type DeleteContentResponse = ContentResponse;
618
638
  /**
619
639
  * This type represent the data needed to make a toggle archive content API request
620
640
  */
621
- export declare type ToggleArchivedContentRequest = {
641
+ export type ToggleArchivedContentRequest = {
622
642
  /**
623
643
  * The unique content id where to make the toggle archive request
624
644
  */
@@ -631,7 +651,7 @@ export declare type ToggleArchivedContentRequest = {
631
651
  /**
632
652
  * This type represent the response of a toggle archive content API request
633
653
  */
634
- export declare type ToggleArchivedContentResponse = ContentResponse;
654
+ export type ToggleArchivedContentResponse = ContentResponse;
635
655
  /**
636
656
  * Thin enum represent all content fields violations error codes
637
657
  */
@@ -689,7 +709,7 @@ export declare enum ContentFieldViolationCodes {
689
709
  /**
690
710
  * Request type for getContentStatus
691
711
  */
692
- export declare type GetContentStatusRequest = {
712
+ export type GetContentStatusRequest = {
693
713
  /**
694
714
  * Id of the content required to get its status
695
715
  */
@@ -698,11 +718,11 @@ export declare type GetContentStatusRequest = {
698
718
  /**
699
719
  * Response type for getContentStatus
700
720
  */
701
- export declare type GetContentStatusResponse = ContentStatus[];
721
+ export type GetContentStatusResponse = ContentStatus[];
702
722
  /**
703
723
  * Request type for changeLocale
704
724
  */
705
- export declare type ChangeLocaleRequest = {
725
+ export type ChangeLocaleRequest = {
706
726
  /**
707
727
  * Id of the content whose locale you'd like to change
708
728
  */
@@ -712,13 +732,13 @@ export declare type ChangeLocaleRequest = {
712
732
  */
713
733
  locale: string;
714
734
  };
715
- export declare type ChangeLocaleResponse = ContentResponse;
735
+ export type ChangeLocaleResponse = ContentResponse;
716
736
  export declare enum LocalizationSettings {
717
737
  DEFAULT = "default",
718
738
  MAIN = "main"
719
739
  }
720
- export declare type ToggleContentTranslationsRequest = {
740
+ export type ToggleContentTranslationsRequest = {
721
741
  contentId: ContentId;
722
742
  localizationSettings: LocalizationSettings;
723
743
  };
724
- export declare type ToggleContentTranslationsResponse = ContentResponse;
744
+ export type ToggleContentTranslationsResponse = ContentResponse;
@@ -9,7 +9,7 @@ var ContentsStatus;
9
9
  ContentsStatus["archived"] = "archived";
10
10
  ContentsStatus["unarchived"] = "unarchived";
11
11
  ContentsStatus["all"] = "all";
12
- })(ContentsStatus = exports.ContentsStatus || (exports.ContentsStatus = {}));
12
+ })(ContentsStatus || (exports.ContentsStatus = ContentsStatus = {}));
13
13
  /**
14
14
  * Thin enum represent all content fields violations error codes
15
15
  */
@@ -64,9 +64,9 @@ var ContentFieldViolationCodes;
64
64
  ContentFieldViolationCodes["textFieldValueMissingInListOfValue"] = "textField.valueMissingInListOfValue";
65
65
  ContentFieldViolationCodes["textFieldValueIsNotAString"] = "textField.valueIsNotAString";
66
66
  ContentFieldViolationCodes["textFieldBlankValueNotAllowed"] = "textField.blankValueNotAllowed";
67
- })(ContentFieldViolationCodes = exports.ContentFieldViolationCodes || (exports.ContentFieldViolationCodes = {}));
67
+ })(ContentFieldViolationCodes || (exports.ContentFieldViolationCodes = ContentFieldViolationCodes = {}));
68
68
  var LocalizationSettings;
69
69
  (function (LocalizationSettings) {
70
70
  LocalizationSettings["DEFAULT"] = "default";
71
71
  LocalizationSettings["MAIN"] = "main";
72
- })(LocalizationSettings = exports.LocalizationSettings || (exports.LocalizationSettings = {}));
72
+ })(LocalizationSettings || (exports.LocalizationSettings = LocalizationSettings = {}));