@digdir/dialogporten-schema 1.111.0 → 1.112.0-12ccdf2
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 +1 -1
- package/schema.verified.graphql +4 -2
- package/src/index.js +4 -2
- package/swagger.verified.json +51 -44
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -429,8 +429,8 @@ type SearchDialog {
|
|
|
429
429
|
"The aggregated status of the dialog."
|
|
430
430
|
status: DialogStatus!
|
|
431
431
|
"Indicates whether the dialog contains content that has not been viewed or opened by the user yet."
|
|
432
|
-
hasUnopenedContent: Boolean!
|
|
433
|
-
"Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
|
|
432
|
+
hasUnopenedContent: Boolean! @deprecated(reason: "Use SeenSinceLastContentUpdate and EndUserContext.SystemLabels instead")
|
|
433
|
+
"Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans."
|
|
434
434
|
isApiOnly: Boolean!
|
|
435
435
|
"The number of transmissions sent by the service owner"
|
|
436
436
|
fromServiceOwnerTransmissionsCount: Int!
|
|
@@ -620,6 +620,8 @@ input SearchDialogInput {
|
|
|
620
620
|
contentUpdatedAfter: DateTime
|
|
621
621
|
"Only return dialogs with content updated before this date"
|
|
622
622
|
contentUpdatedBefore: DateTime
|
|
623
|
+
"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."
|
|
624
|
+
isContentSeen: Boolean
|
|
623
625
|
"Only return dialogs updated after this date"
|
|
624
626
|
updatedAfter: DateTime
|
|
625
627
|
"Only return dialogs updated before this date"
|
package/src/index.js
CHANGED
|
@@ -429,8 +429,8 @@ type SearchDialog {
|
|
|
429
429
|
"The aggregated status of the dialog."
|
|
430
430
|
status: DialogStatus!
|
|
431
431
|
"Indicates whether the dialog contains content that has not been viewed or opened by the user yet."
|
|
432
|
-
hasUnopenedContent: Boolean!
|
|
433
|
-
"Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
|
|
432
|
+
hasUnopenedContent: Boolean! @deprecated(reason: "Use SeenSinceLastContentUpdate and EndUserContext.SystemLabels instead")
|
|
433
|
+
"Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans."
|
|
434
434
|
isApiOnly: Boolean!
|
|
435
435
|
"The number of transmissions sent by the service owner"
|
|
436
436
|
fromServiceOwnerTransmissionsCount: Int!
|
|
@@ -620,6 +620,8 @@ input SearchDialogInput {
|
|
|
620
620
|
contentUpdatedAfter: DateTime
|
|
621
621
|
"Only return dialogs with content updated before this date"
|
|
622
622
|
contentUpdatedBefore: DateTime
|
|
623
|
+
"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."
|
|
624
|
+
isContentSeen: Boolean
|
|
623
625
|
"Only return dialogs updated after this date"
|
|
624
626
|
updatedAfter: DateTime
|
|
625
627
|
"Only return dialogs updated before this date"
|
package/swagger.verified.json
CHANGED
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"Api"
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
|
-
"ContinuationTokenSetOfTOrderDefinitionAndTTarget": {},
|
|
29
28
|
"DialogEndUserContextsEntities_SystemLabel": {
|
|
30
29
|
"description": "",
|
|
31
30
|
"enum": [
|
|
@@ -216,7 +215,6 @@
|
|
|
216
215
|
"Invalid"
|
|
217
216
|
]
|
|
218
217
|
},
|
|
219
|
-
"OrderSetOfTOrderDefinitionAndTTarget": {},
|
|
220
218
|
"PaginatedListOfV1EndUserDialogsQueriesSearch_Dialog": {
|
|
221
219
|
"additionalProperties": false,
|
|
222
220
|
"properties": {
|
|
@@ -876,12 +874,12 @@
|
|
|
876
874
|
"type": "string"
|
|
877
875
|
},
|
|
878
876
|
"fromPartyTransmissionsCount": {
|
|
879
|
-
"description": "The number of transmissions sent by a party representative",
|
|
877
|
+
"description": "The number of transmissions sent by a party representative.",
|
|
880
878
|
"format": "int32",
|
|
881
879
|
"type": "integer"
|
|
882
880
|
},
|
|
883
881
|
"fromServiceOwnerTransmissionsCount": {
|
|
884
|
-
"description": "The number of transmissions sent by a service owner",
|
|
882
|
+
"description": "The number of transmissions sent by a service owner.",
|
|
885
883
|
"format": "int32",
|
|
886
884
|
"type": "integer"
|
|
887
885
|
},
|
|
@@ -894,8 +892,10 @@
|
|
|
894
892
|
"type": "array"
|
|
895
893
|
},
|
|
896
894
|
"hasUnopenedContent": {
|
|
897
|
-
"
|
|
898
|
-
"
|
|
895
|
+
"deprecated": true,
|
|
896
|
+
"description": "Indicates whether the dialog contains content that has not been viewed or opened by the user yet.\n \nObsolete: A dialog is now considered \u0027seen\u0027 when the dialog has:\n- At least one entry in SeenSinceLastContentUpdate and\n- No system label MarkedAsUnopened.",
|
|
897
|
+
"type": "boolean",
|
|
898
|
+
"x-deprecatedMessage": "Use SeenSinceLastContentUpdate and EndUserContext.SystemLabels instead"
|
|
899
899
|
},
|
|
900
900
|
"id": {
|
|
901
901
|
"description": "The unique identifier for the dialog in UUIDv7 format.",
|
|
@@ -1980,8 +1980,10 @@
|
|
|
1980
1980
|
"type": "integer"
|
|
1981
1981
|
},
|
|
1982
1982
|
"hasUnopenedContent": {
|
|
1983
|
-
"
|
|
1984
|
-
"
|
|
1983
|
+
"deprecated": true,
|
|
1984
|
+
"description": "Indicates whether the dialog contains content that has not been viewed or opened by the user yet.\n \nObsolete: A dialog is now considered \u0027seen\u0027 when the dialog has:\n- At least one entry in SeenSinceLastContentUpdate and\n- No system label MarkedAsUnopened.",
|
|
1985
|
+
"type": "boolean",
|
|
1986
|
+
"x-deprecatedMessage": "Use SeenSinceLastContentUpdate and EndUserContext.SystemLabels instead"
|
|
1985
1987
|
},
|
|
1986
1988
|
"id": {
|
|
1987
1989
|
"description": "The unique identifier for the dialog in UUIDv7 format.",
|
|
@@ -2207,6 +2209,13 @@
|
|
|
2207
2209
|
"format": "date-time",
|
|
2208
2210
|
"type": "string"
|
|
2209
2211
|
},
|
|
2212
|
+
"description": {
|
|
2213
|
+
"items": {
|
|
2214
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
2215
|
+
},
|
|
2216
|
+
"nullable": true,
|
|
2217
|
+
"type": "array"
|
|
2218
|
+
},
|
|
2210
2219
|
"extendedType": {
|
|
2211
2220
|
"format": "uri",
|
|
2212
2221
|
"nullable": true,
|
|
@@ -2216,10 +2225,6 @@
|
|
|
2216
2225
|
"format": "guid",
|
|
2217
2226
|
"type": "string"
|
|
2218
2227
|
},
|
|
2219
|
-
"seenByEndUserIdHash": {
|
|
2220
|
-
"nullable": true,
|
|
2221
|
-
"type": "string"
|
|
2222
|
-
},
|
|
2223
2228
|
"transmissionId": {
|
|
2224
2229
|
"format": "guid",
|
|
2225
2230
|
"nullable": true,
|
|
@@ -4868,12 +4873,12 @@
|
|
|
4868
4873
|
"type": "string"
|
|
4869
4874
|
},
|
|
4870
4875
|
"fromPartyTransmissionsCount": {
|
|
4871
|
-
"description": "The number of transmissions sent by a party representative",
|
|
4876
|
+
"description": "The number of transmissions sent by a party representative.",
|
|
4872
4877
|
"format": "int32",
|
|
4873
4878
|
"type": "integer"
|
|
4874
4879
|
},
|
|
4875
4880
|
"fromServiceOwnerTransmissionsCount": {
|
|
4876
|
-
"description": "The number of transmissions sent by the service owner",
|
|
4881
|
+
"description": "The number of transmissions sent by the service owner.",
|
|
4877
4882
|
"format": "int32",
|
|
4878
4883
|
"type": "integer"
|
|
4879
4884
|
},
|
|
@@ -4886,8 +4891,10 @@
|
|
|
4886
4891
|
"type": "array"
|
|
4887
4892
|
},
|
|
4888
4893
|
"hasUnopenedContent": {
|
|
4889
|
-
"
|
|
4890
|
-
"
|
|
4894
|
+
"deprecated": true,
|
|
4895
|
+
"description": "Indicates whether the dialog contains content that has not been viewed or opened by the user yet.\n \nObsolete: A dialog is now considered \u0027seen\u0027 when the dialog has:\n- At least one entry in SeenSinceLastContentUpdate and\n- No system label MarkedAsUnopened.",
|
|
4896
|
+
"type": "boolean",
|
|
4897
|
+
"x-deprecatedMessage": "Use SeenSinceLastContentUpdate and EndUserContext.SystemLabels instead"
|
|
4891
4898
|
},
|
|
4892
4899
|
"id": {
|
|
4893
4900
|
"description": "The unique identifier for the dialog in UUIDv7 format.",
|
|
@@ -6054,8 +6061,10 @@
|
|
|
6054
6061
|
"type": "integer"
|
|
6055
6062
|
},
|
|
6056
6063
|
"hasUnopenedContent": {
|
|
6057
|
-
"
|
|
6058
|
-
"
|
|
6064
|
+
"deprecated": true,
|
|
6065
|
+
"description": "Indicates whether the dialog contains content that has not been viewed or opened by the user yet.\n \nObsolete: A dialog is now considered \u0027seen\u0027 when the dialog has:\n- At least one entry in SeenSinceLastContentUpdate and\n- No system label MarkedAsUnopened.",
|
|
6066
|
+
"type": "boolean",
|
|
6067
|
+
"x-deprecatedMessage": "Use SeenSinceLastContentUpdate and EndUserContext.SystemLabels instead"
|
|
6059
6068
|
},
|
|
6060
6069
|
"id": {
|
|
6061
6070
|
"description": "The unique identifier for the dialog in UUIDv7 format.",
|
|
@@ -7133,6 +7142,15 @@
|
|
|
7133
7142
|
"type": "string"
|
|
7134
7143
|
}
|
|
7135
7144
|
},
|
|
7145
|
+
{
|
|
7146
|
+
"description": "Only return dialogs that have content that has/hasn\u0027t been seen.\nIf null, no filtering is applied\nIf true, returns dialogs that have been seen\nIf false, returns dialogs that have not been seen\n \nA dialog\u0027s content is considered seen if:\n- It has been visited by the GET .../dialogs/{dialogId} endpoint since the last content update, and\n- It does not have a system label MarkedAsUnopened.",
|
|
7147
|
+
"in": "query",
|
|
7148
|
+
"name": "isContentSeen",
|
|
7149
|
+
"schema": {
|
|
7150
|
+
"nullable": true,
|
|
7151
|
+
"type": "boolean"
|
|
7152
|
+
}
|
|
7153
|
+
},
|
|
7136
7154
|
{
|
|
7137
7155
|
"description": "Only return dialogs with due date after this date",
|
|
7138
7156
|
"in": "query",
|
|
@@ -7208,11 +7226,7 @@
|
|
|
7208
7226
|
"name": "orderBy",
|
|
7209
7227
|
"schema": {
|
|
7210
7228
|
"nullable": true,
|
|
7211
|
-
"
|
|
7212
|
-
{
|
|
7213
|
-
"$ref": "#/components/schemas/OrderSetOfTOrderDefinitionAndTTarget"
|
|
7214
|
-
}
|
|
7215
|
-
]
|
|
7229
|
+
"type": "string"
|
|
7216
7230
|
}
|
|
7217
7231
|
},
|
|
7218
7232
|
{
|
|
@@ -7221,11 +7235,7 @@
|
|
|
7221
7235
|
"name": "continuationToken",
|
|
7222
7236
|
"schema": {
|
|
7223
7237
|
"nullable": true,
|
|
7224
|
-
"
|
|
7225
|
-
{
|
|
7226
|
-
"$ref": "#/components/schemas/ContinuationTokenSetOfTOrderDefinitionAndTTarget"
|
|
7227
|
-
}
|
|
7228
|
-
]
|
|
7238
|
+
"type": "string"
|
|
7229
7239
|
}
|
|
7230
7240
|
},
|
|
7231
7241
|
{
|
|
@@ -8575,6 +8585,15 @@
|
|
|
8575
8585
|
"type": "string"
|
|
8576
8586
|
}
|
|
8577
8587
|
},
|
|
8588
|
+
{
|
|
8589
|
+
"description": "Only return dialogs that have content that has/hasn\u0027t been seen.\nIf null, no filtering is applied\nIf true, returns dialogs that have been seen\nIf false, returns dialogs that have not been seen\n \nA dialog\u0027s content is considered seen if:\n- It has been visited by the GET .../dialogs/{dialogId} endpoint since the last content update, and\n- It does not have a system label MarkedAsUnopened.",
|
|
8590
|
+
"in": "query",
|
|
8591
|
+
"name": "isContentSeen",
|
|
8592
|
+
"schema": {
|
|
8593
|
+
"nullable": true,
|
|
8594
|
+
"type": "boolean"
|
|
8595
|
+
}
|
|
8596
|
+
},
|
|
8578
8597
|
{
|
|
8579
8598
|
"description": "Only return dialogs with due date after this date",
|
|
8580
8599
|
"in": "query",
|
|
@@ -8684,11 +8703,7 @@
|
|
|
8684
8703
|
"name": "orderBy",
|
|
8685
8704
|
"schema": {
|
|
8686
8705
|
"nullable": true,
|
|
8687
|
-
"
|
|
8688
|
-
{
|
|
8689
|
-
"$ref": "#/components/schemas/OrderSetOfTOrderDefinitionAndTTarget"
|
|
8690
|
-
}
|
|
8691
|
-
]
|
|
8706
|
+
"type": "string"
|
|
8692
8707
|
}
|
|
8693
8708
|
},
|
|
8694
8709
|
{
|
|
@@ -8697,11 +8712,7 @@
|
|
|
8697
8712
|
"name": "continuationToken",
|
|
8698
8713
|
"schema": {
|
|
8699
8714
|
"nullable": true,
|
|
8700
|
-
"
|
|
8701
|
-
{
|
|
8702
|
-
"$ref": "#/components/schemas/ContinuationTokenSetOfTOrderDefinitionAndTTarget"
|
|
8703
|
-
}
|
|
8704
|
-
]
|
|
8715
|
+
"type": "string"
|
|
8705
8716
|
}
|
|
8706
8717
|
},
|
|
8707
8718
|
{
|
|
@@ -11156,11 +11167,7 @@
|
|
|
11156
11167
|
"name": "continuationToken",
|
|
11157
11168
|
"schema": {
|
|
11158
11169
|
"nullable": true,
|
|
11159
|
-
"
|
|
11160
|
-
{
|
|
11161
|
-
"$ref": "#/components/schemas/ContinuationTokenSetOfTOrderDefinitionAndTTarget"
|
|
11162
|
-
}
|
|
11163
|
-
]
|
|
11170
|
+
"type": "string"
|
|
11164
11171
|
}
|
|
11165
11172
|
},
|
|
11166
11173
|
{
|
|
@@ -11324,4 +11331,4 @@
|
|
|
11324
11331
|
}
|
|
11325
11332
|
}
|
|
11326
11333
|
}
|
|
11327
|
-
}
|
|
11334
|
+
}
|