@uptime.app/contracts 2.0.61 → 2.0.62

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 (33) hide show
  1. package/dist/cjs/index.d.ts +1 -0
  2. package/dist/cjs/index.d.ts.map +1 -1
  3. package/dist/cjs/index.js +1 -0
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/learn-upon/learn-upon-commands.d.ts +1 -1
  6. package/dist/cjs/learn-upon/learn-upon-commands.d.ts.map +1 -1
  7. package/dist/cjs/learn-upon/learn-upon-user-mapping.d.ts +10 -0
  8. package/dist/cjs/learn-upon/learn-upon-user-mapping.d.ts.map +1 -0
  9. package/dist/cjs/learn-upon/learn-upon-user-mapping.js +3 -0
  10. package/dist/cjs/learn-upon/learn-upon-user-mapping.js.map +1 -0
  11. package/dist/esm/index.d.ts +1 -0
  12. package/dist/esm/index.d.ts.map +1 -1
  13. package/dist/esm/index.js +1 -0
  14. package/dist/esm/index.js.map +1 -1
  15. package/dist/esm/learn-upon/learn-upon-commands.d.ts +1 -1
  16. package/dist/esm/learn-upon/learn-upon-commands.d.ts.map +1 -1
  17. package/dist/esm/learn-upon/learn-upon-user-mapping.d.ts +10 -0
  18. package/dist/esm/learn-upon/learn-upon-user-mapping.d.ts.map +1 -0
  19. package/dist/esm/learn-upon/learn-upon-user-mapping.js +2 -0
  20. package/dist/esm/learn-upon/learn-upon-user-mapping.js.map +1 -0
  21. package/package.json +2 -2
  22. package/src/index.ts +1 -0
  23. package/src/learn-upon/learn-upon-commands.ts +1 -1
  24. package/src/learn-upon/learn-upon-user-mapping.ts +3 -4
  25. package/src/learn-upon/from-lydia.ts +0 -16
  26. package/src/learn-upon/learn-upon-api-course.ts +0 -54
  27. package/src/learn-upon/learn-upon-api-enrollment.ts +0 -46
  28. package/src/learn-upon/learn-upon-api-portal.ts +0 -19
  29. package/src/learn-upon/learn-upon-api-user.ts +0 -40
  30. package/src/learn-upon/learn-upon-webhook-course-completion.ts +0 -53
  31. package/src/learn-upon/learn-upon-webhook-course-update.ts +0 -76
  32. package/src/learn-upon/learn-upon-webhook-enrollment.ts +0 -18
  33. package/src/learn-upon/learn-upon-webhook-module-complete.ts +0 -30
@@ -130,6 +130,7 @@ export * from './identity-provider/identity-provider-events';
130
130
  export * from './identity-provider/domain-identity-provider';
131
131
  export * from './identity-provider/domain-identity-provider-events';
132
132
  export * from './learn-upon/learn-upon-portal';
133
+ export * from './learn-upon/learn-upon-user-mapping';
133
134
  export * from './learn-upon/learn-upon-webhook-types';
134
135
  export * from './learn-upon/learn-upon-webhook-events';
135
136
  export * from './learn-upon/learn-upon-commands';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AAExD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAE/C,cAAc,gCAAgC,CAAC;AAE/C,cAAc,yCAAyC,CAAC;AAExD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAElE,cAAc,iCAAiC,CAAC;AAChD,cAAc,gDAAgD,CAAC;AAE/D,cAAc,wCAAwC,CAAC;AAEvD,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AAExD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,yBAA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,cAAc,iBAAiB,CAAC;AAChC,cAAc,wCAAwC,CAAC;AAEvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AAEnD,cAAc,uDAAuD,CAAC;AACtE,cAAc,8DAA8D,CAAC;AAE7E,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AAEzD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uBAAuB,CAAC;AAEtC,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qDAAqD,CAAC;AAEpE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC"}
package/dist/cjs/index.js CHANGED
@@ -146,6 +146,7 @@ __exportStar(require("./identity-provider/identity-provider-events"), exports);
146
146
  __exportStar(require("./identity-provider/domain-identity-provider"), exports);
147
147
  __exportStar(require("./identity-provider/domain-identity-provider-events"), exports);
148
148
  __exportStar(require("./learn-upon/learn-upon-portal"), exports);
149
+ __exportStar(require("./learn-upon/learn-upon-user-mapping"), exports);
149
150
  __exportStar(require("./learn-upon/learn-upon-webhook-types"), exports);
150
151
  __exportStar(require("./learn-upon/learn-upon-webhook-events"), exports);
151
152
  __exportStar(require("./learn-upon/learn-upon-commands"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA2D;AAC3D,uEAAqD;AACrD,0EAAwD;AAExD,2DAAyC;AACz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AACvD,oEAAkD;AAClD,gEAA8C;AAE9C,gDAA8B;AAC9B,uDAAqC;AAErC,mEAAiD;AACjD,4DAA0C;AAE1C,4DAA0C;AAC1C,6DAA2C;AAE3C,qDAAmC;AACnC,kDAAgC;AAChC,yEAAuD;AAEvD,8DAA4C;AAC5C,qEAAmD;AAEnD,wFAAsE;AACtE,+FAA6E;AAE7E,oEAAkD;AAClD,2EAAyD;AAEzD,kEAAgD;AAChD,yEAAuD;AAEvD,oEAAkD;AAClD,2EAAyD;AAEzD,wDAAsC;AAEtC,wEAAsD;AACtD,+EAA6D;AAC7D,+EAA6D;AAC7D,sFAAoE;AAEpE,iEAA+C;AAC/C,uEAAqD;AACrD,wEAAsD;AACtD,yEAAuD;AACvD,mEAAiD;AAEjD,kDAAgC;AAChC,yDAAuC;AAEvC,wEAAsD;AACtD,+EAA6D"}
@@ -3,7 +3,7 @@ export interface SyncLearnUponUserCommandBody {
3
3
  v: number;
4
4
  userId: string;
5
5
  userType: 'learner' | 'instructor' | 'manager' | 'admin';
6
- portalId: string;
6
+ uptimeLearnUponPortalId: string;
7
7
  }
8
8
  export interface SyncLearnUponUserCommand {
9
9
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"learn-upon-commands.d.ts","sourceRoot":"","sources":["../../../src/learn-upon/learn-upon-commands.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;IACzD,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,0BAA0B,CAAC;IACjC,OAAO,EAAE,4BAA4B,CAAC;CACzC"}
1
+ {"version":3,"file":"learn-upon-commands.d.ts","sourceRoot":"","sources":["../../../src/learn-upon/learn-upon-commands.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;IACzD,uBAAuB,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,0BAA0B,CAAC;IACjC,OAAO,EAAE,4BAA4B,CAAC;CACzC"}
@@ -0,0 +1,10 @@
1
+ export interface LearnUponUserMapping {
2
+ id: string;
3
+ v: number;
4
+ createdAt: string;
5
+ updatedAt: string;
6
+ userId: string;
7
+ learnUponUserId: number;
8
+ uptimeLearnUponPortalId: string;
9
+ }
10
+ //# sourceMappingURL=learn-upon-user-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"learn-upon-user-mapping.d.ts","sourceRoot":"","sources":["../../../src/learn-upon/learn-upon-user-mapping.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;CACnC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=learn-upon-user-mapping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"learn-upon-user-mapping.js","sourceRoot":"","sources":["../../../src/learn-upon/learn-upon-user-mapping.ts"],"names":[],"mappings":""}
@@ -130,6 +130,7 @@ export * from './identity-provider/identity-provider-events';
130
130
  export * from './identity-provider/domain-identity-provider';
131
131
  export * from './identity-provider/domain-identity-provider-events';
132
132
  export * from './learn-upon/learn-upon-portal';
133
+ export * from './learn-upon/learn-upon-user-mapping';
133
134
  export * from './learn-upon/learn-upon-webhook-types';
134
135
  export * from './learn-upon/learn-upon-webhook-events';
135
136
  export * from './learn-upon/learn-upon-commands';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AAExD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAE/C,cAAc,gCAAgC,CAAC;AAE/C,cAAc,yCAAyC,CAAC;AAExD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAElE,cAAc,iCAAiC,CAAC;AAChD,cAAc,gDAAgD,CAAC;AAE/D,cAAc,wCAAwC,CAAC;AAEvD,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AAExD,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAE/C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD,CAAC;AAErE,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AAErD,cAAc,uDAAuD,CAAC;AACtE,cAAc,8DAA8D,CAA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c,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uBAAuB,CAAC;AAEtC,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qDAAqD,CAAC;AAEpE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC"}
package/dist/esm/index.js CHANGED
@@ -130,6 +130,7 @@ export * from './identity-provider/identity-provider-events';
130
130
  export * from './identity-provider/domain-identity-provider';
131
131
  export * from './identity-provider/domain-identity-provider-events';
132
132
  export * from './learn-upon/learn-upon-portal';
133
+ export * from './learn-upon/learn-upon-user-mapping';
133
134
  export * from './learn-upon/learn-upon-webhook-types';
134
135
  export * from './learn-upon/learn-upon-webhook-events';
135
136
  export * from './learn-upon/learn-upon-commands';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AAExD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAE/C,cAAc,gCAAgC,CAAC;AAE/C,cAAc,yCAAyC,CAAC;AAExD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAElE,cAAc,iCAAiC,CAAC;AAChD,cAAc,gDAAgD,CAAC;AAE/D,cAAc,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ACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAE9B,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAE9C,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AAErC,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAE1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAE3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wCAAwC,CAAC;AAEvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AAEnD,cAAc,uDAAuD,CAAC;AACtE,cAAc,8DAA8D,CAAC;AAE7E,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AAEzD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AAEvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AAEzD,cAAc,uBAAuB,CAAC;AAEtC,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qDAAqD,CAAC;AAEpE,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AAEjD,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,8CAA8C,CAAC"}
@@ -3,7 +3,7 @@ export interface SyncLearnUponUserCommandBody {
3
3
  v: number;
4
4
  userId: string;
5
5
  userType: 'learner' | 'instructor' | 'manager' | 'admin';
6
- portalId: string;
6
+ uptimeLearnUponPortalId: string;
7
7
  }
8
8
  export interface SyncLearnUponUserCommand {
9
9
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"learn-upon-commands.d.ts","sourceRoot":"","sources":["../../../src/learn-upon/learn-upon-commands.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;IACzD,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,0BAA0B,CAAC;IACjC,OAAO,EAAE,4BAA4B,CAAC;CACzC"}
1
+ {"version":3,"file":"learn-upon-commands.d.ts","sourceRoot":"","sources":["../../../src/learn-upon/learn-upon-commands.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;IACzD,uBAAuB,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,0BAA0B,CAAC;IACjC,OAAO,EAAE,4BAA4B,CAAC;CACzC"}
@@ -0,0 +1,10 @@
1
+ export interface LearnUponUserMapping {
2
+ id: string;
3
+ v: number;
4
+ createdAt: string;
5
+ updatedAt: string;
6
+ userId: string;
7
+ learnUponUserId: number;
8
+ uptimeLearnUponPortalId: string;
9
+ }
10
+ //# sourceMappingURL=learn-upon-user-mapping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"learn-upon-user-mapping.d.ts","sourceRoot":"","sources":["../../../src/learn-upon/learn-upon-user-mapping.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,oBAAoB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,uBAAuB,EAAE,MAAM,CAAC;CACnC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=learn-upon-user-mapping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"learn-upon-user-mapping.js","sourceRoot":"","sources":["../../../src/learn-upon/learn-upon-user-mapping.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uptime.app/contracts",
3
- "version": "2.0.61",
3
+ "version": "2.0.62",
4
4
  "license": "MIT",
5
5
  "types": "./dist/esm/index.d.ts",
6
6
  "main": "./dist/cjs/index.js",
@@ -14,5 +14,5 @@
14
14
  "devDependencies": {
15
15
  "typescript": "^5.4.3"
16
16
  },
17
- "gitHead": "4affc642f93c94340eeb15286a6d3508c84b6773"
17
+ "gitHead": "3d56618af8a157ada2f3d4d6854d69e6a465c421"
18
18
  }
package/src/index.ts CHANGED
@@ -182,6 +182,7 @@ export * from './identity-provider/domain-identity-provider';
182
182
  export * from './identity-provider/domain-identity-provider-events';
183
183
 
184
184
  export * from './learn-upon/learn-upon-portal';
185
+ export * from './learn-upon/learn-upon-user-mapping';
185
186
  export * from './learn-upon/learn-upon-webhook-types';
186
187
  export * from './learn-upon/learn-upon-webhook-events';
187
188
  export * from './learn-upon/learn-upon-commands';
@@ -3,7 +3,7 @@ export interface SyncLearnUponUserCommandBody {
3
3
  v: number;
4
4
  userId: string;
5
5
  userType: 'learner' | 'instructor' | 'manager' | 'admin';
6
- portalId: string;
6
+ uptimeLearnUponPortalId: string;
7
7
  }
8
8
 
9
9
  export interface SyncLearnUponUserCommand {
@@ -4,8 +4,7 @@ export interface LearnUponUserMapping {
4
4
  v: number;
5
5
  createdAt: string;
6
6
  updatedAt: string;
7
- userId: string; /** Uptime user id */
8
- learnUponUserId: number; /** LearnUpon user id */
9
- // todo - should we
10
- portalId: string; /** LearnUpon portal id */
7
+ userId: string;
8
+ learnUponUserId: number;
9
+ uptimeLearnUponPortalId: string;
11
10
  }
@@ -1,16 +0,0 @@
1
-
2
- // todo LearnUponApiEnrollment.modules may not be available when searching for a users enrollments
3
-
4
- export interface APITraining {
5
- id: string; // from LearnUponApiEnrollment.course_id | LearnUponWebhookCourseUpdate.courseId | LearnUponApiCourse.id
6
- title: string; // from LearnUponApiCourse.name | LearnUponApiEnrollment.course_name | LearnUponWebhookCourseUpdate.courseName
7
- dueDate: string; // from LearnUponWebhookEnrollment.dueDate | LearnUponApiEnrollment.due_date
8
- completedModulesCount: number; // from LearnUponApiEnrollment.percentage_complete | LearnUponApiEnrollment.modules LearnUponWebhookModuleComplete
9
- totalModulesCount: number; // from LearnUponApiEnrollment.modules | LearnUponApiCourse.number_of_modules | LearnUponWebhookCourseUpdate.modules
10
- coverUrl: string; // from LearnUponApiCourse.thumbnail_image_url | LearnUponWebhookCourseUpdate.thumbnailImageUrl
11
- isStarted?: boolean; // from LearnUponApiEnrollment.date_started | ModuleComplete webhook (assuming is started is 1 or more modules complete)
12
- isCertificate?: boolean; // from LearnUponApiEnrollment.certificate_name or LearnUponWebhookCourseUpdate.certificate . Not LearnUponApiCourse ??
13
-
14
- // not looking at this for now
15
- isLiveSession?: boolean;
16
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * LearnUpon course representation https://docs.learnupon.com/api/#courses
3
- * TODO - many of these fields may be optional
4
- */
5
- export interface LearnUponApiCourse {
6
- id: number; /** Unique numeric identifier for the course */
7
- name: string; /** The title of the course */
8
- version: number; /** The version of the course */
9
- source_id: number; /** The source course_id for a course. When you update a course (re-version a course) the source id does not change This ID groups courses together that stem from the same root course in their version tree */
10
- created_at: string; /** Date/time when the course was created, in UTC format */
11
- sellable: boolean; /** If set to true, indicates the course is published to the store: default is false. */
12
- cataloged: boolean; /** If set to true, indicates if the course is published to the catalog: default is false */
13
- date_published: string; /** Date/time when the course was published, in UTC format */
14
- keywords: string; /** Keywords you provide, to help users find your course in the catalog or the store */
15
- reference_code: string; /** A customer reference code, to help you find your courses in the library in search, and use in reports: not generated by LearnUpon */
16
- manager_can_enroll: boolean; /** If set to true, indicates the manager can enroll their group members on this course: default is false */
17
- allow_users_rate_course: boolean; /** If set to (default)true, indicates learners can rate this course */
18
- number_of_reviews: number; /** Number of reviews/ratings recorded for this course: use in combination with number_of_stars to calculate an average rating */
19
- number_of_stars: number; /** Number of stars awarded to the course: use in combination with number_of_reviews to calculate an average rating */
20
- minute_length: number; /** The course length, if specified, that appears in your store or catalog */
21
- course_length_unit: string; /** The length unit for your course: hours or minutes */
22
- num_enrolled: number; /** Number of learners currently enrolled */
23
- num_not_started: number; /** Number of learners who have not started the course */
24
- num_in_progress: number; /** Number of learners who are currently in progress */
25
- num_completed: number; /** Number of learners who have completed the course */
26
- num_passed: number; /** Number of learners who have passed the course */
27
- num_failed: number; /** Number of learners who have failed the course */
28
- num_pending_review: number; /** Number of learners who have submitted all of their assignments for their course */
29
- number_of_modules: number; /** Number of modules in this course */
30
- price: number; /** Price in cents for your course */
31
- published_status_id: string; /** The current published status of the course: one of published, draft, archived or under_revision */
32
- difficulty_level: string; /** The difficulty level set on your course: one of not_applicable, basic, intermediate or advanced */
33
- description_html: string; /** Course description, with full HTML markup */
34
- description_text: string; /** Course description, raw text */
35
- objectives_html: string; /** Course objectives, with full HTML markup */
36
- objectives_text: string; /** Course objectives, raw text */
37
- credits_to_be_awarded: string; /** Comma-separated list of credits the learner earns by completing or passing the course. Example: "CEU:2.00,CPE:3.00" */
38
- due_days_after_enrollment: number; /** The number of days after enrollment, when the learner is due to complete the course */
39
- due_date_after_enrollment: string; /** The date/time, when this course is due for completion, in UTC format */
40
- send_due_date_reminders: boolean; /** If set to true, indicates that due date reminders are enabled on this course: default is false */
41
- due_date_reminder_days: number; /** For the first reminder LearnUpon sends: number of days before the course is due for completion */
42
- due_date_reminder_days_2: number; /** For the second reminder LearnUpon sends: number of days before the course is due for completion */
43
- thumbnail_image_url: string; /** Public URL of the course thumbnail image: returns null if the course has no thumbnail */
44
- license_expires: string; /** Licensed course only: the date/time the course license expires, in UTC format, returns null if the license is open ended */
45
- license_number_enrollments_purchased: number; /** Licensed course only: the number of enrollments purchased for the license, returns null if the license is unlimited */
46
- license_is_open_ended: boolean; /** Licensed course only: indicates if the license is open ended (never expires), default is false */
47
- license_has_unlimited_enrollments: boolean; /** Licensed course only: indicates if the license has an unlimited number of enrollments available, default is false */
48
- owner_first_name: string; /** The first name of the course owner */
49
- owner_last_name: string; /** The last name of the course owner */
50
- owner_email: string; /** The email address of the course owner */
51
- owner_id: number; /** Unique numeric identifier for the course owner: portal administrator, or instructor with course creation privileges */
52
- learning_awards: any; /** Gamification only: requires query by course_id, and contains gamification related data */
53
- customDataFieldValues /** An object containing the list of custom data field definitions. Returned only when the portal admin has defined custom course data fields */
54
- }
@@ -1,46 +0,0 @@
1
- /**
2
- * LearnUpon enrollment representation https://docs.learnupon.com/api/#enrollments
3
- * TODO - many of these fields may be optional
4
- */
5
- export interface LearnUponApiEnrollment {
6
- id: number; /** Unique numeric identifier for the enrollment */
7
- percentage: number; /** The score achieved by the learner */
8
- date_started: string; /** The date the user started the course, in UTC format */
9
- date_completed: string; /** The date the user finished the course, in UTC format */
10
- date_lastaccessed: string; /** The date the user last accessed the course, in UTC format */
11
- date_enrolled: string; /** The date the user was enrolled on the course, in UTC format */
12
- course_id: number; /** Unique numeric identifier for the course */
13
- course_name: string; /** The exact title of the course, using the most recent published course title */
14
- course_source_id: number; /** For re-versioned courses, provides the course_id of the source course. Example: for course version 4, this field contains the course_id for version 3 (not version 1) */
15
- user_id: number; /** Unique numeric identifier for the user enrolled */
16
- first_name: string; /** The first name of the user enrolled */
17
- last_name: string; /** The last name of the user enrolled */
18
- email: string; /** The email address of the user enrolled: LearnUpon's default identifier for users. */
19
- username: string; /** The username of the user enrolled, visible only if you implement usernames on your portal. See Unique identifiers: email or username */
20
- due_date: string; /** If set, the date by which the learner must complete the course, in UTC format */
21
- status: string; /** The enrollment status of the learner, one of the following statuses: not_started, in_progress, completed, passed, failed, pending_review */
22
- course_access_expires_at: string; /** If set, date when access to the course expires for the learner, in UTC format */
23
- certificate_name: string; /** Name of any certificate the user receives for completion */
24
- cert_expires_at: string; /** If set, when the the certification expires */
25
- version: number; /** The course version */
26
- was_recertified: boolean; /** If set to true, indicates that recertification policies on your course certificate applied on this enrollment. For users who complete a course that has automatic recertification rules enabled, when they repeat the course, they are automatically recertified by LearnUpon */
27
- percentage_complete: number; /** The number of modules the learner has completed, as a percentage of the number of modules in the course */
28
- unenrolled: boolean; /** Indicates if a user's completed course was unenrolled: enrollment is hidden from the learners' views, but appears in the course history report, in audit/learning history data */
29
- from_store: boolean; /** Indicates if the enrollment came through eCommerce. Default is false */
30
- from_catalog: boolean; /** Indicates if the enrollment came through the portal catalog. Default is false */
31
- updated_at: string; /** Indicates when the enrollment was last updated, in UTC format */
32
- group_id: number; /** Displays the learner's group_id, if they belong to a group */
33
- is_overdue: boolean; /** Applicable only for courses with due dates: indicates if the course is overdue */
34
- // TODO - check if this is supported when getting a users enrollments?!?! or do you need the enrollment id?
35
- modules: LearnUponApiEnrollmentModule[] /** A list of module details for the given {enrollment_id} */
36
- }
37
-
38
- export interface LearnUponApiEnrollmentModule {
39
- id: number; /** Unique numeric identifier for the module */
40
- title: string; /** Name of the module that appears to learners in the interface */
41
- sequence: number; /** Order in which the module appears in the enrollment */
42
- date_started: string; /** The date the learner started the module, in UTC format */
43
- date_completed: string; /** The date the learner finished the module, in UTC format */
44
- date_lastaccessed: string; /** The date the learner last accessed the module, in UTC format */
45
- status: string; /** Current status of the module, one of not_started, in_progress, completed, passed, failed or pending_review */
46
- }
@@ -1,19 +0,0 @@
1
-
2
- /**
3
- * LearnUpon Portal https://docs.learnupon.com/api/#portals
4
- * TODO - many of these fields may be optional
5
- */
6
- export interface LearnUponApiPortal {
7
- id: number; /** Maps to LearnUpon's id field. Unique numeric identifier for the portal. (LearnUpon's id) */
8
- title: string; /** Portal name or title. Requires URL encoding to submit the name over a QueryString. The search uses pattern matching, not exact matching. All searches are case insensitive */
9
- subdomain: string; /** The subdomain of the portal */
10
- created_at: string; /** Date/time for when the portal was created, in UTC format */
11
- updated_at: string; /** Date/time for when the portal was last updated, in UTC format */
12
- allow_course_authoring: boolean; /** Permissions: indicates if admins in a sub-portal can edit courses in that portal. Default is true, gives permissions to edit courses */
13
- number_of_members: number; /** Number of users currently assigned to the portal */
14
- number_licenses_purchased: number; /** For portal licensing: indicates the number of licenses purchased for a specific portal */
15
- number_licenses_used: number; /** For portal licensing: indicates the number of licenses currently used for a specific portal */
16
- logo_image_url: string; /** URL of the logo image of the new portal */
17
- header_color: string; /** Hexadecimal code for the portal's header color, default (#419BBD) */
18
- navigation_color: string; /** Hexadecimal code for the portal's tab navigation color, default (#256188) */
19
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * LearnUpon user representation https://docs.learnupon.com/api/#user-object-attributes
3
- * TODO - many of these fields may be optional
4
- */
5
- export interface LearnUponApiUser {
6
- id: number; /** The unique numeric identifier for the user */
7
- last_name: string; /** The last name of the user */
8
- first_name: string; /** The first name of the user */
9
- email: string; /** The email address of the user: see Unique identifiers: email or username */
10
- username?: string; /** Appears only if you set up username in place of email as a unique identifier. See Unique identifiers: email or username. */
11
- locale: string; /** The ISO language code for the user. See the appendix for a list of supported languages. If not set, then default is the portal's language. */
12
- created_at: string; /** The date the user was created, in UTC format */
13
- updated_at: string; /** The date of recent change to indicate the most recent change to any ofemail, first_name, last_name, username, display_name, email_disabled, or a reset password request, in UTC format */
14
- last_sign_in_at: string; /** The date the user last signed into LearnUpon, in UTC format */
15
- account_expires: string; /** The date you set the user's account to expire. Expired accounts cannot access LearnUpon. This attribute overrides enabled attribute. Required format is yyyy-mm-dd like 2025-04-11. The user's account expires at midnight (UTC) on the date specified, thus: midnight on 11th Apr 2025 */
16
- sign_in_count: number; /** The number of times the user logged into LearnUpon */
17
- enabled: boolean; /** If set to (default)true, indicates the user's account is enabled. An account can remain enabled even if the account has expired: you must check the account_expires attribute, and vice versa. account_expires overrides enabled */
18
- timezone_id: string; /** If set, indicates a timezone for displaying dates and times of courses and sessions. This timezone can match, or be different, from the portal default */
19
- user_type: string; /** Indicates the user type and their permissions in the portal: one of learner, instructor, manager, admin */
20
- can_enroll: boolean; /** Manager user type only: indicates if the user can enroll learners in courses. Default is true */
21
- can_unenroll_users: boolean; /** Manager user type only: indicates of the user can unenroll learners in courses. Default is false */
22
- can_mark_complete: boolean; /** Manager user type only: indicates if the user can manually mark complete learners on courses. Default is false */
23
- can_move_groups: boolean; /** Manager user type only: indicates if the manager can move users from one group to another. The manager must be assigned as manager for both groups. Default is false */
24
- can_act_as_instructor: boolean; /** Manager user type only: indicates if the manager has instructor permissions. Default is false */
25
- can_manage_trainings: boolean; /** Instructor user type only: indicates if the instructor can create and edit live learning events. Default is false */
26
- can_manage_sessions: boolean; /** Instructor user type only: indicates if the instructor can create and edit sessions within live learning events. Default is false */
27
- tutor_can_edit_their_courses: boolean; /** Instructor user type only: indicates if the user can edit the courses that they instruct. Default is true */
28
- tutor_can_create_courses: boolean; /** Instructor user type only: indicates if the user can create their own courses. Default is false */
29
- number_of_enrollments: number; /** Indicates the number of enrollments for the specified user */
30
- number_of_enrollments_accessed: number; /** Indicates the number of enrollments that the user has in progress, completed, passed status */
31
- // TODO - is CustomData correct? different casing to other properties
32
- CustomData?: any /** Optionally defined by admins on your portal: custom data refers to any custom user data fields that you created on your portals */
33
- membership_type?: string; /** Associations and memberships feature only. Indicates the membership type of the users. LearnUpon provides Member or Non-member options by default: add new membership types through the portal interface. Attribute options must have no spaces: use hyphens or underscores */
34
- number_of_points?: number; /** Gamification only: total number of gamification points awarded to the user */
35
- number_of_badges?: number; /** Gamification only: total count of gamification badges awarded to the user */
36
- sf_contact_id?: string; /** Salesforce only: Contact ID. Returns null if user record doesn’t have a Salesforce Contact ID */
37
- sf_user_id?: string; /** Salesforce only: Salesforce User ID. Returns null if user record doesn’t have a Salesforce user ID */
38
- is_salesforce_contact?: boolean; /** Salesforce only: Returns null if user isn’t a Salesforce Contact */
39
- customDataFieldValues?: any /** Optional: an object containing custom user data details */
40
- }
@@ -1,53 +0,0 @@
1
- /**
2
- * https://docs.learnupon.com/webhooks/v2/#course-completion
3
- * TODO - many of these fields may be optional
4
- */
5
- export interface LearnUponWebhookCourseCompletion {
6
- enrollmentId: number; /** Unique numeric identifier for the enrollment */
7
- courseId: number; /** Unique numeric identifier for the course */
8
- courseReferenceCode: string; /** If you enable course reference codes on your portal, this field contains the references and data from that attribute */
9
- certification: LearnUponWebhookCourseCompletionCertification; /** When you offer certificates for a course, the details appear in a listed/embedded object */
10
- courseAccessExpiresAt: string; /** The date and time (UTC) that the learner's access to this course expires, if set */
11
- dateEnrolled: string; /** The date and time (UTC) that the learner enrolled on the course */
12
- dateStarted: string; /** The date and time (UTC) that the learner started the course */
13
- dateCompleted: string; /** The date and time (UTC) that the learner completed the course */
14
- enrollmentStatus: string; /** Indicates the status of the learner on the course having completed it: values are completed, passed or failed */
15
- percentage: number; /** The percentage scored for the learner on the course: this value is the learner's average score across all modules with scores in the course. */
16
- hasAttemptsRemaining: boolean; /** Indicates if the learner has more attempts on the course: this value appears if a learner reaches a failed status, but they have an exam that allows them to re-attempt the course */
17
- manuallyMarkedComplete: boolean; /** Indicates if the completion was marked complete manually by an authorized user */
18
- manuallyMarkedCompleteById: number; /** Unique numeric identifier of the person who manually marked the learner as complete */
19
- user: LearnUponWebhookCourseCompletionUser /** List of unique identifiers for an individual user */
20
- credits: LearnUponWebhookCourseCompletionCredits[]; /** If you issue credits for your course, the credits appear here in a listed/embedded object */
21
- modules: LearnUponWebhookCourseCompletionModule[]; /** The list of modules and related statuses in the course: for each module in your course, you get a status, a date the status was set, and scores where relevant */
22
- eventCreated: string; /** Date and time of course completion in UTC format */
23
- }
24
-
25
- export interface LearnUponWebhookCourseCompletionUser {
26
- userId: number;
27
- email : string;
28
- username: string;
29
- }
30
-
31
-
32
- export interface LearnUponWebhookCourseCompletionCredits {
33
- id: number; /** For learning path completions only: Unique numeric identifier for the credit. See Path credits data attributes */
34
- name: string; /** The name of the credit that was awarded, like "CPD" */
35
- number: number; /** The number of credits that were awarded to the learner by completing the course, like 5.0 */
36
- }
37
- export interface LearnUponWebhookCourseCompletionModule {
38
- id: number; /** Unique id of the module in LearnUpon */
39
- type: string; /** The type of the module: values include module, page, exam, scorm, tincan, assignment, survey, checklist, training, event */
40
- name: string; /** The name of the module in LearnUpon */
41
- status: string; /** The status of the module at the time the learner completed the course, with one of the following statuses: not_started, in_progress, completed, passed, failed, pending_review, attended, no_show, cancelled */
42
- percentage: number; /** The score that the learner achieved, if the module included a test, such as an exam or assignment. Normally an integer, but can be a float in some particular modules (e.g. SCORM Module) */
43
- dateCompleted: string; /** Date and time in UTC format when the user completed this module */
44
- attempts: number; /** The number of attempts by the learner, on the module, assuming this module is exam-based */
45
- isKnowledgeCheck: boolean; /** If the module is an exam, indicates if the exam was a knowledge test only (true) or formal exam (false) */
46
- sequence: number; /** Order of the modules in the course, if set */
47
- }
48
- export interface LearnUponWebhookCourseCompletionCertification {
49
- id: number; /** For learning path completions only: Unique numeric identifier for the certification. See Learning path completed user attributes */
50
- certificationName: string; /** The name of the certificate awarded, if any */
51
- certExpiresAt: string; /** Set to a date (UTC) when the learner's certificate will expire: empty string indicates no expiry */
52
- wasRecertified: boolean; /** If you have set up recertification policies on your course certificate, and the user was awarded a certificate, this value is set to true when the user was automatically recertified by LearnUpon on the course */
53
- }
@@ -1,76 +0,0 @@
1
- /**
2
- * https://docs.learnupon.com/webhooks/v2/#course-update
3
- * TODO - many of these fields may be optional
4
- */
5
- export interface LearnUponWebhookCourseUpdate {
6
- courseId: number; /** Unique identifier numeric for the course */
7
- courseName: string; /** The title of the course */
8
- courseReferenceCode: string; /** If you have course reference codes enabled on your portal, this attribute contains the references and data from that attribute */
9
- courseKeywords: string; /** If you have keywords added to your course, they appear here */
10
- courseShortDescription: string; /** The short description, which appears on the My Courses page or the catalog */
11
- datePublished: string; /** The date and time that the course was first published, in UTC format */
12
- courseVersion: number; /** The version of the course */
13
- courseSourceId: number; /** This is the source course_id for each version of a course. For example: for 3 courses, A, B, C (versions 1, 2, 3 respectively) each of these courses use the same courseSourceId value, the id of the first course. This attribute lets you group together courses that stem from the same root course, in their version tree */
14
- courseStatus: string; /** The status of the course at the time LearnUpon sends the webhook, for courses with a status of Published, Under Revision, Archived or Deleted */
15
- thumbnailImageUrl: string; /** The main thumbnail image URL for the course */
16
- cataloged: boolean; /** Indicates if the course is available in the internal catalog (true). Default value is false */
17
- modules: LearnUponWebhookCourseModule[]; /** The list of modules and module types in the course */
18
- courseIsSellable: boolean; /** Notes if the course is available on the storefront. Default value is false, for not sellable */
19
- price: number; /** The price of the course */
20
- membershipPricing: LearnUponWebhookCourseUpdateMembershipPricing[]; /** If you use associations in your portal, the pricing for each type of member is in a listed/embedded object */
21
- dueDate: LearnUponWebhookCourseUpdateDueDate; /** The course due date, or set number of days to complete the course after an enrollment for a learner */
22
- accessExpires: LearnUponWebhookCourseAccessExpires; /** The course expiry date, or set number of days before an enrollment expires after an enrollment for a learner */
23
- difficulty: string; /** Indicates the difficulty level on your course */
24
- courseLength: number; /** The course length if specified */
25
- courseLengthUnit: string; /** Indicates the length unit for your course, hours or minutes */
26
- certificate: LearnUponWebhookCourseUpdateCertificate; /** If learners can get a certificate on this course, this attribute contains the information */
27
- credits: LearnUponWebhookCourseUpdateCredits[]; /** If you issue credits for your course, the credits appear here in a listed/embedded object */
28
- badges: LearnUponWebhookCourseUpdateBadges[]; /** Describes the badges learners can receive, in a listed/embedded object */
29
- eventCreated: string; /** Date and time of course completion in UTC format */
30
- }
31
-
32
- export interface LearnUponWebhookCourseUpdateCertificate {
33
- certificateName: string; /** The name of the certificate awarded to a learner, on successful completion of the course */
34
- certExpiresNumDaysAfterAward: number; /** The set number of days before a certificate expires after awarding */
35
- autoReenroll: boolean; /** */
36
- autoReenrollNumDaysBeforeCertExpires: number; /** If the learner is expected to renew their certificate before it expires, this attribute lists the number of days before the expiry, to auto re-enroll the learner */
37
- }
38
-
39
- export interface LearnUponWebhookCourseUpdateDueDate {
40
- numOfDaysAfterEnrollment: number; /** The number of days after enrollment on this course, for completing the course */
41
- setDate: string; /** The date and time when this course is due for completion in UTC format */
42
- }
43
-
44
- export interface LearnUponWebhookCourseAccessExpires {
45
- numOfDaysAfterEnrollment: number; /** The number of days learners can access this course before it expires */
46
- setDate: string; /** The set expiry date for this course in UTC format. If set, learners cannot access after this date */
47
- }
48
-
49
-
50
- export interface LearnUponWebhookCourseModule {
51
- id: number; /** Unique id of the module in LearnUpon */
52
- type: string; /** The type of the module: values include module, page, exam, scorm, tincan, assignment, survey, checklist, training, event */
53
- isKnowledgeCheck: boolean; /** If the module is an exam, indicates if the exam was a knowledge test only (true) or formal exam (false) */
54
- startAt: string; /** Legacy ILTs only: start date and time that the ILT session is scheduled, in UTC format */
55
- endAt: string; /** Legacy ILTs only: end date and time that the ILT session is scheduled to complete, in UTC format */
56
- maxCapacity: number; /** Legacy ILTs only: the maximum number of learners allowed to attend the ILT session */
57
- }
58
-
59
-
60
- export interface LearnUponWebhookCourseUpdateMembershipPricing {
61
- name: string; /** The name provided as the membership type in your portal */
62
- price: number; /** The course price for the specific membership type */
63
- }
64
-
65
-
66
- export interface LearnUponWebhookCourseUpdateCredits {
67
- name: string; /** The name of the credit that was awarded, like "CPD" */
68
- number: number; /** The number of credits that were awarded to the learner by completing the course, like 5.0 */
69
- }
70
-
71
- export interface LearnUponWebhookCourseUpdateBadges {
72
- name: string; /** The name of the badge */
73
- type: string; /** The type of badge */
74
- points: number; /** The number of points awarded */
75
- achieved: string; /** Notes when learner will receive the badge: for example, on completion of the course */
76
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * LearnUpon enrollment representation https://docs.learnupon.com/webhooks/v2/#course-enrollment
3
- * TODO - many of these fields may be optional
4
- */
5
- export interface LearnUponWebhookEnrollment {
6
- eventCreated: string; /** Date of enrollment in UTC format */
7
- user: LearnUponWebhookEnrollmentUser /** List of unique identifiers for an individual user */
8
- enrollmentId: number; /** Unique identifier for this enrollment action */
9
- dueDate: string; /** The course due date for this enrollment */
10
- courseId: number; /** Unique identifier for the course */
11
- wasRecertified: boolean /** If you have set up recertification policies on your course certificate, and the user was awarded a certificate, this value is set to true when the user is automatically recertified by LearnUpon on the course. Default false */
12
- }
13
-
14
- export interface LearnUponWebhookEnrollmentUser {
15
- userId: number;
16
- email : string;
17
- username: string;
18
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * https://docs.learnupon.com/webhooks/v2/#module-complete
3
- * TODO - many of these fields may be optional
4
- */
5
- export interface LearnUponWebhookModuleComplete {
6
- user: LearnUponWebhookModuleCompleteUser; /** List of unique identifiers for an individual user */
7
- enrollmentId: number; /** Unique numeric identifier for the enrollment */
8
- courseId: number; /** Unique numeric identifier for the course */
9
- moduleId: number; /** Unique numeric identifier for the module the learner completed */
10
- dateStarted: string; /** The date and time (UTC) that the learner started the module */
11
- dateCompleted: string; /** The date and time (UTC) that the learner completed the module */
12
- markedCompleted: boolean; /** Indicates if the completion was marked complete manually by an authorized user. Default is false */
13
- type: string; /** Type of module the learner completed: one of module, page, exam, scorm, tincan, assignment, survey, checklist, training, event */
14
- sequence: number; /** Refers to the order of the modules within the course */
15
- status: string; /** Indicates the status of the learner on the module having completed it: one ofcompleted, failed, pending_review, not_started (when learner never started course, and markedCompleted=true) */
16
- percentage: number; /** The score of the module completed. Can be null */
17
- additionalData: LearnUponWebhookModuleCompleteAdditionalData /** Provides details for specific module types like exams and surveys. Can be null */
18
- eventCreated: string; /** Date and time of event completion in UTC format */
19
- }
20
-
21
- export interface LearnUponWebhookModuleCompleteUser {
22
- userId: number;
23
- email : string;
24
- username: string;
25
- }
26
-
27
- /**
28
- * see https://docs.learnupon.com/webhooks/v2/#additionaldata-object-attributes-for-module-completion-webhook for details
29
- */
30
- export type LearnUponWebhookModuleCompleteAdditionalData = any;