@easyedu/js-lsm-api 1.115.0 → 1.117.0

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 (158) hide show
  1. package/.openapi-generator/FILES +48 -0
  2. package/README.md +40 -2
  3. package/dist/apis/IntegrationApi.d.ts +257 -0
  4. package/dist/apis/IntegrationApi.js +708 -1
  5. package/dist/esm/apis/IntegrationApi.d.ts +257 -0
  6. package/dist/esm/apis/IntegrationApi.js +707 -0
  7. package/dist/esm/models/CustomWebhookIntegration.d.ts +83 -0
  8. package/dist/esm/models/CustomWebhookIntegration.js +79 -0
  9. package/dist/esm/models/GetZapierCourses.d.ts +51 -0
  10. package/dist/esm/models/GetZapierCourses.js +56 -0
  11. package/dist/esm/models/GetZapierShopifyCourseMappings.d.ts +33 -0
  12. package/dist/esm/models/GetZapierShopifyCourseMappings.js +44 -0
  13. package/dist/esm/models/GetZapierUsers.d.ts +33 -0
  14. package/dist/esm/models/GetZapierUsers.js +44 -0
  15. package/dist/esm/models/IntegrationEvent.d.ts +98 -0
  16. package/dist/esm/models/IntegrationEvent.js +92 -0
  17. package/dist/esm/models/IntegrationEventCertificate.d.ts +78 -0
  18. package/dist/esm/models/IntegrationEventCertificate.js +76 -0
  19. package/dist/esm/models/IntegrationEventCourse.d.ts +38 -0
  20. package/dist/esm/models/IntegrationEventCourse.js +47 -0
  21. package/dist/esm/models/IntegrationEventData.d.ts +61 -0
  22. package/dist/esm/models/IntegrationEventData.js +64 -0
  23. package/dist/esm/models/IntegrationEventEnrollment.d.ts +71 -0
  24. package/dist/esm/models/IntegrationEventEnrollment.js +71 -0
  25. package/dist/esm/models/IntegrationEventLearner.d.ts +50 -0
  26. package/dist/esm/models/IntegrationEventLearner.js +55 -0
  27. package/dist/esm/models/IntegrationEventPortal.d.ts +44 -0
  28. package/dist/esm/models/IntegrationEventPortal.js +51 -0
  29. package/dist/esm/models/PostCustomWebhookIntegration.d.ts +65 -0
  30. package/dist/esm/models/PostCustomWebhookIntegration.js +65 -0
  31. package/dist/esm/models/PostZapierEnrollment.d.ts +76 -0
  32. package/dist/esm/models/PostZapierEnrollment.js +64 -0
  33. package/dist/esm/models/PostZapierShopifyCourseMapping.d.ts +50 -0
  34. package/dist/esm/models/PostZapierShopifyCourseMapping.js +53 -0
  35. package/dist/esm/models/PostZapierShopifyEnrollment.d.ts +100 -0
  36. package/dist/esm/models/PostZapierShopifyEnrollment.js +82 -0
  37. package/dist/esm/models/PostZapierShopifyEnrollmentResponse.d.ts +47 -0
  38. package/dist/esm/models/PostZapierShopifyEnrollmentResponse.js +54 -0
  39. package/dist/esm/models/PostZapierSubscription.d.ts +53 -0
  40. package/dist/esm/models/PostZapierSubscription.js +57 -0
  41. package/dist/esm/models/PostZapierUser.d.ts +44 -0
  42. package/dist/esm/models/PostZapierUser.js +51 -0
  43. package/dist/esm/models/PutCustomWebhookIntegration.d.ts +65 -0
  44. package/dist/esm/models/PutCustomWebhookIntegration.js +57 -0
  45. package/dist/esm/models/ZapierCourse.d.ts +50 -0
  46. package/dist/esm/models/ZapierCourse.js +55 -0
  47. package/dist/esm/models/ZapierEnrollment.d.ts +74 -0
  48. package/dist/esm/models/ZapierEnrollment.js +69 -0
  49. package/dist/esm/models/ZapierShopifyCourseMapping.d.ts +69 -0
  50. package/dist/esm/models/ZapierShopifyCourseMapping.js +66 -0
  51. package/dist/esm/models/ZapierSubscription.d.ts +53 -0
  52. package/dist/esm/models/ZapierSubscription.js +59 -0
  53. package/dist/esm/models/ZapierUser.d.ts +56 -0
  54. package/dist/esm/models/ZapierUser.js +59 -0
  55. package/dist/esm/models/index.d.ts +24 -0
  56. package/dist/esm/models/index.js +24 -0
  57. package/dist/models/CustomWebhookIntegration.d.ts +83 -0
  58. package/dist/models/CustomWebhookIntegration.js +87 -0
  59. package/dist/models/GetZapierCourses.d.ts +51 -0
  60. package/dist/models/GetZapierCourses.js +63 -0
  61. package/dist/models/GetZapierShopifyCourseMappings.d.ts +33 -0
  62. package/dist/models/GetZapierShopifyCourseMappings.js +51 -0
  63. package/dist/models/GetZapierUsers.d.ts +33 -0
  64. package/dist/models/GetZapierUsers.js +51 -0
  65. package/dist/models/IntegrationEvent.d.ts +98 -0
  66. package/dist/models/IntegrationEvent.js +100 -0
  67. package/dist/models/IntegrationEventCertificate.d.ts +78 -0
  68. package/dist/models/IntegrationEventCertificate.js +84 -0
  69. package/dist/models/IntegrationEventCourse.d.ts +38 -0
  70. package/dist/models/IntegrationEventCourse.js +54 -0
  71. package/dist/models/IntegrationEventData.d.ts +61 -0
  72. package/dist/models/IntegrationEventData.js +71 -0
  73. package/dist/models/IntegrationEventEnrollment.d.ts +71 -0
  74. package/dist/models/IntegrationEventEnrollment.js +79 -0
  75. package/dist/models/IntegrationEventLearner.d.ts +50 -0
  76. package/dist/models/IntegrationEventLearner.js +62 -0
  77. package/dist/models/IntegrationEventPortal.d.ts +44 -0
  78. package/dist/models/IntegrationEventPortal.js +58 -0
  79. package/dist/models/PostCustomWebhookIntegration.d.ts +65 -0
  80. package/dist/models/PostCustomWebhookIntegration.js +73 -0
  81. package/dist/models/PostZapierEnrollment.d.ts +76 -0
  82. package/dist/models/PostZapierEnrollment.js +72 -0
  83. package/dist/models/PostZapierShopifyCourseMapping.d.ts +50 -0
  84. package/dist/models/PostZapierShopifyCourseMapping.js +60 -0
  85. package/dist/models/PostZapierShopifyEnrollment.d.ts +100 -0
  86. package/dist/models/PostZapierShopifyEnrollment.js +90 -0
  87. package/dist/models/PostZapierShopifyEnrollmentResponse.d.ts +47 -0
  88. package/dist/models/PostZapierShopifyEnrollmentResponse.js +61 -0
  89. package/dist/models/PostZapierSubscription.d.ts +53 -0
  90. package/dist/models/PostZapierSubscription.js +65 -0
  91. package/dist/models/PostZapierUser.d.ts +44 -0
  92. package/dist/models/PostZapierUser.js +58 -0
  93. package/dist/models/PutCustomWebhookIntegration.d.ts +65 -0
  94. package/dist/models/PutCustomWebhookIntegration.js +65 -0
  95. package/dist/models/ZapierCourse.d.ts +50 -0
  96. package/dist/models/ZapierCourse.js +62 -0
  97. package/dist/models/ZapierEnrollment.d.ts +74 -0
  98. package/dist/models/ZapierEnrollment.js +76 -0
  99. package/dist/models/ZapierShopifyCourseMapping.d.ts +69 -0
  100. package/dist/models/ZapierShopifyCourseMapping.js +73 -0
  101. package/dist/models/ZapierSubscription.d.ts +53 -0
  102. package/dist/models/ZapierSubscription.js +67 -0
  103. package/dist/models/ZapierUser.d.ts +56 -0
  104. package/dist/models/ZapierUser.js +66 -0
  105. package/dist/models/index.d.ts +24 -0
  106. package/dist/models/index.js +24 -0
  107. package/docs/CustomWebhookIntegration.md +48 -0
  108. package/docs/GetZapierCourses.md +40 -0
  109. package/docs/GetZapierShopifyCourseMappings.md +34 -0
  110. package/docs/GetZapierUsers.md +34 -0
  111. package/docs/IntegrationApi.md +1060 -30
  112. package/docs/IntegrationEvent.md +49 -0
  113. package/docs/IntegrationEventCertificate.md +46 -0
  114. package/docs/IntegrationEventCourse.md +36 -0
  115. package/docs/IntegrationEventData.md +42 -0
  116. package/docs/IntegrationEventEnrollment.md +44 -0
  117. package/docs/IntegrationEventLearner.md +40 -0
  118. package/docs/IntegrationEventPortal.md +38 -0
  119. package/docs/PostCustomWebhookIntegration.md +42 -0
  120. package/docs/PostZapierEnrollment.md +46 -0
  121. package/docs/PostZapierShopifyCourseMapping.md +40 -0
  122. package/docs/PostZapierShopifyEnrollment.md +54 -0
  123. package/docs/PostZapierShopifyEnrollmentResponse.md +38 -0
  124. package/docs/PostZapierSubscription.md +38 -0
  125. package/docs/PostZapierUser.md +38 -0
  126. package/docs/PutCustomWebhookIntegration.md +42 -0
  127. package/docs/ZapierCourse.md +40 -0
  128. package/docs/ZapierEnrollment.md +48 -0
  129. package/docs/ZapierShopifyCourseMapping.md +46 -0
  130. package/docs/ZapierSubscription.md +38 -0
  131. package/docs/ZapierUser.md +42 -0
  132. package/package.json +1 -1
  133. package/src/apis/IntegrationApi.ts +1104 -61
  134. package/src/models/CustomWebhookIntegration.ts +141 -0
  135. package/src/models/GetZapierCourses.ts +101 -0
  136. package/src/models/GetZapierShopifyCourseMappings.ts +74 -0
  137. package/src/models/GetZapierUsers.ts +74 -0
  138. package/src/models/IntegrationEvent.ts +165 -0
  139. package/src/models/IntegrationEventCertificate.ts +133 -0
  140. package/src/models/IntegrationEventCourse.ts +75 -0
  141. package/src/models/IntegrationEventData.ts +138 -0
  142. package/src/models/IntegrationEventEnrollment.ts +123 -0
  143. package/src/models/IntegrationEventLearner.ts +93 -0
  144. package/src/models/IntegrationEventPortal.ts +84 -0
  145. package/src/models/PostCustomWebhookIntegration.ts +113 -0
  146. package/src/models/PostZapierEnrollment.ts +126 -0
  147. package/src/models/PostZapierShopifyCourseMapping.ts +92 -0
  148. package/src/models/PostZapierShopifyEnrollment.ts +163 -0
  149. package/src/models/PostZapierShopifyEnrollmentResponse.ts +106 -0
  150. package/src/models/PostZapierSubscription.ts +95 -0
  151. package/src/models/PostZapierUser.ts +84 -0
  152. package/src/models/PutCustomWebhookIntegration.ts +109 -0
  153. package/src/models/ZapierCourse.ts +93 -0
  154. package/src/models/ZapierEnrollment.ts +128 -0
  155. package/src/models/ZapierShopifyCourseMapping.ts +127 -0
  156. package/src/models/ZapierSubscription.ts +96 -0
  157. package/src/models/ZapierUser.ts +102 -0
  158. package/src/models/index.ts +24 -0
@@ -0,0 +1,49 @@
1
+
2
+ # IntegrationEvent
3
+
4
+ A CloudEvents 1.0 structured JSON event emitted by Edaxu.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `specversion` | string
11
+ `id` | string
12
+ `source` | string
13
+ `type` | string
14
+ `time` | Date
15
+ `subject` | string
16
+ `datacontenttype` | string
17
+ `data` | [IntegrationEventData](IntegrationEventData.md)
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { IntegrationEvent } from '@easyedu/js-lsm-api'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "specversion": null,
27
+ "id": null,
28
+ "source": null,
29
+ "type": null,
30
+ "time": null,
31
+ "subject": null,
32
+ "datacontenttype": null,
33
+ "data": null,
34
+ } satisfies IntegrationEvent
35
+
36
+ console.log(example)
37
+
38
+ // Convert the instance to a JSON string
39
+ const exampleJSON: string = JSON.stringify(example)
40
+ console.log(exampleJSON)
41
+
42
+ // Parse the JSON string back to an object
43
+ const exampleParsed = JSON.parse(exampleJSON) as IntegrationEvent
44
+ console.log(exampleParsed)
45
+ ```
46
+
47
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
48
+
49
+
@@ -0,0 +1,46 @@
1
+
2
+ # IntegrationEventCertificate
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `status` | string
11
+ `issuanceType` | string
12
+ `issuedAt` | Date
13
+ `expiresAt` | Date
14
+ `verificationUrl` | string
15
+ `enrollmentId` | string
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { IntegrationEventCertificate } from '@easyedu/js-lsm-api'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "id": null,
25
+ "status": null,
26
+ "issuanceType": null,
27
+ "issuedAt": null,
28
+ "expiresAt": null,
29
+ "verificationUrl": null,
30
+ "enrollmentId": null,
31
+ } satisfies IntegrationEventCertificate
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as IntegrationEventCertificate
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,36 @@
1
+
2
+ # IntegrationEventCourse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `name` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { IntegrationEventCourse } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "id": null,
20
+ "name": null,
21
+ } satisfies IntegrationEventCourse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as IntegrationEventCourse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,42 @@
1
+
2
+ # IntegrationEventData
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `portal` | [IntegrationEventPortal](IntegrationEventPortal.md)
10
+ `learner` | [IntegrationEventLearner](IntegrationEventLearner.md)
11
+ `course` | [IntegrationEventCourse](IntegrationEventCourse.md)
12
+ `enrollment` | [IntegrationEventEnrollment](IntegrationEventEnrollment.md)
13
+ `certificate` | [IntegrationEventCertificate](IntegrationEventCertificate.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { IntegrationEventData } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "portal": null,
23
+ "learner": null,
24
+ "course": null,
25
+ "enrollment": null,
26
+ "certificate": null,
27
+ } satisfies IntegrationEventData
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as IntegrationEventData
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,44 @@
1
+
2
+ # IntegrationEventEnrollment
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `status` | string
11
+ `occurrence` | string
12
+ `enrollmentDateStart` | Date
13
+ `enrollmentDateEnd` | Date
14
+ `completedAt` | Date
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { IntegrationEventEnrollment } from '@easyedu/js-lsm-api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "id": null,
24
+ "status": null,
25
+ "occurrence": null,
26
+ "enrollmentDateStart": null,
27
+ "enrollmentDateEnd": null,
28
+ "completedAt": null,
29
+ } satisfies IntegrationEventEnrollment
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as IntegrationEventEnrollment
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,40 @@
1
+
2
+ # IntegrationEventLearner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `email` | string
11
+ `firstName` | string
12
+ `lastName` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { IntegrationEventLearner } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "id": null,
22
+ "email": null,
23
+ "firstName": null,
24
+ "lastName": null,
25
+ } satisfies IntegrationEventLearner
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as IntegrationEventLearner
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,38 @@
1
+
2
+ # IntegrationEventPortal
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `name` | string
11
+ `subdomain` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { IntegrationEventPortal } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "id": null,
21
+ "name": null,
22
+ "subdomain": null,
23
+ } satisfies IntegrationEventPortal
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as IntegrationEventPortal
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,42 @@
1
+
2
+ # PostCustomWebhookIntegration
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `name` | string
10
+ `targetUrl` | string
11
+ `bearerToken` | string
12
+ `eventTypes` | Set<string>
13
+ `enabled` | boolean
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { PostCustomWebhookIntegration } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "name": null,
23
+ "targetUrl": null,
24
+ "bearerToken": null,
25
+ "eventTypes": null,
26
+ "enabled": null,
27
+ } satisfies PostCustomWebhookIntegration
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as PostCustomWebhookIntegration
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,46 @@
1
+
2
+ # PostZapierEnrollment
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `courseId` | string
10
+ `userId` | string
11
+ `idempotencyKey` | string
12
+ `enrollmentDateStart` | number
13
+ `enrollmentDateEnd` | number
14
+ `notes` | string
15
+ `reEnrollmentMode` | string
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { PostZapierEnrollment } from '@easyedu/js-lsm-api'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "courseId": null,
25
+ "userId": null,
26
+ "idempotencyKey": null,
27
+ "enrollmentDateStart": null,
28
+ "enrollmentDateEnd": null,
29
+ "notes": null,
30
+ "reEnrollmentMode": null,
31
+ } satisfies PostZapierEnrollment
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as PostZapierEnrollment
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,40 @@
1
+
2
+ # PostZapierShopifyCourseMapping
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `shopDomain` | string
10
+ `variantId` | string
11
+ `productId` | string
12
+ `courseId` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { PostZapierShopifyCourseMapping } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "shopDomain": null,
22
+ "variantId": null,
23
+ "productId": null,
24
+ "courseId": null,
25
+ } satisfies PostZapierShopifyCourseMapping
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as PostZapierShopifyCourseMapping
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,54 @@
1
+
2
+ # PostZapierShopifyEnrollment
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `shopDomain` | string
10
+ `orderId` | string
11
+ `lineItemId` | string
12
+ `variantId` | string
13
+ `email` | string
14
+ `firstName` | string
15
+ `lastName` | string
16
+ `enrollmentDateStart` | number
17
+ `enrollmentDateEnd` | number
18
+ `notes` | string
19
+ `reEnrollmentMode` | string
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import type { PostZapierShopifyEnrollment } from '@easyedu/js-lsm-api'
25
+
26
+ // TODO: Update the object below with actual values
27
+ const example = {
28
+ "shopDomain": null,
29
+ "orderId": null,
30
+ "lineItemId": null,
31
+ "variantId": null,
32
+ "email": null,
33
+ "firstName": null,
34
+ "lastName": null,
35
+ "enrollmentDateStart": null,
36
+ "enrollmentDateEnd": null,
37
+ "notes": null,
38
+ "reEnrollmentMode": null,
39
+ } satisfies PostZapierShopifyEnrollment
40
+
41
+ console.log(example)
42
+
43
+ // Convert the instance to a JSON string
44
+ const exampleJSON: string = JSON.stringify(example)
45
+ console.log(exampleJSON)
46
+
47
+ // Parse the JSON string back to an object
48
+ const exampleParsed = JSON.parse(exampleJSON) as PostZapierShopifyEnrollment
49
+ console.log(exampleParsed)
50
+ ```
51
+
52
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
53
+
54
+
@@ -0,0 +1,38 @@
1
+
2
+ # PostZapierShopifyEnrollmentResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `enrollment` | [ZapierEnrollment](ZapierEnrollment.md)
10
+ `user` | [ZapierUser](ZapierUser.md)
11
+ `mapping` | [ZapierShopifyCourseMapping](ZapierShopifyCourseMapping.md)
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { PostZapierShopifyEnrollmentResponse } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "enrollment": null,
21
+ "user": null,
22
+ "mapping": null,
23
+ } satisfies PostZapierShopifyEnrollmentResponse
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as PostZapierShopifyEnrollmentResponse
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,38 @@
1
+
2
+ # PostZapierSubscription
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `eventType` | string
10
+ `targetUrl` | string
11
+ `zapId` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { PostZapierSubscription } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "eventType": null,
21
+ "targetUrl": null,
22
+ "zapId": null,
23
+ } satisfies PostZapierSubscription
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as PostZapierSubscription
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,38 @@
1
+
2
+ # PostZapierUser
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `email` | string
10
+ `firstName` | string
11
+ `lastName` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { PostZapierUser } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "email": null,
21
+ "firstName": null,
22
+ "lastName": null,
23
+ } satisfies PostZapierUser
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as PostZapierUser
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,42 @@
1
+
2
+ # PutCustomWebhookIntegration
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `name` | string
10
+ `targetUrl` | string
11
+ `bearerToken` | string
12
+ `eventTypes` | Set<string>
13
+ `enabled` | boolean
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { PutCustomWebhookIntegration } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "name": null,
23
+ "targetUrl": null,
24
+ "bearerToken": null,
25
+ "eventTypes": null,
26
+ "enabled": null,
27
+ } satisfies PutCustomWebhookIntegration
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as PutCustomWebhookIntegration
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,40 @@
1
+
2
+ # ZapierCourse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `name` | string
11
+ `description` | string
12
+ `published` | boolean
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { ZapierCourse } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "id": null,
22
+ "name": null,
23
+ "description": null,
24
+ "published": null,
25
+ } satisfies ZapierCourse
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as ZapierCourse
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+