@digdir/dialogporten-schema 1.117.1-d789106 → 1.117.2-e4c0e81

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digdir/dialogporten-schema",
3
- "version": "1.117.1-d789106",
3
+ "version": "1.117.2-e4c0e81",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "24"
@@ -4,24 +4,24 @@
4
4
  subscription: Subscriptions
5
5
  }
6
6
 
7
- interface BulkSetSystemLabelError {
8
- message: String!
9
- }
10
-
11
- interface DialogByIdError {
12
- message: String!
13
- }
14
-
15
- interface DialogLookupError {
16
- message: String!
7
+ type Queries @authorize(policy: "enduser") {
8
+ dialogLookup(instanceRef: String!): DialogLookupPayload!
9
+ dialogById(dialogId: UUID!): DialogByIdPayload!
10
+ searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
11
+ limits: Limits!
12
+ parties: [AuthorizedParty!]!
13
+ serviceResources: ServiceResourceMetadata!
17
14
  }
18
15
 
19
- interface SearchDialogError {
20
- message: String!
16
+ type Mutations @authorize(policy: "enduser") {
17
+ setSystemLabel(input: SetSystemLabelInput!): SetSystemLabelPayload!
18
+ bulkSetSystemLabels(input: BulkSetSystemLabelInput!): BulkSetSystemLabelPayload!
21
19
  }
22
20
 
23
- interface SetSystemLabelError {
24
- message: String!
21
+ type Subscriptions {
22
+ "Requires a dialog token in the 'Authorization' header."
23
+ dialogEvents(dialogId: UUID!): DialogEventPayload!
24
+ @authorize(policy: "enduserSubscription", apply: VALIDATION)
25
25
  }
26
26
 
27
27
  type Activity {
@@ -215,7 +215,7 @@ type Dialog {
215
215
  status: DialogStatus!
216
216
  """
217
217
  Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.
218
- A Transmission is considered "sent from the service owner" if the DialogTransmissionType is not one of Submission or Correction
218
+ A Transmission is considered "sent from the service owner" if the DialogTransmissionType is not one of Submission or Correction.
219
219
  The value of this field is:
220
220
  - true when there are any new unopened Transmissions sent from the service owner.
221
221
  - false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.
@@ -401,20 +401,6 @@ type Localization {
401
401
  languageCode: String!
402
402
  }
403
403
 
404
- type Mutations @authorize(policy: "enduser") {
405
- setSystemLabel(input: SetSystemLabelInput!): SetSystemLabelPayload!
406
- bulkSetSystemLabels(input: BulkSetSystemLabelInput!): BulkSetSystemLabelPayload!
407
- }
408
-
409
- type Queries @authorize(policy: "enduser") {
410
- dialogLookup(instanceRef: String!): DialogLookupPayload!
411
- dialogById(dialogId: UUID!): DialogByIdPayload!
412
- searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
413
- limits: Limits!
414
- parties: [AuthorizedParty!]!
415
- serviceResources: ServiceResourceMetadata!
416
- }
417
-
418
404
  type SearchContent {
419
405
  "The title of the dialog."
420
406
  title: ContentValue!
@@ -461,7 +447,7 @@ type SearchDialog {
461
447
  status: DialogStatus!
462
448
  """
463
449
  Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.
464
- A Transmission is considered "sent from the service owner" if the DialogTransmissionType is not one of Submission or Correction
450
+ A Transmission is considered "sent from the service owner" if the DialogTransmissionType is not one of Submission or Correction.
465
451
  The value of this field is:
466
452
  - true when there are any new unopened Transmissions sent from the service owner.
467
453
  - false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.
@@ -518,10 +504,6 @@ type SearchDialogSortType {
518
504
  contentUpdatedAt: OrderDirection
519
505
  }
520
506
 
521
- type SearchDialogValidationError implements SearchDialogError {
522
- message: String!
523
- }
524
-
525
507
  type SearchDialogsPayload {
526
508
  items: [SearchDialog!]
527
509
  hasNextPage: Boolean!
@@ -531,6 +513,10 @@ type SearchDialogsPayload {
531
513
  errors: [SearchDialogError!]!
532
514
  }
533
515
 
516
+ type SearchDialogValidationError implements SearchDialogError {
517
+ message: String!
518
+ }
519
+
534
520
  type SeenLog {
535
521
  id: UUID!
536
522
  seenAt: DateTime!
@@ -619,11 +605,6 @@ type SetSystemLabelValidationError implements SetSystemLabelError {
619
605
  message: String!
620
606
  }
621
607
 
622
- type Subscriptions {
623
- "Requires a dialog token in the 'Authorization' header."
624
- dialogEvents(dialogId: UUID!): DialogEventPayload! @authorize(policy: "enduserSubscription", apply: VALIDATION)
625
- }
626
-
627
608
  type Transmission {
628
609
  "The unique identifier for the transmission in UUIDv7 format."
629
610
  id: UUID!
@@ -633,7 +614,7 @@ type Transmission {
633
614
  authorizationAttribute: String
634
615
  "Flag indicating if the authenticated user is authorized for this transmission. If not, embedded content and the attachments will not be available."
635
616
  isAuthorized: Boolean!
636
- "Arbitrary URI\/URN describing a service-specific transmission type. Refer to the service-specific documentation provided by the service owner for details (if in use)."
617
+ "Arbitrary URI/URN describing a service-specific transmission type. Refer to the service-specific documentation provided by the service owner for details (if in use)."
637
618
  extendedType: URL
638
619
  "Arbitrary string with a service-specific reference to an external system or service."
639
620
  externalReference: String
@@ -671,6 +652,26 @@ type TransmissionNavigationalAction {
671
652
  expiresAt: DateTime
672
653
  }
673
654
 
655
+ interface BulkSetSystemLabelError {
656
+ message: String!
657
+ }
658
+
659
+ interface DialogByIdError {
660
+ message: String!
661
+ }
662
+
663
+ interface DialogLookupError {
664
+ message: String!
665
+ }
666
+
667
+ interface SearchDialogError {
668
+ message: String!
669
+ }
670
+
671
+ interface SetSystemLabelError {
672
+ message: String!
673
+ }
674
+
674
675
  input BulkSetSystemLabelInput {
675
676
  dialogs: [DialogRevisionInput!]!
676
677
  "List of system labels to add to the target dialogs. If multiple instances of 'bin', 'archive', or 'default' are provided, the last one will be used."
@@ -711,7 +712,7 @@ input SearchDialogInput {
711
712
  contentUpdatedAfter: DateTime
712
713
  "Only return dialogs with content updated before this date"
713
714
  contentUpdatedBefore: DateTime
714
- "Only return dialogs that have content that has\/hasn't been seen by the user. A dialog is considered seen if it has been retrieved by a user, since it's last content update, and there is no SystemLabel MarkedAsUnopened."
715
+ "Only return dialogs that have content that has/hasn't been seen by the user. A dialog is considered seen if it has been retrieved by a user, since it's last content update, and there is no SystemLabel MarkedAsUnopened."
715
716
  isContentSeen: Boolean
716
717
  "Only return dialogs updated after this date"
717
718
  updatedAfter: DateTime
@@ -825,7 +826,7 @@ enum DialogStatus {
825
826
  DRAFT
826
827
  "Awaiting action by the service owner. Indicates that the dialog is in a state where the party representative has no further tasks, and the responsibility lies with the service owner."
827
828
  AWAITING
828
- "Used to indicate that the dialogue is in progress\/under work, but is in a state where the user must do something - for example, correct an error, or other conditions that hinder further processing."
829
+ "Used to indicate that the dialogue is in progress/under work, but is in a state where the user must do something - for example, correct an error, or other conditions that hinder further processing."
829
830
  REQUIRES_ATTENTION
830
831
  "The dialogue was completed. This typically means that the dialogue is moved to a GUI archive or similar."
831
832
  COMPLETED
@@ -867,31 +868,39 @@ enum SystemLabel {
867
868
  enum TransmissionType {
868
869
  "For general information, not related to any submissions"
869
870
  INFORMATION
870
- "Feedback\/receipt accepting a previous submission"
871
+ "Feedback/receipt accepting a previous submission"
871
872
  ACCEPTANCE
872
- "Feedback\/error message rejecting a previous submission"
873
+ "Feedback/error message rejecting a previous submission"
873
874
  REJECTION
874
- "Question\/request for more information"
875
+ "Question/request for more information"
875
876
  REQUEST
876
877
  "Critical information about the process"
877
878
  ALERT
878
879
  "Information about a formal decision ('resolution')"
879
880
  DECISION
880
- "A normal submission of some information\/form"
881
+ "A normal submission of some information/form"
881
882
  SUBMISSION
882
- "A submission correcting\/overriding some previously submitted information"
883
+ "A submission correcting/overriding some previously submitted information"
883
884
  CORRECTION
884
885
  }
885
886
 
886
- "The authorize directive."
887
- directive @authorize("The name of the authorization policy that determines access to the annotated resource." policy: String "Roles that are allowed to access the annotated resource." roles: [String!] "Defines when when the authorize directive shall be applied.By default the authorize directives are applied during the validation phase." apply: ApplyPolicy! = BEFORE_RESOLVER) repeatable on OBJECT | FIELD_DEFINITION
888
-
889
- "The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions."
890
- directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR
887
+ "The `DateTime` scalar type represents a date and time with time zone offset information."
888
+ scalar DateTime
889
+ @specifiedBy(url: "https://scalars.graphql.org/chillicream/date-time.html")
891
890
 
892
- "The `DateTime` scalar represents an ISO-8601 compliant date time type."
893
- scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time")
891
+ "The `URL` scalar type represents a Uniform Resource Locator (URL) as defined by RFC 3986."
892
+ scalar URL @specifiedBy(url: "https://scalars.graphql.org/chillicream/url.html")
894
893
 
895
- scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
894
+ "The `UUID` scalar type represents a Universally Unique Identifier (UUID) as defined by RFC 9562."
895
+ scalar UUID
896
+ @specifiedBy(url: "https://scalars.graphql.org/chillicream/uuid.html")
896
897
 
897
- scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
898
+ "The authorize directive."
899
+ directive @authorize(
900
+ "The name of the authorization policy that determines access to the annotated resource."
901
+ policy: String
902
+ "Roles that are allowed to access the annotated resource."
903
+ roles: [String!]
904
+ "Defines when the authorize directive shall be applied. By default the authorize directive is applied before the resolver is executed."
905
+ apply: ApplyPolicy! = BEFORE_RESOLVER
906
+ ) repeatable on OBJECT | FIELD_DEFINITION
package/src/index.js CHANGED
@@ -4,24 +4,24 @@ export const schema_verified_graphql = `schema {
4
4
  subscription: Subscriptions
5
5
  }
6
6
 
7
- interface BulkSetSystemLabelError {
8
- message: String!
9
- }
10
-
11
- interface DialogByIdError {
12
- message: String!
13
- }
14
-
15
- interface DialogLookupError {
16
- message: String!
7
+ type Queries @authorize(policy: "enduser") {
8
+ dialogLookup(instanceRef: String!): DialogLookupPayload!
9
+ dialogById(dialogId: UUID!): DialogByIdPayload!
10
+ searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
11
+ limits: Limits!
12
+ parties: [AuthorizedParty!]!
13
+ serviceResources: ServiceResourceMetadata!
17
14
  }
18
15
 
19
- interface SearchDialogError {
20
- message: String!
16
+ type Mutations @authorize(policy: "enduser") {
17
+ setSystemLabel(input: SetSystemLabelInput!): SetSystemLabelPayload!
18
+ bulkSetSystemLabels(input: BulkSetSystemLabelInput!): BulkSetSystemLabelPayload!
21
19
  }
22
20
 
23
- interface SetSystemLabelError {
24
- message: String!
21
+ type Subscriptions {
22
+ "Requires a dialog token in the 'Authorization' header."
23
+ dialogEvents(dialogId: UUID!): DialogEventPayload!
24
+ @authorize(policy: "enduserSubscription", apply: VALIDATION)
25
25
  }
26
26
 
27
27
  type Activity {
@@ -215,7 +215,7 @@ type Dialog {
215
215
  status: DialogStatus!
216
216
  """
217
217
  Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.
218
- A Transmission is considered "sent from the service owner" if the DialogTransmissionType is not one of Submission or Correction
218
+ A Transmission is considered "sent from the service owner" if the DialogTransmissionType is not one of Submission or Correction.
219
219
  The value of this field is:
220
220
  - true when there are any new unopened Transmissions sent from the service owner.
221
221
  - false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.
@@ -401,20 +401,6 @@ type Localization {
401
401
  languageCode: String!
402
402
  }
403
403
 
404
- type Mutations @authorize(policy: "enduser") {
405
- setSystemLabel(input: SetSystemLabelInput!): SetSystemLabelPayload!
406
- bulkSetSystemLabels(input: BulkSetSystemLabelInput!): BulkSetSystemLabelPayload!
407
- }
408
-
409
- type Queries @authorize(policy: "enduser") {
410
- dialogLookup(instanceRef: String!): DialogLookupPayload!
411
- dialogById(dialogId: UUID!): DialogByIdPayload!
412
- searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
413
- limits: Limits!
414
- parties: [AuthorizedParty!]!
415
- serviceResources: ServiceResourceMetadata!
416
- }
417
-
418
404
  type SearchContent {
419
405
  "The title of the dialog."
420
406
  title: ContentValue!
@@ -461,7 +447,7 @@ type SearchDialog {
461
447
  status: DialogStatus!
462
448
  """
463
449
  Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.
464
- A Transmission is considered "sent from the service owner" if the DialogTransmissionType is not one of Submission or Correction
450
+ A Transmission is considered "sent from the service owner" if the DialogTransmissionType is not one of Submission or Correction.
465
451
  The value of this field is:
466
452
  - true when there are any new unopened Transmissions sent from the service owner.
467
453
  - false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.
@@ -518,10 +504,6 @@ type SearchDialogSortType {
518
504
  contentUpdatedAt: OrderDirection
519
505
  }
520
506
 
521
- type SearchDialogValidationError implements SearchDialogError {
522
- message: String!
523
- }
524
-
525
507
  type SearchDialogsPayload {
526
508
  items: [SearchDialog!]
527
509
  hasNextPage: Boolean!
@@ -531,6 +513,10 @@ type SearchDialogsPayload {
531
513
  errors: [SearchDialogError!]!
532
514
  }
533
515
 
516
+ type SearchDialogValidationError implements SearchDialogError {
517
+ message: String!
518
+ }
519
+
534
520
  type SeenLog {
535
521
  id: UUID!
536
522
  seenAt: DateTime!
@@ -619,11 +605,6 @@ type SetSystemLabelValidationError implements SetSystemLabelError {
619
605
  message: String!
620
606
  }
621
607
 
622
- type Subscriptions {
623
- "Requires a dialog token in the 'Authorization' header."
624
- dialogEvents(dialogId: UUID!): DialogEventPayload! @authorize(policy: "enduserSubscription", apply: VALIDATION)
625
- }
626
-
627
608
  type Transmission {
628
609
  "The unique identifier for the transmission in UUIDv7 format."
629
610
  id: UUID!
@@ -633,7 +614,7 @@ type Transmission {
633
614
  authorizationAttribute: String
634
615
  "Flag indicating if the authenticated user is authorized for this transmission. If not, embedded content and the attachments will not be available."
635
616
  isAuthorized: Boolean!
636
- "Arbitrary URI\/URN describing a service-specific transmission type. Refer to the service-specific documentation provided by the service owner for details (if in use)."
617
+ "Arbitrary URI/URN describing a service-specific transmission type. Refer to the service-specific documentation provided by the service owner for details (if in use)."
637
618
  extendedType: URL
638
619
  "Arbitrary string with a service-specific reference to an external system or service."
639
620
  externalReference: String
@@ -671,6 +652,26 @@ type TransmissionNavigationalAction {
671
652
  expiresAt: DateTime
672
653
  }
673
654
 
655
+ interface BulkSetSystemLabelError {
656
+ message: String!
657
+ }
658
+
659
+ interface DialogByIdError {
660
+ message: String!
661
+ }
662
+
663
+ interface DialogLookupError {
664
+ message: String!
665
+ }
666
+
667
+ interface SearchDialogError {
668
+ message: String!
669
+ }
670
+
671
+ interface SetSystemLabelError {
672
+ message: String!
673
+ }
674
+
674
675
  input BulkSetSystemLabelInput {
675
676
  dialogs: [DialogRevisionInput!]!
676
677
  "List of system labels to add to the target dialogs. If multiple instances of 'bin', 'archive', or 'default' are provided, the last one will be used."
@@ -711,7 +712,7 @@ input SearchDialogInput {
711
712
  contentUpdatedAfter: DateTime
712
713
  "Only return dialogs with content updated before this date"
713
714
  contentUpdatedBefore: DateTime
714
- "Only return dialogs that have content that has\/hasn't been seen by the user. A dialog is considered seen if it has been retrieved by a user, since it's last content update, and there is no SystemLabel MarkedAsUnopened."
715
+ "Only return dialogs that have content that has/hasn't been seen by the user. A dialog is considered seen if it has been retrieved by a user, since it's last content update, and there is no SystemLabel MarkedAsUnopened."
715
716
  isContentSeen: Boolean
716
717
  "Only return dialogs updated after this date"
717
718
  updatedAfter: DateTime
@@ -825,7 +826,7 @@ enum DialogStatus {
825
826
  DRAFT
826
827
  "Awaiting action by the service owner. Indicates that the dialog is in a state where the party representative has no further tasks, and the responsibility lies with the service owner."
827
828
  AWAITING
828
- "Used to indicate that the dialogue is in progress\/under work, but is in a state where the user must do something - for example, correct an error, or other conditions that hinder further processing."
829
+ "Used to indicate that the dialogue is in progress/under work, but is in a state where the user must do something - for example, correct an error, or other conditions that hinder further processing."
829
830
  REQUIRES_ATTENTION
830
831
  "The dialogue was completed. This typically means that the dialogue is moved to a GUI archive or similar."
831
832
  COMPLETED
@@ -867,31 +868,39 @@ enum SystemLabel {
867
868
  enum TransmissionType {
868
869
  "For general information, not related to any submissions"
869
870
  INFORMATION
870
- "Feedback\/receipt accepting a previous submission"
871
+ "Feedback/receipt accepting a previous submission"
871
872
  ACCEPTANCE
872
- "Feedback\/error message rejecting a previous submission"
873
+ "Feedback/error message rejecting a previous submission"
873
874
  REJECTION
874
- "Question\/request for more information"
875
+ "Question/request for more information"
875
876
  REQUEST
876
877
  "Critical information about the process"
877
878
  ALERT
878
879
  "Information about a formal decision ('resolution')"
879
880
  DECISION
880
- "A normal submission of some information\/form"
881
+ "A normal submission of some information/form"
881
882
  SUBMISSION
882
- "A submission correcting\/overriding some previously submitted information"
883
+ "A submission correcting/overriding some previously submitted information"
883
884
  CORRECTION
884
885
  }
885
886
 
886
- "The authorize directive."
887
- directive @authorize("The name of the authorization policy that determines access to the annotated resource." policy: String "Roles that are allowed to access the annotated resource." roles: [String!] "Defines when when the authorize directive shall be applied.By default the authorize directives are applied during the validation phase." apply: ApplyPolicy! = BEFORE_RESOLVER) repeatable on OBJECT | FIELD_DEFINITION
888
-
889
- "The '@specifiedBy' directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions."
890
- directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR
887
+ "The 'DateTime' scalar type represents a date and time with time zone offset information."
888
+ scalar DateTime
889
+ @specifiedBy(url: "https://scalars.graphql.org/chillicream/date-time.html")
891
890
 
892
- "The 'DateTime' scalar represents an ISO-8601 compliant date time type."
893
- scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time")
891
+ "The 'URL' scalar type represents a Uniform Resource Locator (URL) as defined by RFC 3986."
892
+ scalar URL @specifiedBy(url: "https://scalars.graphql.org/chillicream/url.html")
894
893
 
895
- scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
894
+ "The 'UUID' scalar type represents a Universally Unique Identifier (UUID) as defined by RFC 9562."
895
+ scalar UUID
896
+ @specifiedBy(url: "https://scalars.graphql.org/chillicream/uuid.html")
896
897
 
897
- scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")`
898
+ "The authorize directive."
899
+ directive @authorize(
900
+ "The name of the authorization policy that determines access to the annotated resource."
901
+ policy: String
902
+ "Roles that are allowed to access the annotated resource."
903
+ roles: [String!]
904
+ "Defines when the authorize directive shall be applied. By default the authorize directive is applied before the resolver is executed."
905
+ apply: ApplyPolicy! = BEFORE_RESOLVER
906
+ ) repeatable on OBJECT | FIELD_DEFINITION`
@@ -916,7 +916,7 @@
916
916
  "type": "array"
917
917
  },
918
918
  "hasUnopenedContent": {
919
- "description": "Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.\nA Transmission is considered \u0022sent from the service owner\u0022 if the DialogTransmissionType is not one of Submission or Correction\nThe value of this field is:\n- true when there are any new unopened Transmissions sent from the service owner.\n- false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.\n \nNote that the value is\n- determined by the service owner and not to be confused with IsContentSeen\n- not affected by SystemLabels\n \nFor correspondence: HasUnopenedContent is still true until the service owner also adds a Dialog level Activity (no transmission id) of type CorrespondenceOpened",
919
+ "description": "Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.\nA Transmission is considered \u0022sent from the service owner\u0022 if the DialogTransmissionType is not one of Submission or Correction.\n \nThe value of this field is:\n- true when there are any new unopened Transmissions sent from the service owner.\n- false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.\n \nNote that the value is\n- determined by the service owner and not to be confused with IsContentSeen\n- not affected by SystemLabels\n \nFor correspondence: HasUnopenedContent is still true until the service owner also adds a Dialog level Activity (no transmission id) of type CorrespondenceOpened",
920
920
  "type": "boolean"
921
921
  },
922
922
  "id": {
@@ -1945,7 +1945,8 @@
1945
1945
  "additionalProperties": false,
1946
1946
  "properties": {
1947
1947
  "content": {
1948
- "description": "The content of the dialog in search results.",
1948
+ "description": "The content of the dialog in search results. May be null for API-only dialogs, which are not required to have content.",
1949
+ "nullable": true,
1949
1950
  "oneOf": [
1950
1951
  {
1951
1952
  "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_Content"
@@ -2006,7 +2007,7 @@
2006
2007
  "type": "integer"
2007
2008
  },
2008
2009
  "hasUnopenedContent": {
2009
- "description": "Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.\nA Transmission is considered \u0022sent from the service owner\u0022 if the DialogTransmissionType is not one of Submission or Correction\nThe value of this field is:\n- true when there are any new unopened Transmissions sent from the service owner.\n- false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.\n \nNote that the value is\n- determined by the service owner and not to be confused with IsContentSeen\n- not affected by SystemLabels\n \nFor correspondence: HasUnopenedContent is still true until the service owner also adds a Dialog level Activity (no transmission id) of type CorrespondenceOpened",
2010
+ "description": "Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.\nA Transmission is considered \u0022sent from the service owner\u0022 if the DialogTransmissionType is not one of Submission or Correction.\n \nThe value of this field is:\n- true when there are any new unopened Transmissions sent from the service owner.\n- false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.\n \nNote that the value is\n- determined by the service owner and not to be confused with IsContentSeen\n- not affected by SystemLabels\n \nFor correspondence: HasUnopenedContent is still true until the service owner also adds a Dialog level Activity (no transmission id) of type CorrespondenceOpened",
2010
2011
  "type": "boolean"
2011
2012
  },
2012
2013
  "id": {
@@ -5063,7 +5064,7 @@
5063
5064
  "type": "array"
5064
5065
  },
5065
5066
  "hasUnopenedContent": {
5066
- "description": "Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.\nA Transmission is considered \u0022sent from the service owner\u0022 if the DialogTransmissionType is not one of Submission or Correction\nThe value of this field is:\n- true when there are any new unopened Transmissions sent from the service owner.\n- false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.\n \nNote that the value is\n- determined by the service owner and not to be confused with IsContentSeen\n- not affected by SystemLabels\n \nFor correspondence: HasUnopenedContent is still true until the service owner also adds a Dialog level Activity (no transmission id) of type CorrespondenceOpened",
5067
+ "description": "Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.\nA Transmission is considered \u0022sent from the service owner\u0022 if the DialogTransmissionType is not one of Submission or Correction.\n \nThe value of this field is:\n- true when there are any new unopened Transmissions sent from the service owner.\n- false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.\n \nNote that the value is\n- determined by the service owner and not to be confused with IsContentSeen\n- not affected by SystemLabels\n \nFor correspondence: HasUnopenedContent is still true until the service owner also adds a Dialog level Activity (no transmission id) of type CorrespondenceOpened",
5067
5068
  "type": "boolean"
5068
5069
  },
5069
5070
  "id": {
@@ -6224,7 +6225,7 @@
6224
6225
  "type": "integer"
6225
6226
  },
6226
6227
  "hasUnopenedContent": {
6227
- "description": "Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.\nA Transmission is considered \u0022sent from the service owner\u0022 if the DialogTransmissionType is not one of Submission or Correction\nThe value of this field is:\n- true when there are any new unopened Transmissions sent from the service owner.\n- false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.\n \nNote that the value is\n- determined by the service owner and not to be confused with IsContentSeen\n- not affected by SystemLabels\n \nFor correspondence: HasUnopenedContent is still true until the service owner also adds a Dialog level Activity (no transmission id) of type CorrespondenceOpened",
6228
+ "description": "Whether the service owner has not yet reported all dialog Transmissions they sent as seen by the end user.\nA Transmission is considered \u0022sent from the service owner\u0022 if the DialogTransmissionType is not one of Submission or Correction.\n \nThe value of this field is:\n- true when there are any new unopened Transmissions sent from the service owner.\n- false when the service owner has created an Activity of type TransmissionOpened for all Transmissions sent from the service owner. The Activities must each contain the relevant Id for all relevant Transmissions.\n \nNote that the value is\n- determined by the service owner and not to be confused with IsContentSeen\n- not affected by SystemLabels\n \nFor correspondence: HasUnopenedContent is still true until the service owner also adds a Dialog level Activity (no transmission id) of type CorrespondenceOpened",
6228
6229
  "type": "boolean"
6229
6230
  },
6230
6231
  "id": {