@things-factory/operato-ecs 7.0.37 → 7.0.38

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 (2) hide show
  1. package/package.json +12 -11
  2. package/schema.graphql +156 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-ecs",
3
- "version": "7.0.37",
3
+ "version": "7.0.38",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -68,20 +68,21 @@
68
68
  "@things-factory/api": "^7.0.33",
69
69
  "@things-factory/apptool-ui": "^7.0.33",
70
70
  "@things-factory/auth-ui": "^7.0.33",
71
- "@things-factory/board-service": "^7.0.33",
71
+ "@things-factory/board-service": "^7.0.38",
72
72
  "@things-factory/board-ui": "^7.0.33",
73
73
  "@things-factory/context-ui": "^7.0.33",
74
- "@things-factory/dashboard": "^7.0.33",
74
+ "@things-factory/dashboard": "^7.0.38",
75
75
  "@things-factory/export-ui": "^7.0.33",
76
76
  "@things-factory/help": "^7.0.33",
77
77
  "@things-factory/i18n-base": "^7.0.33",
78
- "@things-factory/integration-headless": "^7.0.37",
79
- "@things-factory/integration-influxdb": "^7.0.33",
80
- "@things-factory/integration-melsec": "^7.0.33",
81
- "@things-factory/integration-modbus": "^7.0.33",
82
- "@things-factory/integration-opc": "^7.0.33",
83
- "@things-factory/integration-ui": "^7.0.35",
84
- "@things-factory/lite-menu": "^7.0.36",
78
+ "@things-factory/integration-email": "^7.0.38",
79
+ "@things-factory/integration-headless": "^7.0.38",
80
+ "@things-factory/integration-influxdb": "^7.0.38",
81
+ "@things-factory/integration-melsec": "^7.0.38",
82
+ "@things-factory/integration-modbus": "^7.0.38",
83
+ "@things-factory/integration-opc": "^7.0.38",
84
+ "@things-factory/integration-ui": "^7.0.38",
85
+ "@things-factory/lite-menu": "^7.0.38",
85
86
  "@things-factory/more-ui": "^7.0.33",
86
87
  "@things-factory/notification": "^7.0.33",
87
88
  "@things-factory/oauth2-client": "^7.0.33",
@@ -95,5 +96,5 @@
95
96
  "devDependencies": {
96
97
  "@things-factory/builder": "^7.0.33"
97
98
  },
98
- "gitHead": "28b852bbf7bd1160522195f9db1775db56f18b30"
99
+ "gitHead": "735942469a12f77ed857ad617b97148d178d162d"
99
100
  }
package/schema.graphql CHANGED
@@ -1662,6 +1662,12 @@ type Mutation {
1662
1662
  """To create new Oauth2Client"""
1663
1663
  createOauth2Client(oauth2Client: NewOauth2Client!): Oauth2Client!
1664
1664
 
1665
+ """To create new PDFRelease"""
1666
+ createPDFRelease(pdfRelease: NewPDFRelease!): PDFRelease!
1667
+
1668
+ """To create new PDFTemplate"""
1669
+ createPDFTemplate(pdfTemplate: NewPDFTemplate!): PDFTemplate!
1670
+
1665
1671
  """To create new PayloadLog"""
1666
1672
  createPayloadLog(payloadLog: NewPayloadLog!): PayloadLog!
1667
1673
 
@@ -1864,6 +1870,18 @@ type Mutation {
1864
1870
  """To delete multiple Oauth2Clients"""
1865
1871
  deleteOauth2Clients(ids: [String!]!): Boolean!
1866
1872
 
1873
+ """To delete PDFRelease"""
1874
+ deletePDFRelease(id: String!): Boolean!
1875
+
1876
+ """To delete multiple PDFReleases"""
1877
+ deletePDFReleases(ids: [String!]!): Boolean!
1878
+
1879
+ """To delete PDFTemplate"""
1880
+ deletePDFTemplate(id: String!): Boolean!
1881
+
1882
+ """To delete multiple PDFTemplates"""
1883
+ deletePDFTemplates(ids: [String!]!): Boolean!
1884
+
1867
1885
  """To delete PagePreference"""
1868
1886
  deletePagePreference(id: String!): Boolean!
1869
1887
 
@@ -2011,6 +2029,12 @@ type Mutation {
2011
2029
  """To import multiple Oauth2Clients"""
2012
2030
  importOauth2Clients(oauth2Clients: [Oauth2ClientPatch!]!): Boolean!
2013
2031
 
2032
+ """To import multiple PDFReleases"""
2033
+ importPDFReleases(pdfReleases: [PDFReleasePatch!]!): Boolean!
2034
+
2035
+ """To import multiple PDFTemplates"""
2036
+ importPDFTemplates(pdfTemplates: [PDFTemplatePatch!]!): Boolean!
2037
+
2014
2038
  """To import multiple scenarios"""
2015
2039
  importScenarios(scenarios: [ScenarioPatch!]!): Boolean!
2016
2040
 
@@ -2220,6 +2244,12 @@ type Mutation {
2220
2244
  """To modify multiple NotificationRules' information"""
2221
2245
  updateMultipleNotificationRule(patches: [NotificationRulePatch!]!): [NotificationRule!]!
2222
2246
 
2247
+ """To modify multiple PDFReleases' information"""
2248
+ updateMultiplePDFRelease(patches: [PDFReleasePatch!]!): [PDFRelease!]!
2249
+
2250
+ """To modify multiple PDFTemplates' information"""
2251
+ updateMultiplePDFTemplate(patches: [PDFTemplatePatch!]!): [PDFTemplate!]!
2252
+
2223
2253
  """To modify multiple PartnerSettings' information"""
2224
2254
  updateMultiplePartnerSetting(patches: [PartnerSettingPatch!]!): [PartnerSetting!]!
2225
2255
 
@@ -2268,6 +2298,12 @@ type Mutation {
2268
2298
  """To modify Oauth2Client information"""
2269
2299
  updateOauth2Client(id: String!, patch: Oauth2ClientPatch!): Oauth2Client!
2270
2300
 
2301
+ """To modify PDFRelease information"""
2302
+ updatePDFRelease(id: String!, patch: PDFReleasePatch!): PDFRelease!
2303
+
2304
+ """To modify PDFTemplate information"""
2305
+ updatePDFTemplate(id: String!, patch: PDFTemplatePatch!): PDFTemplate!
2306
+
2271
2307
  """To modify PayloadLog information"""
2272
2308
  updatePayloadLog(id: String!, patch: PayloadLogPatch!): PayloadLog!
2273
2309
 
@@ -2729,6 +2765,28 @@ input NewOauth2Client {
2729
2765
  webhook: String
2730
2766
  }
2731
2767
 
2768
+ input NewPDFRelease {
2769
+ active: Boolean
2770
+ description: String
2771
+ name: String!
2772
+ params: String
2773
+ state: PDFReleaseStatus
2774
+ }
2775
+
2776
+ input NewPDFTemplate {
2777
+ active: Boolean
2778
+ content_template: String
2779
+ cover_template: String
2780
+ description: String
2781
+ footer_template: String
2782
+ header_template: String
2783
+ last_template: String
2784
+ name: String!
2785
+ page_size: String = "A4"
2786
+ state: PDFTemplateStatus
2787
+ watermark: String
2788
+ }
2789
+
2732
2790
  input NewPagePreference {
2733
2791
  element: String
2734
2792
  page: String
@@ -3090,6 +3148,92 @@ enum OrgMemberTargetType {
3090
3148
  Role
3091
3149
  }
3092
3150
 
3151
+ """Entity for PDFRelease"""
3152
+ type PDFRelease {
3153
+ active: Boolean
3154
+ createdAt: DateTimeISO
3155
+ creator: User
3156
+ deletedAt: DateTimeISO
3157
+ description: String
3158
+ domain: Domain
3159
+ filePath: String
3160
+ fileUrl: String
3161
+ id: ID!
3162
+ name: String
3163
+ state: String
3164
+ template: PDFTemplate!
3165
+ templateId: String!
3166
+ updatedAt: DateTimeISO
3167
+ updater: User
3168
+ }
3169
+
3170
+ type PDFReleaseList {
3171
+ items: [PDFRelease!]!
3172
+ total: Int!
3173
+ }
3174
+
3175
+ input PDFReleasePatch {
3176
+ active: Boolean
3177
+ cuFlag: String
3178
+ description: String
3179
+ id: ID
3180
+ name: String
3181
+ state: PDFReleaseStatus
3182
+ }
3183
+
3184
+ """state enumeration of a PDFRelease"""
3185
+ enum PDFReleaseStatus {
3186
+ failed
3187
+ published
3188
+ }
3189
+
3190
+ """Entity for PDFTemplate"""
3191
+ type PDFTemplate {
3192
+ active: Boolean
3193
+ content_template: String
3194
+ cover_template: String
3195
+ createdAt: DateTimeISO
3196
+ creator: User
3197
+ description: String
3198
+ domain: Domain
3199
+ footer_template: String
3200
+ header_template: String
3201
+ id: ID!
3202
+ last_template: String
3203
+ name: String
3204
+ page_size: String
3205
+ state: String
3206
+ updatedAt: DateTimeISO
3207
+ updater: User
3208
+ watermark: String
3209
+ }
3210
+
3211
+ type PDFTemplateList {
3212
+ items: [PDFTemplate!]!
3213
+ total: Int!
3214
+ }
3215
+
3216
+ input PDFTemplatePatch {
3217
+ active: Boolean
3218
+ content_template: String
3219
+ cover_template: String
3220
+ cuFlag: String
3221
+ description: String
3222
+ footer_template: String
3223
+ header_template: String
3224
+ id: ID
3225
+ last_template: String
3226
+ name: String
3227
+ page_size: String = "A4"
3228
+ state: PDFTemplateStatus
3229
+ }
3230
+
3231
+ """state enumeration of a PDF Template"""
3232
+ enum PDFTemplateStatus {
3233
+ draft
3234
+ released
3235
+ }
3236
+
3093
3237
  """Entity for PagePreference"""
3094
3238
  type PagePreference {
3095
3239
  createdAt: DateTimeISO
@@ -3336,6 +3480,12 @@ type PropertySpec {
3336
3480
 
3337
3481
  type Query {
3338
3482
  APIDocCompletion(input: APIDocCompletionInput!): APIDocCompletionOutput!
3483
+
3484
+ """To fetch a PDFTemplate"""
3485
+ PDFTemplate(id: String!): PDFTemplate
3486
+
3487
+ """To fetch multiple PDFTemplates"""
3488
+ PDFTemplates(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PDFTemplateList!
3339
3489
  appBinding(id: String!): AppBinding!
3340
3490
  appBindings(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): AppBindingList!
3341
3491
 
@@ -3659,6 +3809,12 @@ type Query {
3659
3809
  """To fetch multiple PayloadLogs"""
3660
3810
  payloadLogs(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PayloadLogList!
3661
3811
 
3812
+ """To fetch a PDFRelease"""
3813
+ pdfRelease(id: String!): PDFRelease
3814
+
3815
+ """To fetch multiple PDFReleases"""
3816
+ pdfReleases(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PDFReleaseList!
3817
+
3662
3818
  """To fetch a PlayGroup"""
3663
3819
  playGroup(id: String!): PlayGroup
3664
3820