@kanda-libs/ks-schema 1.0.151 → 1.0.153
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/dist/components/schemas/Entity.d.ts +1 -1
- package/dist/components/schemas/Event.d.ts +1 -1
- package/dist/components/schemas/Job.d.ts +1 -1
- package/dist/components/schemas/JobOverride.d.ts +8 -0
- package/dist/components/schemas/JobOverride.d.ts.map +1 -0
- package/dist/components/schemas/JobOverride.js +35 -0
- package/dist/components/schemas/SatNote.d.ts +2 -2
- package/dist/components/schemas/SatNote.d.ts.map +1 -1
- package/dist/components/schemas/SatNote.js +1 -1
- package/dist/components/schemas/index.d.ts +1 -0
- package/dist/components/schemas/index.d.ts.map +1 -1
- package/dist/components/schemas/index.js +1 -0
- package/dist/operations/applyJob.d.ts +1 -1
- package/dist/operations/approveJobSatNote.d.ts +1 -1
- package/dist/operations/archiveJob.d.ts +1 -1
- package/dist/operations/completeJob.d.ts +1 -1
- package/dist/operations/deleteJob.d.ts +1 -1
- package/dist/operations/getJob.d.ts +1 -1
- package/dist/operations/getJobs.d.ts +1 -1
- package/dist/operations/index.d.ts +226 -14
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +4 -0
- package/dist/operations/overrideJob.d.ts +219 -0
- package/dist/operations/overrideJob.d.ts.map +1 -0
- package/dist/operations/overrideJob.js +50 -0
- package/dist/operations/payJob.d.ts +1 -1
- package/dist/operations/payoutJob.d.ts +1 -1
- package/dist/operations/postJob.d.ts +1 -1
- package/dist/operations/putJob.d.ts +1 -1
- package/dist/operations/sendJob.d.ts +1 -1
- package/dist/operations/signJobSateNote.d.ts +1 -1
- package/dist/operations/viewJobSatNote.d.ts +1 -1
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +6976 -6968
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +11204 -11187
- package/package.json +1 -1
- package/schema.yaml +52 -1
package/package.json
CHANGED
package/schema.yaml
CHANGED
|
@@ -1141,6 +1141,42 @@ paths:
|
|
|
1141
1141
|
schema:
|
|
1142
1142
|
$ref: "#/components/schemas/Error"
|
|
1143
1143
|
|
|
1144
|
+
/api/job/{id}/override:
|
|
1145
|
+
post:
|
|
1146
|
+
operationId: overrideJob
|
|
1147
|
+
summary: >
|
|
1148
|
+
kanda staff to override a job status and trigger comms to be sent (if applicable),
|
|
1149
|
+
only allowed when job is applied for finance or financed.
|
|
1150
|
+
tags:
|
|
1151
|
+
- Job
|
|
1152
|
+
parameters:
|
|
1153
|
+
- name: id
|
|
1154
|
+
in: path
|
|
1155
|
+
description: job id
|
|
1156
|
+
required: true
|
|
1157
|
+
schema:
|
|
1158
|
+
type: string
|
|
1159
|
+
minLength: 1
|
|
1160
|
+
requestBody:
|
|
1161
|
+
description: job override to be applied to job
|
|
1162
|
+
content:
|
|
1163
|
+
application/json:
|
|
1164
|
+
schema:
|
|
1165
|
+
$ref: "#/components/schemas/JobOverride"
|
|
1166
|
+
responses:
|
|
1167
|
+
200:
|
|
1168
|
+
description: got existing job with finance status set to paid
|
|
1169
|
+
content:
|
|
1170
|
+
application/json:
|
|
1171
|
+
schema:
|
|
1172
|
+
$ref: "#/components/schemas/Job"
|
|
1173
|
+
default:
|
|
1174
|
+
description: unexpected error
|
|
1175
|
+
content:
|
|
1176
|
+
application/json:
|
|
1177
|
+
schema:
|
|
1178
|
+
$ref: "#/components/schemas/Error"
|
|
1179
|
+
|
|
1144
1180
|
/api/job/{id}/companyInfo:
|
|
1145
1181
|
post:
|
|
1146
1182
|
operationId: jobCompanyInfo
|
|
@@ -3050,7 +3086,7 @@ components:
|
|
|
3050
3086
|
title: Were you told about any potential feed in tariffs, savings, returns or Renewable Heat incentive and do you understand that the actual amounts you receive, and your estimated returns/savings were based on varying factors including you own energy consumption and any returns/savings/payback periods are not linked to your repayments on this agreement.
|
|
3051
3087
|
enum:
|
|
3052
3088
|
- "Yes I understand"
|
|
3053
|
-
- "No I
|
|
3089
|
+
- "No I do not understand"
|
|
3054
3090
|
signature:
|
|
3055
3091
|
type: object
|
|
3056
3092
|
title: sat note customer signature
|
|
@@ -3943,6 +3979,21 @@ components:
|
|
|
3943
3979
|
title: source
|
|
3944
3980
|
readOnly: true
|
|
3945
3981
|
|
|
3982
|
+
JobOverride:
|
|
3983
|
+
type: object
|
|
3984
|
+
title: job override
|
|
3985
|
+
required:
|
|
3986
|
+
- action
|
|
3987
|
+
properties:
|
|
3988
|
+
action:
|
|
3989
|
+
type: string
|
|
3990
|
+
title: action
|
|
3991
|
+
enum:
|
|
3992
|
+
- "mark_job_as_pending"
|
|
3993
|
+
- "mark_job_as_accepted"
|
|
3994
|
+
- "mark_job_as_declined"
|
|
3995
|
+
- "mark_job_as_cancelled"
|
|
3996
|
+
|
|
3946
3997
|
Error:
|
|
3947
3998
|
type: object
|
|
3948
3999
|
required:
|