@ikonintegration/bccsa-program-api 3.0.39 → 3.0.40
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/Api.ts +386 -95
- package/dist/Api.d.ts +298 -104
- package/dist/Api.js +141 -8
- package/dist/Api.js.map +1 -1
- package/package.json +2 -2
package/Api.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface ErrorResponse {
|
|
|
17
17
|
errCode: string
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface InputPayanh5Rg7 {
|
|
21
21
|
/**
|
|
22
22
|
* Name of the person filling out the contact form
|
|
23
23
|
* @example "John Doe"
|
|
@@ -387,7 +387,7 @@ export type RevokedByID = string
|
|
|
387
387
|
export type RevokedByName = string
|
|
388
388
|
|
|
389
389
|
/** Sponsorship approval parameters */
|
|
390
|
-
export interface
|
|
390
|
+
export interface InputLuf22Qfjwd {
|
|
391
391
|
/**
|
|
392
392
|
* Employer first name
|
|
393
393
|
* @maxLength 255
|
|
@@ -628,7 +628,7 @@ export type SponsorshipRemindersSponsor = string[]
|
|
|
628
628
|
/** Timestamp when the current sponsorship reminder schedule started (set on create and on reset). Reminder dueness is measured from it; when absent, from createdOn. */
|
|
629
629
|
export type RemindersStartedOn = number
|
|
630
630
|
|
|
631
|
-
export interface
|
|
631
|
+
export interface Input7Vmuwipays {
|
|
632
632
|
/**
|
|
633
633
|
* ID of the certification to filter applications by
|
|
634
634
|
* @example "certification123"
|
|
@@ -686,7 +686,7 @@ export interface InputAo0Hmwpt3Z {
|
|
|
686
686
|
ignoreCompletedCertifications?: boolean | null
|
|
687
687
|
}
|
|
688
688
|
|
|
689
|
-
export interface
|
|
689
|
+
export interface Input2Aq4Pyagkd {
|
|
690
690
|
/**
|
|
691
691
|
* ID of the certification to filter applications by
|
|
692
692
|
* @example "certification123"
|
|
@@ -744,7 +744,7 @@ export interface InputSf456Uwm0Y {
|
|
|
744
744
|
ignoreCompletedCertifications?: boolean | null
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
export interface
|
|
747
|
+
export interface Input8Klnphf8Bc {
|
|
748
748
|
/**
|
|
749
749
|
* ID of the certification to filter applications by
|
|
750
750
|
* @example "certification123"
|
|
@@ -802,7 +802,7 @@ export interface InputGk0V7Sd10D {
|
|
|
802
802
|
ignoreCompletedCertifications?: boolean | null
|
|
803
803
|
}
|
|
804
804
|
|
|
805
|
-
export interface
|
|
805
|
+
export interface Input3Nox52Otw6 {
|
|
806
806
|
/**
|
|
807
807
|
* The ID of the certificate specifications to be used for the email
|
|
808
808
|
* @example "certSpecsID123"
|
|
@@ -844,7 +844,7 @@ export interface InputRw5C352Zh1 {
|
|
|
844
844
|
}[]
|
|
845
845
|
}
|
|
846
846
|
|
|
847
|
-
export interface
|
|
847
|
+
export interface Input6Hyaakdeqh {
|
|
848
848
|
/**
|
|
849
849
|
* The ID of the product for which the license is being redeemed
|
|
850
850
|
* @example "productID123"
|
|
@@ -857,7 +857,7 @@ export interface InputWq7Kc998Gu {
|
|
|
857
857
|
sessionID?: string
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
export interface
|
|
860
|
+
export interface Input97Kt0K1U4M {
|
|
861
861
|
/**
|
|
862
862
|
* Search term to filter licenses
|
|
863
863
|
* @example "active"
|
|
@@ -875,7 +875,7 @@ export interface InputAohpyyjnf {
|
|
|
875
875
|
sortField?: any
|
|
876
876
|
}
|
|
877
877
|
|
|
878
|
-
export interface
|
|
878
|
+
export interface Input0Spjg5T0Z6L {
|
|
879
879
|
/**
|
|
880
880
|
* Search term to filter licenses
|
|
881
881
|
* @example "active"
|
|
@@ -1017,7 +1017,7 @@ export interface SearchPendingApprovalsResponseSchema {
|
|
|
1017
1017
|
}[]
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
|
-
export interface
|
|
1020
|
+
export interface InputP41Mwrllc3J {
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Start date for the report
|
|
1023
1023
|
* @example "2023-01-01T00:00:00Z"
|
|
@@ -1040,12 +1040,12 @@ export interface Input7U9Wc63O0Z {
|
|
|
1040
1040
|
dateType?: string
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
|
-
export interface
|
|
1043
|
+
export interface InputXoh70L5Ehi {
|
|
1044
1044
|
/** List of user IDs to search for in the tenant. */
|
|
1045
1045
|
IDs: (string | null)[]
|
|
1046
1046
|
}
|
|
1047
1047
|
|
|
1048
|
-
export interface
|
|
1048
|
+
export interface Input0Vk0Eax6Wa {
|
|
1049
1049
|
/** The term to search for in the user profiles. */
|
|
1050
1050
|
searchTerm?: string | null
|
|
1051
1051
|
/** Filter criteria for the user search. */
|
|
@@ -1086,7 +1086,7 @@ export interface InputRx2Of25Z1S {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
|
-
export interface
|
|
1089
|
+
export interface InputC8Zwd7Q8U9 {
|
|
1090
1090
|
/** The term to search for in the user profiles. */
|
|
1091
1091
|
searchTerm?: string | null
|
|
1092
1092
|
/** Filter criteria for the user search. */
|
|
@@ -1127,7 +1127,7 @@ export interface InputBwf6Vwqau4H {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
|
-
export interface
|
|
1130
|
+
export interface Output8Atvagu67T {
|
|
1131
1131
|
/** External system ID 2 */
|
|
1132
1132
|
userCount: ExternalID2
|
|
1133
1133
|
transactionID?: string | null
|
|
@@ -1139,7 +1139,7 @@ export type ExternalID2 = number
|
|
|
1139
1139
|
/** This endpoint accepts no request body */
|
|
1140
1140
|
export type DeletePendingApprovalBody = object
|
|
1141
1141
|
|
|
1142
|
-
export interface
|
|
1142
|
+
export interface OutputYasax7Adi6 {
|
|
1143
1143
|
/**
|
|
1144
1144
|
* Signed URL for the course file
|
|
1145
1145
|
* @example "https://<bucket-name>.s3.amazonaws.com/<object-key>?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=...&X-Amz-Expires=...&X-Amz-Signature=...&X-Amz-SignedHeaders=host"
|
|
@@ -1147,7 +1147,7 @@ export interface Output0Mvvp8Ezlc {
|
|
|
1147
1147
|
fileURL: string
|
|
1148
1148
|
}
|
|
1149
1149
|
|
|
1150
|
-
export interface
|
|
1150
|
+
export interface OutputEro394Udh7 {
|
|
1151
1151
|
/**
|
|
1152
1152
|
* Amount to be refunded for the cancellation
|
|
1153
1153
|
* @example 0
|
|
@@ -1473,7 +1473,7 @@ export interface CourseResponseEntity {
|
|
|
1473
1473
|
/** Label of the course enrolled (course version) */
|
|
1474
1474
|
export type OnlineCourseLabel = string
|
|
1475
1475
|
|
|
1476
|
-
export interface
|
|
1476
|
+
export interface OutputWxu6Mostsg {
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Signed URL for the course file
|
|
1479
1479
|
* @example "https://<bucket-name>.s3.amazonaws.com/<object-key>?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=...&X-Amz-Expires=...&X-Amz-Signature=...&X-Amz-SignedHeaders=host"
|
|
@@ -1493,7 +1493,7 @@ export interface UserExpandedCPResponseSchema {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
|
|
1495
1495
|
/** Application Foreign Fill response type */
|
|
1496
|
-
export interface
|
|
1496
|
+
export interface OutputG6Fp4O6Jqs {
|
|
1497
1497
|
items: {
|
|
1498
1498
|
userID: string
|
|
1499
1499
|
createdOn?: number
|
|
@@ -1733,7 +1733,7 @@ export interface CertificationProcessResponseEntity {
|
|
|
1733
1733
|
transactionID?: string | null
|
|
1734
1734
|
}
|
|
1735
1735
|
|
|
1736
|
-
export interface
|
|
1736
|
+
export interface Input6Xov0Uhvug {
|
|
1737
1737
|
issuedOn?: number
|
|
1738
1738
|
expiresOn?: number
|
|
1739
1739
|
fileItems?: {
|
|
@@ -1743,7 +1743,7 @@ export interface InputO6S14Hm8Ny {
|
|
|
1743
1743
|
additionalNotes?: string | null
|
|
1744
1744
|
}
|
|
1745
1745
|
|
|
1746
|
-
export interface
|
|
1746
|
+
export interface InputS2I3Ncfw06I {
|
|
1747
1747
|
/**
|
|
1748
1748
|
* Indicates whether the application is locked
|
|
1749
1749
|
* @example true
|
|
@@ -1751,7 +1751,7 @@ export interface InputA30Shinbjtk {
|
|
|
1751
1751
|
isApplicationLocked: boolean
|
|
1752
1752
|
}
|
|
1753
1753
|
|
|
1754
|
-
export interface
|
|
1754
|
+
export interface OutputDvz4Kpu7Qqf {
|
|
1755
1755
|
/**
|
|
1756
1756
|
* Signed URL for the course file
|
|
1757
1757
|
* @example "https://<bucket-name>.s3.amazonaws.com/<object-key>?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=...&X-Amz-Expires=...&X-Amz-Signature=...&X-Amz-SignedHeaders=host"
|
|
@@ -1759,7 +1759,7 @@ export interface OutputW7312H25Cc {
|
|
|
1759
1759
|
fileURL: string
|
|
1760
1760
|
}
|
|
1761
1761
|
|
|
1762
|
-
export interface
|
|
1762
|
+
export interface InputAkthwncsqzg {
|
|
1763
1763
|
/**
|
|
1764
1764
|
* Indicates whether the waiver is approved
|
|
1765
1765
|
* @example true
|
|
@@ -1772,7 +1772,7 @@ export interface InputHttuep0Xaa {
|
|
|
1772
1772
|
additionalNotes?: string | null
|
|
1773
1773
|
}
|
|
1774
1774
|
|
|
1775
|
-
export interface
|
|
1775
|
+
export interface InputYuieq8467B {
|
|
1776
1776
|
/**
|
|
1777
1777
|
* Optional notes regarding the waiver
|
|
1778
1778
|
* @example "Waiver granted due to special circumstances."
|
|
@@ -1780,7 +1780,7 @@ export interface InputR89Sd266I6 {
|
|
|
1780
1780
|
additionalNotes?: string | null
|
|
1781
1781
|
}
|
|
1782
1782
|
|
|
1783
|
-
export interface
|
|
1783
|
+
export interface Input5Sm698V54Kl {
|
|
1784
1784
|
students: {
|
|
1785
1785
|
/**
|
|
1786
1786
|
* User ID of the student to redeem the course for
|
|
@@ -1815,7 +1815,7 @@ export interface InputS523Pjmwoa {
|
|
|
1815
1815
|
autoEnrolSessionID?: string
|
|
1816
1816
|
}
|
|
1817
1817
|
|
|
1818
|
-
export interface
|
|
1818
|
+
export interface Input00Cup216Sw {
|
|
1819
1819
|
invites: {
|
|
1820
1820
|
/**
|
|
1821
1821
|
* Email address of the user to invite
|
|
@@ -1845,7 +1845,7 @@ export interface Input7Pkse4K1Q5 {
|
|
|
1845
1845
|
isReservedSeat: boolean
|
|
1846
1846
|
}
|
|
1847
1847
|
|
|
1848
|
-
export interface
|
|
1848
|
+
export interface InputRiihigs1Zdi {
|
|
1849
1849
|
/**
|
|
1850
1850
|
* Indicates whether to waive the certification process
|
|
1851
1851
|
* @example true
|
|
@@ -1859,7 +1859,7 @@ export interface Input3Dqkxxnovwg {
|
|
|
1859
1859
|
}
|
|
1860
1860
|
|
|
1861
1861
|
/** Certification move response schema */
|
|
1862
|
-
export interface
|
|
1862
|
+
export interface OutputRt315Aaaee {
|
|
1863
1863
|
errors?: {
|
|
1864
1864
|
status: string
|
|
1865
1865
|
object?: Record<string, any>
|
|
@@ -1868,12 +1868,12 @@ export interface OutputLakap8U75H {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
|
|
1870
1870
|
/** Schema for writing a certification trigger check. */
|
|
1871
|
-
export interface
|
|
1871
|
+
export interface Input9S37F7Gzue {
|
|
1872
1872
|
/**
|
|
1873
1873
|
* The value of the trigger check, [CHECKED, UNCHECKED, NOVALUE]
|
|
1874
1874
|
* @example "CHECKED"
|
|
1875
1875
|
*/
|
|
1876
|
-
value:
|
|
1876
|
+
value: Input9S37F7GzueValueEnum
|
|
1877
1877
|
/**
|
|
1878
1878
|
* List of course IDs that are blocked by this trigger check.
|
|
1879
1879
|
* @example ["course1","course2"]
|
|
@@ -1881,7 +1881,7 @@ export interface InputO15Aanoemr {
|
|
|
1881
1881
|
blockedCourses?: string[]
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
|
-
export interface
|
|
1884
|
+
export interface InputCc03755Grj {
|
|
1885
1885
|
/**
|
|
1886
1886
|
* Indicates whether the application item is approved
|
|
1887
1887
|
* @example true
|
|
@@ -1909,7 +1909,7 @@ export interface StudentHistoryRequestSchema {
|
|
|
1909
1909
|
requirements: string[]
|
|
1910
1910
|
}
|
|
1911
1911
|
|
|
1912
|
-
export interface
|
|
1912
|
+
export interface InputQr67F4X9Qz {
|
|
1913
1913
|
/**
|
|
1914
1914
|
* Optional activation key for the application
|
|
1915
1915
|
* @example "AK-123456"
|
|
@@ -1918,7 +1918,7 @@ export interface InputMzh8Dry519 {
|
|
|
1918
1918
|
}
|
|
1919
1919
|
|
|
1920
1920
|
/** Schema for course submission item details post request. */
|
|
1921
|
-
export interface
|
|
1921
|
+
export interface Input1Gepy2Er06 {
|
|
1922
1922
|
/**
|
|
1923
1923
|
* The ID of the file being submitted.
|
|
1924
1924
|
* @example "fileID123"
|
|
@@ -1932,7 +1932,7 @@ export interface Input907Bqms0Gd {
|
|
|
1932
1932
|
}
|
|
1933
1933
|
|
|
1934
1934
|
/** Schema for the response to course submission item details post request. */
|
|
1935
|
-
export interface
|
|
1935
|
+
export interface Output1Gepy2Er06 {
|
|
1936
1936
|
submissionItems: {
|
|
1937
1937
|
/**
|
|
1938
1938
|
* The ID of the file being submitted.
|
|
@@ -1948,7 +1948,7 @@ export interface Output907Bqms0Gd {
|
|
|
1948
1948
|
}
|
|
1949
1949
|
|
|
1950
1950
|
/** Pending approval submission parameters */
|
|
1951
|
-
export interface
|
|
1951
|
+
export interface Input2Ypeat3Q15H {
|
|
1952
1952
|
/**
|
|
1953
1953
|
* Type of pending approval
|
|
1954
1954
|
* @example "certification"
|
|
@@ -1969,7 +1969,7 @@ export interface InputIw7Hk3Mq5M {
|
|
|
1969
1969
|
}[]
|
|
1970
1970
|
}
|
|
1971
1971
|
|
|
1972
|
-
export interface
|
|
1972
|
+
export interface Input250S74Bjft {
|
|
1973
1973
|
/**
|
|
1974
1974
|
* The ID of the course for which the license is being redeemed
|
|
1975
1975
|
* @example "courseID123"
|
|
@@ -2038,7 +2038,7 @@ export interface InputLh0T8171Wqg {
|
|
|
2038
2038
|
}
|
|
2039
2039
|
|
|
2040
2040
|
/** Validate certification move response schema */
|
|
2041
|
-
export interface
|
|
2041
|
+
export interface OutputApyuuj0P1 {
|
|
2042
2042
|
courses: {
|
|
2043
2043
|
name: string
|
|
2044
2044
|
status: string
|
|
@@ -2050,7 +2050,7 @@ export interface OutputHmffu9Hc2H {
|
|
|
2050
2050
|
mustCreateCP: boolean
|
|
2051
2051
|
}
|
|
2052
2052
|
|
|
2053
|
-
export interface
|
|
2053
|
+
export interface InputL2Zy7U6Osi {
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Comments regarding the end of the cooldown period
|
|
2056
2056
|
* @example "Cooldown period ended successfully."
|
|
@@ -2058,7 +2058,7 @@ export interface InputLk5B7Priqt {
|
|
|
2058
2058
|
comments: string
|
|
2059
2059
|
}
|
|
2060
2060
|
|
|
2061
|
-
export interface
|
|
2061
|
+
export interface OutputXz9Iif7Elb {
|
|
2062
2062
|
/**
|
|
2063
2063
|
* Signed URL for the course file
|
|
2064
2064
|
* @example "https://<bucket-name>.s3.amazonaws.com/<object-key>?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=...&X-Amz-Expires=...&X-Amz-Signature=...&X-Amz-SignedHeaders=host"
|
|
@@ -2066,7 +2066,7 @@ export interface OutputC61Yutxgkz {
|
|
|
2066
2066
|
fileURL: string
|
|
2067
2067
|
}
|
|
2068
2068
|
|
|
2069
|
-
export interface
|
|
2069
|
+
export interface InputHkz0Gc0Zaj {
|
|
2070
2070
|
/** @example true */
|
|
2071
2071
|
agreedWithCertTerms: boolean
|
|
2072
2072
|
/** @example 1717230000000 */
|
|
@@ -2153,7 +2153,7 @@ export interface Sponsor {
|
|
|
2153
2153
|
title?: Title
|
|
2154
2154
|
}
|
|
2155
2155
|
|
|
2156
|
-
export interface
|
|
2156
|
+
export interface Input09Umpjsbpm {
|
|
2157
2157
|
/**
|
|
2158
2158
|
* Comments regarding the course unlock action
|
|
2159
2159
|
* @example "Course unlocked successfully."
|
|
@@ -2161,7 +2161,7 @@ export interface Input90Jd0Xyanx {
|
|
|
2161
2161
|
comments: string
|
|
2162
2162
|
}
|
|
2163
2163
|
|
|
2164
|
-
export interface
|
|
2164
|
+
export interface Input8Inz421X6C {
|
|
2165
2165
|
/**
|
|
2166
2166
|
* ITA number to update for the user
|
|
2167
2167
|
* @example "ITA123456"
|
|
@@ -2169,7 +2169,7 @@ export interface InputC9Nvfilwnd {
|
|
|
2169
2169
|
itaNumber: string
|
|
2170
2170
|
}
|
|
2171
2171
|
|
|
2172
|
-
export interface
|
|
2172
|
+
export interface Input5Num6Uwu17K {
|
|
2173
2173
|
/** @example true */
|
|
2174
2174
|
agreedWithCertTerms: boolean
|
|
2175
2175
|
/** @example 1717230000000 */
|
|
@@ -2244,7 +2244,7 @@ export interface InputVynk4V82Hlf {
|
|
|
2244
2244
|
sponsor?: Sponsor
|
|
2245
2245
|
}
|
|
2246
2246
|
|
|
2247
|
-
export interface
|
|
2247
|
+
export interface InputV0Qo4M776D {
|
|
2248
2248
|
/**
|
|
2249
2249
|
* The grade to override the course result with
|
|
2250
2250
|
* @example "A"
|
|
@@ -2253,7 +2253,7 @@ export interface InputSzdt1Ehw1F {
|
|
|
2253
2253
|
}
|
|
2254
2254
|
|
|
2255
2255
|
/** Pending approval review parameters */
|
|
2256
|
-
export interface
|
|
2256
|
+
export interface InputGzpcnkmsxo {
|
|
2257
2257
|
/**
|
|
2258
2258
|
* Notes provided by the reviewer for the pending approval
|
|
2259
2259
|
* @example "Please review the submitted documents."
|
|
@@ -2274,7 +2274,7 @@ export interface InputRaggvf9Tdaf {
|
|
|
2274
2274
|
}
|
|
2275
2275
|
|
|
2276
2276
|
/** Schema for overriding course result dates. */
|
|
2277
|
-
export interface
|
|
2277
|
+
export interface InputC1Toblrnow {
|
|
2278
2278
|
/**
|
|
2279
2279
|
* The date when the course result expires, in milliseconds since epoch.
|
|
2280
2280
|
* @example 1735689600000
|
|
@@ -2290,7 +2290,103 @@ export interface Input504Pqmq2W3 {
|
|
|
2290
2290
|
/** Reset sponsorship request takes no body */
|
|
2291
2291
|
export type ResetSponsorshipBody = object
|
|
2292
2292
|
|
|
2293
|
-
|
|
2293
|
+
/** List of work hours records for a user */
|
|
2294
|
+
export type WorkHoursListResponse = WorkHoursResponseEntity[]
|
|
2295
|
+
|
|
2296
|
+
/** Single work hours object */
|
|
2297
|
+
export interface WorkHoursResponseEntity {
|
|
2298
|
+
/** User who created the record */
|
|
2299
|
+
createdBy?: CreatedBy
|
|
2300
|
+
/** Timestamp when the record was created */
|
|
2301
|
+
createdOn?: CreatedOn
|
|
2302
|
+
/** User who last updated the record */
|
|
2303
|
+
updatedBy?: UpdatedBy
|
|
2304
|
+
/** Timestamp of last update */
|
|
2305
|
+
updatedOn?: UpdatedOn
|
|
2306
|
+
/** Entity identifier for work hours */
|
|
2307
|
+
dbEntity?: DbEntity
|
|
2308
|
+
/** Unique identifier of the work hours record */
|
|
2309
|
+
id: Id
|
|
2310
|
+
/** Tenant ID associated with the work hours record */
|
|
2311
|
+
tenantID: TenantID
|
|
2312
|
+
/** User ID related with this work hours record */
|
|
2313
|
+
userID: UserID
|
|
2314
|
+
/** Number of hours entered for a specific period */
|
|
2315
|
+
hours?: Hours
|
|
2316
|
+
/** Initial date of the work period (timestamp) */
|
|
2317
|
+
initDate: InitDate
|
|
2318
|
+
/** End date of the work period (timestamp) */
|
|
2319
|
+
endDate?: EndDate
|
|
2320
|
+
/** Concrete pump categories the user selected to enter hours */
|
|
2321
|
+
categories?: Categories
|
|
2322
|
+
/** Array of documents that prove the hours worked */
|
|
2323
|
+
attachments?: Attachments
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
/** Number of hours entered for a specific period */
|
|
2327
|
+
export type Hours = number
|
|
2328
|
+
|
|
2329
|
+
/** Initial date of the work period (timestamp) */
|
|
2330
|
+
export type InitDate = number
|
|
2331
|
+
|
|
2332
|
+
/** End date of the work period (timestamp) */
|
|
2333
|
+
export type EndDate = number
|
|
2334
|
+
|
|
2335
|
+
/** Concrete pump categories the user selected to enter hours */
|
|
2336
|
+
export type Categories = string[]
|
|
2337
|
+
|
|
2338
|
+
/** Array of documents that prove the hours worked */
|
|
2339
|
+
export type Attachments = {
|
|
2340
|
+
/** Identifier of the attachment file */
|
|
2341
|
+
fileID: string
|
|
2342
|
+
/** Name of the attachment file */
|
|
2343
|
+
fileName: string
|
|
2344
|
+
}[]
|
|
2345
|
+
|
|
2346
|
+
/** Payload to create or update a work hours record */
|
|
2347
|
+
export interface WorkHoursWrite {
|
|
2348
|
+
/** @example 40 */
|
|
2349
|
+
hours?: number
|
|
2350
|
+
/** @example 1717230000000 */
|
|
2351
|
+
initDate: number
|
|
2352
|
+
/** @example 1717830000000 */
|
|
2353
|
+
endDate?: number
|
|
2354
|
+
/** @example ["boom","line"] */
|
|
2355
|
+
categories?: string[]
|
|
2356
|
+
/** @example [{"fileID":"fileID","fileName":"proof.pdf"}] */
|
|
2357
|
+
attachments?: {
|
|
2358
|
+
/**
|
|
2359
|
+
* @minLength 1
|
|
2360
|
+
* @example "fileID"
|
|
2361
|
+
*/
|
|
2362
|
+
fileID: string
|
|
2363
|
+
/**
|
|
2364
|
+
* @minLength 1
|
|
2365
|
+
* @example "proof.pdf"
|
|
2366
|
+
*/
|
|
2367
|
+
fileName: string
|
|
2368
|
+
}[]
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
/** Work hours file response */
|
|
2372
|
+
export interface OutputEhwsfr213Q {
|
|
2373
|
+
/**
|
|
2374
|
+
* Signed URL for the work hours file
|
|
2375
|
+
* @example "https://<bucket-name>.s3.amazonaws.com/<object-key>?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=..."
|
|
2376
|
+
*/
|
|
2377
|
+
fileURL: string
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
/** Work hours file response */
|
|
2381
|
+
export interface OutputK0Lpmp4384 {
|
|
2382
|
+
/**
|
|
2383
|
+
* Signed URL for the work hours file
|
|
2384
|
+
* @example "https://<bucket-name>.s3.amazonaws.com/<object-key>?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=..."
|
|
2385
|
+
*/
|
|
2386
|
+
fileURL: string
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
export interface Input3T6Epmw0B5 {
|
|
2294
2390
|
filter: {
|
|
2295
2391
|
from?: number
|
|
2296
2392
|
sortOrder?: string
|
|
@@ -2298,7 +2394,7 @@ export interface InputE48N2Qyfcu {
|
|
|
2298
2394
|
}
|
|
2299
2395
|
}
|
|
2300
2396
|
|
|
2301
|
-
export interface
|
|
2397
|
+
export interface Output3T6Epmw0B5 {
|
|
2302
2398
|
users: {
|
|
2303
2399
|
firstName: string
|
|
2304
2400
|
lastName: string
|
|
@@ -2324,7 +2420,7 @@ export enum ReportXlsxSchemaContentTypeEnum {
|
|
|
2324
2420
|
* The value of the trigger check, [CHECKED, UNCHECKED, NOVALUE]
|
|
2325
2421
|
* @example "CHECKED"
|
|
2326
2422
|
*/
|
|
2327
|
-
export enum
|
|
2423
|
+
export enum Input9S37F7GzueValueEnum {
|
|
2328
2424
|
CHECKED = 'CHECKED',
|
|
2329
2425
|
UNCHECKED = 'UNCHECKED',
|
|
2330
2426
|
NOVALUE = 'NOVALUE',
|
|
@@ -2486,7 +2582,7 @@ export type CreateReportUsersSimpleData = any
|
|
|
2486
2582
|
|
|
2487
2583
|
export type CreateReportUsersSimpleError = ErrorResponse
|
|
2488
2584
|
|
|
2489
|
-
export type CreateSearchUsersCountData =
|
|
2585
|
+
export type CreateSearchUsersCountData = Output8Atvagu67T
|
|
2490
2586
|
|
|
2491
2587
|
export type CreateSearchUsersCountError = ErrorResponse
|
|
2492
2588
|
|
|
@@ -2534,7 +2630,7 @@ export type DeleteCertificationCourseFileSignData = any
|
|
|
2534
2630
|
|
|
2535
2631
|
export type DeleteCertificationCourseFileSignError = ErrorResponse
|
|
2536
2632
|
|
|
2537
|
-
export type GetCertificationCourseFileSignData =
|
|
2633
|
+
export type GetCertificationCourseFileSignData = OutputWxu6Mostsg
|
|
2538
2634
|
|
|
2539
2635
|
export type GetCertificationCourseFileSignError = ErrorResponse
|
|
2540
2636
|
|
|
@@ -2551,7 +2647,7 @@ export interface CreateCertificationCourseFileSignParams {
|
|
|
2551
2647
|
fileId: string
|
|
2552
2648
|
}
|
|
2553
2649
|
|
|
2554
|
-
export type CreateCertificationCourseFileSignData =
|
|
2650
|
+
export type CreateCertificationCourseFileSignData = OutputXz9Iif7Elb
|
|
2555
2651
|
|
|
2556
2652
|
export type CreateCertificationCourseFileSignError = ErrorResponse
|
|
2557
2653
|
|
|
@@ -2559,7 +2655,7 @@ export type DeleteCertificationCourseDocumentData = any
|
|
|
2559
2655
|
|
|
2560
2656
|
export type DeleteCertificationCourseDocumentError = ErrorResponse
|
|
2561
2657
|
|
|
2562
|
-
export type CreateCertificationCourseDocumentData =
|
|
2658
|
+
export type CreateCertificationCourseDocumentData = Output1Gepy2Er06
|
|
2563
2659
|
|
|
2564
2660
|
export type CreateCertificationCourseDocumentError = ErrorResponse
|
|
2565
2661
|
|
|
@@ -2591,7 +2687,7 @@ export type DeleteCertificationCourseData = any
|
|
|
2591
2687
|
|
|
2592
2688
|
export type DeleteCertificationCourseError = ErrorResponse
|
|
2593
2689
|
|
|
2594
|
-
export type GetCertificationApplicationItemFileData =
|
|
2690
|
+
export type GetCertificationApplicationItemFileData = OutputYasax7Adi6
|
|
2595
2691
|
|
|
2596
2692
|
export type GetCertificationApplicationItemFileError = ErrorResponse
|
|
2597
2693
|
|
|
@@ -2608,11 +2704,11 @@ export interface CreateCertificationApplicationItemFileParams {
|
|
|
2608
2704
|
fileVersion: string
|
|
2609
2705
|
}
|
|
2610
2706
|
|
|
2611
|
-
export type CreateCertificationApplicationItemFileData =
|
|
2707
|
+
export type CreateCertificationApplicationItemFileData = OutputDvz4Kpu7Qqf
|
|
2612
2708
|
|
|
2613
2709
|
export type CreateCertificationApplicationItemFileError = ErrorResponse
|
|
2614
2710
|
|
|
2615
|
-
export type GetCertificationCourseSessionCalcCancelationChargesData =
|
|
2711
|
+
export type GetCertificationCourseSessionCalcCancelationChargesData = OutputEro394Udh7
|
|
2616
2712
|
|
|
2617
2713
|
export type GetCertificationCourseSessionCalcCancelationChargesError = ErrorResponse
|
|
2618
2714
|
|
|
@@ -2628,7 +2724,7 @@ export type GetCertificationsExpandedData = UserExpandedCPResponseSchema
|
|
|
2628
2724
|
|
|
2629
2725
|
export type GetCertificationsExpandedError = ErrorResponse
|
|
2630
2726
|
|
|
2631
|
-
export type GetCertificationApplicationForeignFillData =
|
|
2727
|
+
export type GetCertificationApplicationForeignFillData = OutputG6Fp4O6Jqs
|
|
2632
2728
|
|
|
2633
2729
|
export type GetCertificationApplicationForeignFillError = ErrorResponse
|
|
2634
2730
|
|
|
@@ -2696,7 +2792,7 @@ export type CreateCertificationWaiveData = any
|
|
|
2696
2792
|
|
|
2697
2793
|
export type CreateCertificationWaiveError = ErrorResponse
|
|
2698
2794
|
|
|
2699
|
-
export type CreateCertificationMoveData =
|
|
2795
|
+
export type CreateCertificationMoveData = OutputRt315Aaaee
|
|
2700
2796
|
|
|
2701
2797
|
export type CreateCertificationMoveError = ErrorResponse
|
|
2702
2798
|
|
|
@@ -2760,7 +2856,7 @@ export type CreateCertificationCourseRedeemData = any
|
|
|
2760
2856
|
|
|
2761
2857
|
export type CreateCertificationCourseRedeemError = ErrorResponse
|
|
2762
2858
|
|
|
2763
|
-
export type CreateCertificationMoveValidateData =
|
|
2859
|
+
export type CreateCertificationMoveValidateData = OutputApyuuj0P1
|
|
2764
2860
|
|
|
2765
2861
|
export type CreateCertificationMoveValidateError = ErrorResponse
|
|
2766
2862
|
|
|
@@ -2796,7 +2892,50 @@ export type CreateSponsorshipResetData = any
|
|
|
2796
2892
|
|
|
2797
2893
|
export type CreateSponsorshipResetError = ErrorResponse
|
|
2798
2894
|
|
|
2799
|
-
export type
|
|
2895
|
+
export type GetWorkHoursData = WorkHoursListResponse
|
|
2896
|
+
|
|
2897
|
+
export type GetWorkHoursError = ErrorResponse
|
|
2898
|
+
|
|
2899
|
+
export type GetWorkHours2Data = WorkHoursResponseEntity
|
|
2900
|
+
|
|
2901
|
+
export type GetWorkHours2Error = ErrorResponse
|
|
2902
|
+
|
|
2903
|
+
export type ListWorkHoursData = WorkHoursResponseEntity
|
|
2904
|
+
|
|
2905
|
+
export type ListWorkHoursError = ErrorResponse
|
|
2906
|
+
|
|
2907
|
+
export type UpdateWorkHoursData = WorkHoursResponseEntity
|
|
2908
|
+
|
|
2909
|
+
export type UpdateWorkHoursError = ErrorResponse
|
|
2910
|
+
|
|
2911
|
+
export type DeleteWorkHoursData = any
|
|
2912
|
+
|
|
2913
|
+
export type DeleteWorkHoursError = ErrorResponse
|
|
2914
|
+
|
|
2915
|
+
export interface CreateWorkHoursFileSignParams {
|
|
2916
|
+
/** @example "pdf" */
|
|
2917
|
+
fileType: string
|
|
2918
|
+
/** @example "userID" */
|
|
2919
|
+
userId: string
|
|
2920
|
+
/** @example "workHoursID" */
|
|
2921
|
+
workHoursId: string
|
|
2922
|
+
/** @example "fileID" */
|
|
2923
|
+
fileId: string
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2926
|
+
export type CreateWorkHoursFileSignData = OutputEhwsfr213Q
|
|
2927
|
+
|
|
2928
|
+
export type CreateWorkHoursFileSignError = ErrorResponse
|
|
2929
|
+
|
|
2930
|
+
export type DeleteWorkHoursFileSignData = any
|
|
2931
|
+
|
|
2932
|
+
export type DeleteWorkHoursFileSignError = ErrorResponse
|
|
2933
|
+
|
|
2934
|
+
export type GetWorkHoursFileSignData = OutputK0Lpmp4384
|
|
2935
|
+
|
|
2936
|
+
export type GetWorkHoursFileSignError = ErrorResponse
|
|
2937
|
+
|
|
2938
|
+
export type CreateCertificationResult = Output3T6Epmw0B5
|
|
2800
2939
|
|
|
2801
2940
|
export type CreateCertificationFail = ErrorResponse
|
|
2802
2941
|
|
|
@@ -2942,7 +3081,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
2942
3081
|
|
|
2943
3082
|
/**
|
|
2944
3083
|
* @title BCCSA Program API
|
|
2945
|
-
* @version 3.0.
|
|
3084
|
+
* @version 3.0.40
|
|
2946
3085
|
* @baseUrl http://localhost:8080
|
|
2947
3086
|
* @contact Ikon Integration <ikon@ikonintegration.com> (http://example.com)
|
|
2948
3087
|
*/
|
|
@@ -2957,7 +3096,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2957
3096
|
* @request POST:/contactUs
|
|
2958
3097
|
* @secure
|
|
2959
3098
|
*/
|
|
2960
|
-
listContactUs: (data:
|
|
3099
|
+
listContactUs: (data: InputPayanh5Rg7, params: RequestParams = {}) =>
|
|
2961
3100
|
this.request<ListContactUsData, ListContactUsError>({
|
|
2962
3101
|
path: `/contactUs`,
|
|
2963
3102
|
method: 'POST',
|
|
@@ -3032,7 +3171,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3032
3171
|
* @request PUT:/sponsorship/approve/{paID}
|
|
3033
3172
|
* @secure
|
|
3034
3173
|
*/
|
|
3035
|
-
updateApprove: (paId: string, data:
|
|
3174
|
+
updateApprove: (paId: string, data: InputLuf22Qfjwd, params: RequestParams = {}) =>
|
|
3036
3175
|
this.request<UpdateApproveData, UpdateApproveError>({
|
|
3037
3176
|
path: `/sponsorship/approve/${paId}`,
|
|
3038
3177
|
method: 'PUT',
|
|
@@ -3158,7 +3297,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3158
3297
|
* @request POST:/tenant/report/applicationExport
|
|
3159
3298
|
* @secure
|
|
3160
3299
|
*/
|
|
3161
|
-
createReportApplicationExport: (data:
|
|
3300
|
+
createReportApplicationExport: (data: Input7Vmuwipays, params: RequestParams = {}) =>
|
|
3162
3301
|
this.request<CreateReportApplicationExportData, CreateReportApplicationExportError>({
|
|
3163
3302
|
path: `/tenant/report/applicationExport`,
|
|
3164
3303
|
method: 'POST',
|
|
@@ -3177,7 +3316,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3177
3316
|
* @request POST:/tenant/report/applicationStatus
|
|
3178
3317
|
* @secure
|
|
3179
3318
|
*/
|
|
3180
|
-
listReportApplicationStatus: (data:
|
|
3319
|
+
listReportApplicationStatus: (data: Input2Aq4Pyagkd, params: RequestParams = {}) =>
|
|
3181
3320
|
this.request<ListReportApplicationStatusData, ListReportApplicationStatusError>({
|
|
3182
3321
|
path: `/tenant/report/applicationStatus`,
|
|
3183
3322
|
method: 'POST',
|
|
@@ -3196,7 +3335,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3196
3335
|
* @request POST:/tenant/report/applicationsReport
|
|
3197
3336
|
* @secure
|
|
3198
3337
|
*/
|
|
3199
|
-
createReportApplicationsReport: (data:
|
|
3338
|
+
createReportApplicationsReport: (data: Input8Klnphf8Bc, params: RequestParams = {}) =>
|
|
3200
3339
|
this.request<CreateReportApplicationsReportData, CreateReportApplicationsReportError>({
|
|
3201
3340
|
path: `/tenant/report/applicationsReport`,
|
|
3202
3341
|
method: 'POST',
|
|
@@ -3215,7 +3354,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3215
3354
|
* @request POST:/tenant/certificates/email
|
|
3216
3355
|
* @secure
|
|
3217
3356
|
*/
|
|
3218
|
-
createCertificatesEmail: (data:
|
|
3357
|
+
createCertificatesEmail: (data: Input3Nox52Otw6, params: RequestParams = {}) =>
|
|
3219
3358
|
this.request<CreateCertificatesEmailData, CreateCertificatesEmailError>({
|
|
3220
3359
|
path: `/tenant/certificates/email`,
|
|
3221
3360
|
method: 'POST',
|
|
@@ -3273,7 +3412,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3273
3412
|
* @request POST:/tenant/license/redeem/{userID}
|
|
3274
3413
|
* @secure
|
|
3275
3414
|
*/
|
|
3276
|
-
createLicenseRedeem: (userId: string, data:
|
|
3415
|
+
createLicenseRedeem: (userId: string, data: Input6Hyaakdeqh, params: RequestParams = {}) =>
|
|
3277
3416
|
this.request<CreateLicenseRedeemData, CreateLicenseRedeemError>({
|
|
3278
3417
|
path: `/tenant/license/redeem/${userId}`,
|
|
3279
3418
|
method: 'POST',
|
|
@@ -3292,7 +3431,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3292
3431
|
* @request POST:/tenant/report/orglicenses/
|
|
3293
3432
|
* @secure
|
|
3294
3433
|
*/
|
|
3295
|
-
listReportOrglicenses: (data:
|
|
3434
|
+
listReportOrglicenses: (data: Input97Kt0K1U4M, params: RequestParams = {}) =>
|
|
3296
3435
|
this.request<ListReportOrglicensesData, ListReportOrglicensesError>({
|
|
3297
3436
|
path: `/tenant/report/orglicenses/`,
|
|
3298
3437
|
method: 'POST',
|
|
@@ -3311,7 +3450,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3311
3450
|
* @request POST:/tenant/report/orglicenses/preview
|
|
3312
3451
|
* @secure
|
|
3313
3452
|
*/
|
|
3314
|
-
createReportOrglicensesPreview: (data:
|
|
3453
|
+
createReportOrglicensesPreview: (data: Input0Spjg5T0Z6L, params: RequestParams = {}) =>
|
|
3315
3454
|
this.request<CreateReportOrglicensesPreviewData, CreateReportOrglicensesPreviewError>({
|
|
3316
3455
|
path: `/tenant/report/orglicenses/preview`,
|
|
3317
3456
|
method: 'POST',
|
|
@@ -3390,7 +3529,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3390
3529
|
* @request POST:/tenant/report/users/advanced
|
|
3391
3530
|
* @secure
|
|
3392
3531
|
*/
|
|
3393
|
-
createReportUsersAdvanced: (data:
|
|
3532
|
+
createReportUsersAdvanced: (data: InputP41Mwrllc3J, params: RequestParams = {}) =>
|
|
3394
3533
|
this.request<CreateReportUsersAdvancedData, CreateReportUsersAdvancedError>({
|
|
3395
3534
|
path: `/tenant/report/users/advanced`,
|
|
3396
3535
|
method: 'POST',
|
|
@@ -3409,7 +3548,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3409
3548
|
* @request POST:/tenant/search/users/ids
|
|
3410
3549
|
* @secure
|
|
3411
3550
|
*/
|
|
3412
|
-
listSearchUsersIds: (data:
|
|
3551
|
+
listSearchUsersIds: (data: InputXoh70L5Ehi, params: RequestParams = {}) =>
|
|
3413
3552
|
this.request<ListSearchUsersIdsData, ListSearchUsersIdsError>({
|
|
3414
3553
|
path: `/tenant/search/users/ids`,
|
|
3415
3554
|
method: 'POST',
|
|
@@ -3428,7 +3567,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3428
3567
|
* @request POST:/tenant/search/users/term
|
|
3429
3568
|
* @secure
|
|
3430
3569
|
*/
|
|
3431
|
-
createSearchUsersTerm: (data:
|
|
3570
|
+
createSearchUsersTerm: (data: Input0Vk0Eax6Wa, params: RequestParams = {}) =>
|
|
3432
3571
|
this.request<CreateSearchUsersTermData, CreateSearchUsersTermError>({
|
|
3433
3572
|
path: `/tenant/search/users/term`,
|
|
3434
3573
|
method: 'POST',
|
|
@@ -3447,7 +3586,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3447
3586
|
* @request POST:/tenant/report/users/simple
|
|
3448
3587
|
* @secure
|
|
3449
3588
|
*/
|
|
3450
|
-
createReportUsersSimple: (data:
|
|
3589
|
+
createReportUsersSimple: (data: InputC8Zwd7Q8U9, params: RequestParams = {}) =>
|
|
3451
3590
|
this.request<CreateReportUsersSimpleData, CreateReportUsersSimpleError>({
|
|
3452
3591
|
path: `/tenant/report/users/simple`,
|
|
3453
3592
|
method: 'POST',
|
|
@@ -3535,7 +3674,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3535
3674
|
certProcId: string,
|
|
3536
3675
|
applicationType: string,
|
|
3537
3676
|
sourceId: string,
|
|
3538
|
-
data:
|
|
3677
|
+
data: Input6Xov0Uhvug,
|
|
3539
3678
|
params: RequestParams = {}
|
|
3540
3679
|
) =>
|
|
3541
3680
|
this.request<CreateCertificationApplicationItemData, CreateCertificationApplicationItemError>({
|
|
@@ -3795,7 +3934,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3795
3934
|
certProcId: string,
|
|
3796
3935
|
courseId: string,
|
|
3797
3936
|
fileId: string,
|
|
3798
|
-
data:
|
|
3937
|
+
data: Input1Gepy2Er06,
|
|
3799
3938
|
params: RequestParams = {}
|
|
3800
3939
|
) =>
|
|
3801
3940
|
this.request<CreateCertificationCourseDocumentData, CreateCertificationCourseDocumentError>({
|
|
@@ -3894,7 +4033,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3894
4033
|
* @request POST:/user/{userID}
|
|
3895
4034
|
* @secure
|
|
3896
4035
|
*/
|
|
3897
|
-
createUser: (userId: string, data:
|
|
4036
|
+
createUser: (userId: string, data: InputHkz0Gc0Zaj, params: RequestParams = {}) =>
|
|
3898
4037
|
this.request<CreateUserData, CreateUserError>({
|
|
3899
4038
|
path: `/user/${userId}`,
|
|
3900
4039
|
method: 'POST',
|
|
@@ -3913,7 +4052,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3913
4052
|
* @request PUT:/user/{userID}
|
|
3914
4053
|
* @secure
|
|
3915
4054
|
*/
|
|
3916
|
-
updateUser: (userId: string, data:
|
|
4055
|
+
updateUser: (userId: string, data: Input5Num6Uwu17K, params: RequestParams = {}) =>
|
|
3917
4056
|
this.request<UpdateUserData, UpdateUserError>({
|
|
3918
4057
|
path: `/user/${userId}`,
|
|
3919
4058
|
method: 'PUT',
|
|
@@ -4191,7 +4330,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4191
4330
|
userId: string,
|
|
4192
4331
|
certProcId: string,
|
|
4193
4332
|
applicationType: string,
|
|
4194
|
-
data:
|
|
4333
|
+
data: InputS2I3Ncfw06I,
|
|
4195
4334
|
params: RequestParams = {}
|
|
4196
4335
|
) =>
|
|
4197
4336
|
this.request<CreateCertificationApplicationLockData, CreateCertificationApplicationLockError>({
|
|
@@ -4255,7 +4394,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4255
4394
|
userId: string,
|
|
4256
4395
|
certProcId: string,
|
|
4257
4396
|
applicationType: string,
|
|
4258
|
-
data:
|
|
4397
|
+
data: InputAkthwncsqzg,
|
|
4259
4398
|
params: RequestParams = {}
|
|
4260
4399
|
) =>
|
|
4261
4400
|
this.request<CreateCertificationApplicationReviewData, CreateCertificationApplicationReviewError>({
|
|
@@ -4280,7 +4419,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4280
4419
|
userId: string,
|
|
4281
4420
|
certProcId: string,
|
|
4282
4421
|
applicationType: string,
|
|
4283
|
-
data:
|
|
4422
|
+
data: InputYuieq8467B,
|
|
4284
4423
|
params: RequestParams = {}
|
|
4285
4424
|
) =>
|
|
4286
4425
|
this.request<
|
|
@@ -4304,7 +4443,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4304
4443
|
* @request POST:/user/certification/{certSpecID}/course/batchRedeem
|
|
4305
4444
|
* @secure
|
|
4306
4445
|
*/
|
|
4307
|
-
createCertificationCourseBatchRedeem: (certSpecId: string, data:
|
|
4446
|
+
createCertificationCourseBatchRedeem: (certSpecId: string, data: Input5Sm698V54Kl, params: RequestParams = {}) =>
|
|
4308
4447
|
this.request<CreateCertificationCourseBatchRedeemData, CreateCertificationCourseBatchRedeemError>({
|
|
4309
4448
|
path: `/user/certification/${certSpecId}/course/batchRedeem`,
|
|
4310
4449
|
method: 'POST',
|
|
@@ -4323,7 +4462,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4323
4462
|
* @request POST:/user/certification/{certSpecID}/course/batchInvite
|
|
4324
4463
|
* @secure
|
|
4325
4464
|
*/
|
|
4326
|
-
createCertificationCourseBatchInvite: (certSpecId: string, data:
|
|
4465
|
+
createCertificationCourseBatchInvite: (certSpecId: string, data: Input00Cup216Sw, params: RequestParams = {}) =>
|
|
4327
4466
|
this.request<CreateCertificationCourseBatchInviteData, CreateCertificationCourseBatchInviteError>({
|
|
4328
4467
|
path: `/user/certification/${certSpecId}/course/batchInvite`,
|
|
4329
4468
|
method: 'POST',
|
|
@@ -4402,7 +4541,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4402
4541
|
createCertificationWaive: (
|
|
4403
4542
|
userId: string,
|
|
4404
4543
|
certProcId: string,
|
|
4405
|
-
data:
|
|
4544
|
+
data: InputRiihigs1Zdi,
|
|
4406
4545
|
params: RequestParams = {}
|
|
4407
4546
|
) =>
|
|
4408
4547
|
this.request<CreateCertificationWaiveData, CreateCertificationWaiveError>({
|
|
@@ -4509,7 +4648,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4509
4648
|
createCertificationTriggerSet: (
|
|
4510
4649
|
userId: string,
|
|
4511
4650
|
certProcId: string,
|
|
4512
|
-
data:
|
|
4651
|
+
data: Input9S37F7Gzue,
|
|
4513
4652
|
params: RequestParams = {}
|
|
4514
4653
|
) =>
|
|
4515
4654
|
this.request<CreateCertificationTriggerSetData, CreateCertificationTriggerSetError>({
|
|
@@ -4636,7 +4775,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4636
4775
|
certProcId: string,
|
|
4637
4776
|
sourceId: string,
|
|
4638
4777
|
itemVersion: string,
|
|
4639
|
-
data:
|
|
4778
|
+
data: InputCc03755Grj,
|
|
4640
4779
|
params: RequestParams = {}
|
|
4641
4780
|
) =>
|
|
4642
4781
|
this.request<CreateCertificationApplicationItemReviewData, CreateCertificationApplicationItemReviewError>({
|
|
@@ -4681,7 +4820,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4681
4820
|
userId: string,
|
|
4682
4821
|
certProcId: string,
|
|
4683
4822
|
applicationType: string,
|
|
4684
|
-
data:
|
|
4823
|
+
data: InputQr67F4X9Qz,
|
|
4685
4824
|
params: RequestParams = {}
|
|
4686
4825
|
) =>
|
|
4687
4826
|
this.request<CreateCertificationApplicationSubmitData, CreateCertificationApplicationSubmitError>({
|
|
@@ -4707,7 +4846,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4707
4846
|
certProcId: string,
|
|
4708
4847
|
courseId: string,
|
|
4709
4848
|
paId: string,
|
|
4710
|
-
data:
|
|
4849
|
+
data: Input2Ypeat3Q15H,
|
|
4711
4850
|
params: RequestParams = {}
|
|
4712
4851
|
) =>
|
|
4713
4852
|
this.request<CreateCertificationCoursePendingApprovalData, CreateCertificationCoursePendingApprovalError>({
|
|
@@ -4733,7 +4872,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4733
4872
|
certProcId: string,
|
|
4734
4873
|
courseId: string,
|
|
4735
4874
|
paId: string,
|
|
4736
|
-
data:
|
|
4875
|
+
data: InputGzpcnkmsxo,
|
|
4737
4876
|
params: RequestParams = {}
|
|
4738
4877
|
) =>
|
|
4739
4878
|
this.request<UpdateCertificationCoursePendingApprovalData, UpdateCertificationCoursePendingApprovalError>({
|
|
@@ -4757,7 +4896,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4757
4896
|
createCertificationCourseRedeem: (
|
|
4758
4897
|
userId: string,
|
|
4759
4898
|
certProcId: string,
|
|
4760
|
-
data:
|
|
4899
|
+
data: Input250S74Bjft,
|
|
4761
4900
|
params: RequestParams = {}
|
|
4762
4901
|
) =>
|
|
4763
4902
|
this.request<CreateCertificationCourseRedeemData, CreateCertificationCourseRedeemError>({
|
|
@@ -4805,7 +4944,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4805
4944
|
userId: string,
|
|
4806
4945
|
certProcId: string,
|
|
4807
4946
|
courseId: string,
|
|
4808
|
-
data:
|
|
4947
|
+
data: InputL2Zy7U6Osi,
|
|
4809
4948
|
params: RequestParams = {}
|
|
4810
4949
|
) =>
|
|
4811
4950
|
this.request<CreateCertificationCourseEndCooldownData, CreateCertificationCourseEndCooldownError>({
|
|
@@ -4830,7 +4969,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4830
4969
|
userId: string,
|
|
4831
4970
|
certProcId: string,
|
|
4832
4971
|
courseId: string,
|
|
4833
|
-
data:
|
|
4972
|
+
data: Input09Umpjsbpm,
|
|
4834
4973
|
params: RequestParams = {}
|
|
4835
4974
|
) =>
|
|
4836
4975
|
this.request<CreateCertificationCourseUnlockCourseData, CreateCertificationCourseUnlockCourseError>({
|
|
@@ -4851,7 +4990,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4851
4990
|
* @request POST:/user/{userID}/updateITA
|
|
4852
4991
|
* @secure
|
|
4853
4992
|
*/
|
|
4854
|
-
createUpdateIta: (userId: string, data:
|
|
4993
|
+
createUpdateIta: (userId: string, data: Input8Inz421X6C, params: RequestParams = {}) =>
|
|
4855
4994
|
this.request<CreateUpdateItaData, CreateUpdateItaError>({
|
|
4856
4995
|
path: `/user/${userId}/updateITA`,
|
|
4857
4996
|
method: 'POST',
|
|
@@ -4874,7 +5013,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4874
5013
|
userId: string,
|
|
4875
5014
|
certProcId: string,
|
|
4876
5015
|
courseId: string,
|
|
4877
|
-
data:
|
|
5016
|
+
data: InputV0Qo4M776D,
|
|
4878
5017
|
params: RequestParams = {}
|
|
4879
5018
|
) =>
|
|
4880
5019
|
this.request<UpdateCertificationCourseOverrideResultData, UpdateCertificationCourseOverrideResultError>({
|
|
@@ -4898,7 +5037,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4898
5037
|
updateCertificationSetDates: (
|
|
4899
5038
|
userId: string,
|
|
4900
5039
|
certProcId: string,
|
|
4901
|
-
data:
|
|
5040
|
+
data: InputC1Toblrnow,
|
|
4902
5041
|
params: RequestParams = {}
|
|
4903
5042
|
) =>
|
|
4904
5043
|
this.request<UpdateCertificationSetDatesData, UpdateCertificationSetDatesError>({
|
|
@@ -4967,6 +5106,158 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4967
5106
|
type: ContentType.Json,
|
|
4968
5107
|
...params,
|
|
4969
5108
|
}),
|
|
5109
|
+
|
|
5110
|
+
/**
|
|
5111
|
+
* @description Retrieve all work hours records (proof of experience) for a user.
|
|
5112
|
+
*
|
|
5113
|
+
* @tags WorkHours
|
|
5114
|
+
* @name GetWorkHours
|
|
5115
|
+
* @summary List User Work Hours
|
|
5116
|
+
* @request GET:/user/{userID}/workHours
|
|
5117
|
+
* @secure
|
|
5118
|
+
*/
|
|
5119
|
+
getWorkHours: (userId: string, params: RequestParams = {}) =>
|
|
5120
|
+
this.request<GetWorkHoursData, GetWorkHoursError>({
|
|
5121
|
+
path: `/user/${userId}/workHours`,
|
|
5122
|
+
method: 'GET',
|
|
5123
|
+
secure: true,
|
|
5124
|
+
format: 'json',
|
|
5125
|
+
...params,
|
|
5126
|
+
}),
|
|
5127
|
+
|
|
5128
|
+
/**
|
|
5129
|
+
* @description Retrieve a single work hours record (proof of experience) for a user by its ID.
|
|
5130
|
+
*
|
|
5131
|
+
* @tags WorkHours
|
|
5132
|
+
* @name GetWorkHours2
|
|
5133
|
+
* @summary Get User Work Hours
|
|
5134
|
+
* @request GET:/user/{userID}/workHours/{workHoursID}
|
|
5135
|
+
* @originalName getWorkHours
|
|
5136
|
+
* @duplicate
|
|
5137
|
+
* @secure
|
|
5138
|
+
*/
|
|
5139
|
+
getWorkHours2: (userId: string, workHoursId: string, params: RequestParams = {}) =>
|
|
5140
|
+
this.request<GetWorkHours2Data, GetWorkHours2Error>({
|
|
5141
|
+
path: `/user/${userId}/workHours/${workHoursId}`,
|
|
5142
|
+
method: 'GET',
|
|
5143
|
+
secure: true,
|
|
5144
|
+
format: 'json',
|
|
5145
|
+
...params,
|
|
5146
|
+
}),
|
|
5147
|
+
|
|
5148
|
+
/**
|
|
5149
|
+
* @description Create a new work hours record (proof of experience) for a user. Use "new" as the workHoursID path parameter to create a new entry.
|
|
5150
|
+
*
|
|
5151
|
+
* @tags WorkHours
|
|
5152
|
+
* @name ListWorkHours
|
|
5153
|
+
* @summary Create User Work Hours
|
|
5154
|
+
* @request POST:/user/{userID}/workHours/{workHoursID}
|
|
5155
|
+
* @secure
|
|
5156
|
+
*/
|
|
5157
|
+
listWorkHours: (userId: string, workHoursId: string, data: WorkHoursWrite, params: RequestParams = {}) =>
|
|
5158
|
+
this.request<ListWorkHoursData, ListWorkHoursError>({
|
|
5159
|
+
path: `/user/${userId}/workHours/${workHoursId}`,
|
|
5160
|
+
method: 'POST',
|
|
5161
|
+
body: data,
|
|
5162
|
+
secure: true,
|
|
5163
|
+
type: ContentType.Json,
|
|
5164
|
+
format: 'json',
|
|
5165
|
+
...params,
|
|
5166
|
+
}),
|
|
5167
|
+
|
|
5168
|
+
/**
|
|
5169
|
+
* @description Update an existing work hours record (proof of experience) for a user.
|
|
5170
|
+
*
|
|
5171
|
+
* @tags WorkHours
|
|
5172
|
+
* @name UpdateWorkHours
|
|
5173
|
+
* @summary Update User Work Hours
|
|
5174
|
+
* @request PUT:/user/{userID}/workHours/{workHoursID}
|
|
5175
|
+
* @secure
|
|
5176
|
+
*/
|
|
5177
|
+
updateWorkHours: (userId: string, workHoursId: string, data: WorkHoursWrite, params: RequestParams = {}) =>
|
|
5178
|
+
this.request<UpdateWorkHoursData, UpdateWorkHoursError>({
|
|
5179
|
+
path: `/user/${userId}/workHours/${workHoursId}`,
|
|
5180
|
+
method: 'PUT',
|
|
5181
|
+
body: data,
|
|
5182
|
+
secure: true,
|
|
5183
|
+
type: ContentType.Json,
|
|
5184
|
+
format: 'json',
|
|
5185
|
+
...params,
|
|
5186
|
+
}),
|
|
5187
|
+
|
|
5188
|
+
/**
|
|
5189
|
+
* @description Delete a work hours record (proof of experience) for a user by its ID.
|
|
5190
|
+
*
|
|
5191
|
+
* @tags WorkHours
|
|
5192
|
+
* @name DeleteWorkHours
|
|
5193
|
+
* @summary Delete User Work Hours
|
|
5194
|
+
* @request DELETE:/user/{userID}/workHours/{workHoursID}
|
|
5195
|
+
* @secure
|
|
5196
|
+
*/
|
|
5197
|
+
deleteWorkHours: (userId: string, workHoursId: string, params: RequestParams = {}) =>
|
|
5198
|
+
this.request<DeleteWorkHoursData, DeleteWorkHoursError>({
|
|
5199
|
+
path: `/user/${userId}/workHours/${workHoursId}`,
|
|
5200
|
+
method: 'DELETE',
|
|
5201
|
+
secure: true,
|
|
5202
|
+
...params,
|
|
5203
|
+
}),
|
|
5204
|
+
|
|
5205
|
+
/**
|
|
5206
|
+
* @description This route allows you to create a signed URL to upload a work hours file for a user.
|
|
5207
|
+
*
|
|
5208
|
+
* @tags WorkHours
|
|
5209
|
+
* @name CreateWorkHoursFileSign
|
|
5210
|
+
* @summary Work hours file
|
|
5211
|
+
* @request POST:/user/{userID}/workHours/{workHoursID}/fileSign/{fileID}
|
|
5212
|
+
* @secure
|
|
5213
|
+
*/
|
|
5214
|
+
createWorkHoursFileSign: (
|
|
5215
|
+
{ userId, workHoursId, fileId, ...query }: CreateWorkHoursFileSignParams,
|
|
5216
|
+
params: RequestParams = {}
|
|
5217
|
+
) =>
|
|
5218
|
+
this.request<CreateWorkHoursFileSignData, CreateWorkHoursFileSignError>({
|
|
5219
|
+
path: `/user/${userId}/workHours/${workHoursId}/fileSign/${fileId}`,
|
|
5220
|
+
method: 'POST',
|
|
5221
|
+
query: query,
|
|
5222
|
+
secure: true,
|
|
5223
|
+
format: 'json',
|
|
5224
|
+
...params,
|
|
5225
|
+
}),
|
|
5226
|
+
|
|
5227
|
+
/**
|
|
5228
|
+
* @description Delete a work hours file for a user.
|
|
5229
|
+
*
|
|
5230
|
+
* @tags WorkHours
|
|
5231
|
+
* @name DeleteWorkHoursFileSign
|
|
5232
|
+
* @summary Delete Work Hours File
|
|
5233
|
+
* @request DELETE:/user/{userID}/workHours/{workHoursID}/fileSign/{fileID}
|
|
5234
|
+
* @secure
|
|
5235
|
+
*/
|
|
5236
|
+
deleteWorkHoursFileSign: (userId: string, workHoursId: string, fileId: string, params: RequestParams = {}) =>
|
|
5237
|
+
this.request<DeleteWorkHoursFileSignData, DeleteWorkHoursFileSignError>({
|
|
5238
|
+
path: `/user/${userId}/workHours/${workHoursId}/fileSign/${fileId}`,
|
|
5239
|
+
method: 'DELETE',
|
|
5240
|
+
secure: true,
|
|
5241
|
+
...params,
|
|
5242
|
+
}),
|
|
5243
|
+
|
|
5244
|
+
/**
|
|
5245
|
+
* @description Retrieve a signed URL to download a work hours file for a user.
|
|
5246
|
+
*
|
|
5247
|
+
* @tags WorkHours
|
|
5248
|
+
* @name GetWorkHoursFileSign
|
|
5249
|
+
* @summary Get Work Hours File
|
|
5250
|
+
* @request GET:/user/{userID}/workHours/{workHoursID}/fileSign/{fileID}
|
|
5251
|
+
* @secure
|
|
5252
|
+
*/
|
|
5253
|
+
getWorkHoursFileSign: (userId: string, workHoursId: string, fileId: string, params: RequestParams = {}) =>
|
|
5254
|
+
this.request<GetWorkHoursFileSignData, GetWorkHoursFileSignError>({
|
|
5255
|
+
path: `/user/${userId}/workHours/${workHoursId}/fileSign/${fileId}`,
|
|
5256
|
+
method: 'GET',
|
|
5257
|
+
secure: true,
|
|
5258
|
+
format: 'json',
|
|
5259
|
+
...params,
|
|
5260
|
+
}),
|
|
4970
5261
|
}
|
|
4971
5262
|
users = {
|
|
4972
5263
|
/**
|
|
@@ -4978,7 +5269,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
4978
5269
|
* @request POST:/users/certification/{certSpecID}
|
|
4979
5270
|
* @secure
|
|
4980
5271
|
*/
|
|
4981
|
-
createCertification: (certSpecId: string, data:
|
|
5272
|
+
createCertification: (certSpecId: string, data: Input3T6Epmw0B5, params: RequestParams = {}) =>
|
|
4982
5273
|
this.request<CreateCertificationResult, CreateCertificationFail>({
|
|
4983
5274
|
path: `/users/certification/${certSpecId}`,
|
|
4984
5275
|
method: 'POST',
|