@3e/sqa-common 6.0.8-7 → 6.0.9-1

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 (3) hide show
  1. package/index.d.ts +16 -3
  2. package/package.json +1 -1
  3. package/sqa_common.js +1398 -983
package/index.d.ts CHANGED
@@ -1104,12 +1104,12 @@ declare module '@3e/sqa-common' {
1104
1104
  * for the `createSaveDataJob` function
1105
1105
  */
1106
1106
  arguments: {
1107
- object: string[]
1108
1107
  toDate: ISODateString
1109
1108
  filename: string
1110
1109
  replyTz: string
1111
1110
  fromDate: string
1112
- indicator: string[]
1111
+ objectIndicatorSets: {object: string[]
1112
+ indicator: string[]}[]
1113
1113
  granularity: Granularity[] // must be a single value
1114
1114
  }
1115
1115
  /**
@@ -1122,7 +1122,7 @@ declare module '@3e/sqa-common' {
1122
1122
  /**
1123
1123
  * currently can be just save_data
1124
1124
  */
1125
- typeSqid: number
1125
+ typeSqid: string
1126
1126
  }
1127
1127
 
1128
1128
  type Parameter = {
@@ -1602,6 +1602,19 @@ declare module '@3e/sqa-common' {
1602
1602
  * @param view
1603
1603
  */
1604
1604
  getViewParameters(view: SQView): Parameter[]
1605
+
1606
+ /**
1607
+ * Generate a new password for the user
1608
+ *
1609
+ * Password will
1610
+ * - be between 12 and 100 characters
1611
+ * - contain at least one lower-case character
1612
+ * - contain at least one upper-case character
1613
+ * - contain at least one digit
1614
+ * - contain at least one special character ("!%&@#$^*?_~-")
1615
+ *
1616
+ */
1617
+ generatePassword(): string
1605
1618
  }
1606
1619
 
1607
1620
  export const sqa: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3e/sqa-common",
3
- "version": "6.0.8-7",
3
+ "version": "6.0.9-1",
4
4
  "description": "SynaptiQ utilities package",
5
5
  "main": "sqa_common.js",
6
6
  "dependencies": {