@kanda-libs/ks-schema 1.0.124 → 1.0.126
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/ApplicantDetails.d.ts +128 -0
- package/dist/components/schemas/ApplicantDetails.d.ts.map +1 -0
- package/dist/components/schemas/ApplicantDetails.js +37 -0
- package/dist/components/schemas/BankAccount.d.ts +5 -2
- package/dist/components/schemas/BankAccount.d.ts.map +1 -1
- package/dist/components/schemas/BankAccount.js +10 -5
- package/dist/components/schemas/Company.d.ts +14 -2
- package/dist/components/schemas/Company.d.ts.map +1 -1
- package/dist/components/schemas/Company.js +2 -0
- package/dist/components/schemas/Credit.d.ts +139 -6
- package/dist/components/schemas/Credit.d.ts.map +1 -1
- package/dist/components/schemas/Credit.js +5 -1
- package/dist/components/schemas/CustomerDetails.d.ts +2 -2
- package/dist/components/schemas/CustomerDetails.d.ts.map +1 -1
- package/dist/components/schemas/CustomerDetails.js +3 -0
- package/dist/components/schemas/EmploymentDetails.d.ts +1 -1
- package/dist/components/schemas/Entity.d.ts +166 -9
- package/dist/components/schemas/Entity.d.ts.map +1 -1
- package/dist/components/schemas/Event.d.ts +166 -9
- package/dist/components/schemas/Event.d.ts.map +1 -1
- package/dist/components/schemas/Expenditure.d.ts +15 -0
- package/dist/components/schemas/Expenditure.d.ts.map +1 -0
- package/dist/components/schemas/Expenditure.js +39 -0
- package/dist/components/schemas/FinanceDetails.d.ts +18 -0
- package/dist/components/schemas/FinanceDetails.d.ts.map +1 -0
- package/dist/components/schemas/FinanceDetails.js +35 -0
- package/dist/components/schemas/Job.d.ts +23 -2
- package/dist/components/schemas/Job.d.ts.map +1 -1
- package/dist/components/schemas/Job.js +3 -0
- package/dist/components/schemas/JobCompanyInfo.d.ts +4 -2
- package/dist/components/schemas/JobCompanyInfo.d.ts.map +1 -1
- package/dist/components/schemas/NotEmployedDetails.d.ts +2 -2
- package/dist/components/schemas/NotEmployedDetails.d.ts.map +1 -1
- package/dist/components/schemas/NotEmployedDetails.js +4 -0
- package/dist/components/schemas/SatNote.d.ts +5 -2
- package/dist/components/schemas/SatNote.d.ts.map +1 -1
- package/dist/components/schemas/SatNote.js +37 -29
- package/dist/components/schemas/SolarCompanyInfo.d.ts +17 -0
- package/dist/components/schemas/SolarCompanyInfo.d.ts.map +1 -0
- package/dist/components/schemas/SolarCompanyInfo.js +46 -0
- package/dist/components/schemas/index.d.ts +4 -0
- package/dist/components/schemas/index.d.ts.map +1 -1
- package/dist/components/schemas/index.js +4 -0
- package/dist/operations/applyCredit.d.ts +134 -5
- package/dist/operations/applyCredit.d.ts.map +1 -1
- package/dist/operations/applyJob.d.ts +20 -2
- package/dist/operations/applyJob.d.ts.map +1 -1
- package/dist/operations/approveCompany.d.ts +12 -2
- package/dist/operations/approveCompany.d.ts.map +1 -1
- package/dist/operations/approveJobSatNote.d.ts +20 -2
- package/dist/operations/approveJobSatNote.d.ts.map +1 -1
- package/dist/operations/archiveJob.d.ts +20 -2
- package/dist/operations/archiveJob.d.ts.map +1 -1
- package/dist/operations/checkCredit.d.ts +134 -5
- package/dist/operations/checkCredit.d.ts.map +1 -1
- package/dist/operations/completeJob.d.ts +20 -2
- package/dist/operations/completeJob.d.ts.map +1 -1
- package/dist/operations/declineCompany.d.ts +12 -2
- package/dist/operations/declineCompany.d.ts.map +1 -1
- package/dist/operations/deleteCompany.d.ts +12 -2
- package/dist/operations/deleteCompany.d.ts.map +1 -1
- package/dist/operations/deleteCredit.d.ts +134 -5
- package/dist/operations/deleteCredit.d.ts.map +1 -1
- package/dist/operations/deleteJob.d.ts +20 -2
- package/dist/operations/deleteJob.d.ts.map +1 -1
- package/dist/operations/directorCompany.d.ts +12 -2
- package/dist/operations/directorCompany.d.ts.map +1 -1
- package/dist/operations/getCompanies.d.ts +12 -2
- package/dist/operations/getCompanies.d.ts.map +1 -1
- package/dist/operations/getCompany.d.ts +12 -2
- package/dist/operations/getCompany.d.ts.map +1 -1
- package/dist/operations/getCredit.d.ts +134 -5
- package/dist/operations/getCredit.d.ts.map +1 -1
- package/dist/operations/getCredits.d.ts +134 -5
- package/dist/operations/getCredits.d.ts.map +1 -1
- package/dist/operations/getJob.d.ts +20 -2
- package/dist/operations/getJob.d.ts.map +1 -1
- package/dist/operations/getJobs.d.ts +20 -2
- package/dist/operations/getJobs.d.ts.map +1 -1
- package/dist/operations/index.d.ts +1692 -197
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/jobCompanyInfo.d.ts +4 -2
- package/dist/operations/jobCompanyInfo.d.ts.map +1 -1
- package/dist/operations/payJob.d.ts +20 -2
- package/dist/operations/payJob.d.ts.map +1 -1
- package/dist/operations/payoutJob.d.ts +20 -2
- package/dist/operations/payoutJob.d.ts.map +1 -1
- package/dist/operations/postCompany.d.ts +12 -2
- package/dist/operations/postCompany.d.ts.map +1 -1
- package/dist/operations/postCredit.d.ts +134 -5
- package/dist/operations/postCredit.d.ts.map +1 -1
- package/dist/operations/postJob.d.ts +20 -2
- package/dist/operations/postJob.d.ts.map +1 -1
- package/dist/operations/putCompany.d.ts +12 -2
- package/dist/operations/putCompany.d.ts.map +1 -1
- package/dist/operations/putCredit.d.ts +134 -5
- package/dist/operations/putCredit.d.ts.map +1 -1
- package/dist/operations/putJob.d.ts +20 -2
- package/dist/operations/putJob.d.ts.map +1 -1
- package/dist/operations/quoteCredit.d.ts +134 -5
- package/dist/operations/quoteCredit.d.ts.map +1 -1
- package/dist/operations/sendJob.d.ts +20 -2
- package/dist/operations/sendJob.d.ts.map +1 -1
- package/dist/operations/signCredit.d.ts +134 -5
- package/dist/operations/signCredit.d.ts.map +1 -1
- package/dist/operations/signJobSateNote.d.ts +20 -2
- package/dist/operations/signJobSateNote.d.ts.map +1 -1
- package/dist/operations/viewJobSatNote.d.ts +20 -2
- package/dist/operations/viewJobSatNote.d.ts.map +1 -1
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +8388 -5245
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +15039 -11434
- package/package.json +1 -1
- package/schema.yaml +141 -0
package/package.json
CHANGED
package/schema.yaml
CHANGED
|
@@ -2272,6 +2272,10 @@ components:
|
|
|
2272
2272
|
type: object
|
|
2273
2273
|
$ref: "#/components/schemas/CompanyInfo"
|
|
2274
2274
|
title: company info
|
|
2275
|
+
solar_company_info:
|
|
2276
|
+
type: object
|
|
2277
|
+
$ref: "#/components/schemas/SolarCompanyInfo"
|
|
2278
|
+
title: solar company info
|
|
2275
2279
|
company_type:
|
|
2276
2280
|
type: string
|
|
2277
2281
|
enum:
|
|
@@ -2358,6 +2362,43 @@ components:
|
|
|
2358
2362
|
title: metadata
|
|
2359
2363
|
readOnly: true
|
|
2360
2364
|
|
|
2365
|
+
SolarCompanyInfo:
|
|
2366
|
+
type: object
|
|
2367
|
+
required:
|
|
2368
|
+
- epvs_registration_number
|
|
2369
|
+
- solar_trade_association
|
|
2370
|
+
- solar_trade_association_number
|
|
2371
|
+
- electrical_trade_association
|
|
2372
|
+
properties:
|
|
2373
|
+
epvs_registration_number:
|
|
2374
|
+
type: string
|
|
2375
|
+
title: EPVS registration number
|
|
2376
|
+
minLength: 1
|
|
2377
|
+
solar_trade_association:
|
|
2378
|
+
type: string
|
|
2379
|
+
enum:
|
|
2380
|
+
- "msc"
|
|
2381
|
+
- "heis"
|
|
2382
|
+
- "recc"
|
|
2383
|
+
title: solar trade association
|
|
2384
|
+
x-kanda-form-widget: Select
|
|
2385
|
+
solar_trade_association_number:
|
|
2386
|
+
type: string
|
|
2387
|
+
title: solar trade association number
|
|
2388
|
+
minLength: 1
|
|
2389
|
+
electrical_trade_association:
|
|
2390
|
+
type: string
|
|
2391
|
+
enum:
|
|
2392
|
+
- "niceic"
|
|
2393
|
+
- "napit"
|
|
2394
|
+
- "none"
|
|
2395
|
+
title: electrical trade association
|
|
2396
|
+
x-kanda-form-widget: Select
|
|
2397
|
+
electrical_trade_association_number:
|
|
2398
|
+
type: string
|
|
2399
|
+
title: electrical trade association number
|
|
2400
|
+
minLength: 1
|
|
2401
|
+
|
|
2361
2402
|
CompanyInfo:
|
|
2362
2403
|
type: object
|
|
2363
2404
|
required:
|
|
@@ -2895,6 +2936,17 @@ components:
|
|
|
2895
2936
|
title: customer satisfaction note
|
|
2896
2937
|
$ref: "#/components/schemas/SatNote"
|
|
2897
2938
|
readOnly: true
|
|
2939
|
+
job_type:
|
|
2940
|
+
type: string
|
|
2941
|
+
title: job type
|
|
2942
|
+
enum:
|
|
2943
|
+
- standard
|
|
2944
|
+
- solar
|
|
2945
|
+
job_documents:
|
|
2946
|
+
type: array
|
|
2947
|
+
title: job documents
|
|
2948
|
+
items:
|
|
2949
|
+
$ref: "#/components/schemas/Document"
|
|
2898
2950
|
metadata:
|
|
2899
2951
|
type: object
|
|
2900
2952
|
$ref: "#/components/schemas/Metadata"
|
|
@@ -2993,6 +3045,12 @@ components:
|
|
|
2993
3045
|
- "They helped me work out my potential repayments"
|
|
2994
3046
|
- "They completed the application for me"
|
|
2995
3047
|
x-kanda-form-widget: Select
|
|
3048
|
+
q_saving:
|
|
3049
|
+
type: string
|
|
3050
|
+
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
|
+
enum:
|
|
3052
|
+
- "Yes I understand"
|
|
3053
|
+
- "No I don't understand"
|
|
2996
3054
|
signature:
|
|
2997
3055
|
type: object
|
|
2998
3056
|
title: sat note customer signature
|
|
@@ -3254,6 +3312,7 @@ components:
|
|
|
3254
3312
|
title: provider name
|
|
3255
3313
|
enum:
|
|
3256
3314
|
- omni
|
|
3315
|
+
- propensio
|
|
3257
3316
|
default: omni
|
|
3258
3317
|
readOnly: true
|
|
3259
3318
|
xid:
|
|
@@ -3304,6 +3363,15 @@ components:
|
|
|
3304
3363
|
type: object
|
|
3305
3364
|
title: employment details
|
|
3306
3365
|
$ref: "#/components/schemas/EmploymentDetails"
|
|
3366
|
+
finance_details:
|
|
3367
|
+
type: object
|
|
3368
|
+
title: finance details
|
|
3369
|
+
$ref: "#/components/schemas/FinanceDetails"
|
|
3370
|
+
extra_applicants:
|
|
3371
|
+
type: array
|
|
3372
|
+
title: extra applicants
|
|
3373
|
+
items:
|
|
3374
|
+
$ref: "#/components/schemas/ApplicantDetails"
|
|
3307
3375
|
credit_documents:
|
|
3308
3376
|
type: array
|
|
3309
3377
|
title: credit documents
|
|
@@ -3339,6 +3407,12 @@ components:
|
|
|
3339
3407
|
type: string
|
|
3340
3408
|
title: sort code
|
|
3341
3409
|
pattern: "^[0-9]{2}[-][0-9]{2}[-][0-9]{2}$"
|
|
3410
|
+
months_held:
|
|
3411
|
+
type: integer
|
|
3412
|
+
title: months held for bank account
|
|
3413
|
+
format: int32
|
|
3414
|
+
minimum: 0
|
|
3415
|
+
maximum: 2147483647
|
|
3342
3416
|
|
|
3343
3417
|
CustomerDetails:
|
|
3344
3418
|
type: object
|
|
@@ -3423,6 +3497,9 @@ components:
|
|
|
3423
3497
|
- council tenant
|
|
3424
3498
|
- living with parents
|
|
3425
3499
|
- owner
|
|
3500
|
+
- owner without mortgage
|
|
3501
|
+
- lodger
|
|
3502
|
+
- armed forces
|
|
3426
3503
|
monthly_rent_amount:
|
|
3427
3504
|
type: object
|
|
3428
3505
|
title: monthly rent amount
|
|
@@ -3503,6 +3580,10 @@ components:
|
|
|
3503
3580
|
- partner
|
|
3504
3581
|
- benefits
|
|
3505
3582
|
- maintenance
|
|
3583
|
+
- disabled
|
|
3584
|
+
- full-time carer
|
|
3585
|
+
- homemaker
|
|
3586
|
+
- permanent dla
|
|
3506
3587
|
- other
|
|
3507
3588
|
|
|
3508
3589
|
EmploymentDetails:
|
|
@@ -3575,6 +3656,66 @@ components:
|
|
|
3575
3656
|
type: string
|
|
3576
3657
|
title: fingerprint reference such as IP
|
|
3577
3658
|
|
|
3659
|
+
ApplicantDetails:
|
|
3660
|
+
type: object
|
|
3661
|
+
title: applicant details
|
|
3662
|
+
required:
|
|
3663
|
+
- bank_account
|
|
3664
|
+
- customer_details
|
|
3665
|
+
- employment_details
|
|
3666
|
+
- finance_details
|
|
3667
|
+
properties:
|
|
3668
|
+
bank_account:
|
|
3669
|
+
type: object
|
|
3670
|
+
title: bank account
|
|
3671
|
+
$ref: "#/components/schemas/BankAccount"
|
|
3672
|
+
customer_details:
|
|
3673
|
+
type: object
|
|
3674
|
+
title: customer details
|
|
3675
|
+
$ref: "#/components/schemas/CustomerDetails"
|
|
3676
|
+
employment_details:
|
|
3677
|
+
type: object
|
|
3678
|
+
title: employment details
|
|
3679
|
+
$ref: "#/components/schemas/EmploymentDetails"
|
|
3680
|
+
finance_details:
|
|
3681
|
+
type: object
|
|
3682
|
+
title: finance details
|
|
3683
|
+
$ref: "#/components/schemas/FinanceDetails"
|
|
3684
|
+
|
|
3685
|
+
FinanceDetails:
|
|
3686
|
+
type: object
|
|
3687
|
+
title: finance details
|
|
3688
|
+
properties:
|
|
3689
|
+
bankrupcy_or_iva_in_last_5_years:
|
|
3690
|
+
type: string
|
|
3691
|
+
title: any bankrupcy or IVA in the last 5 years?
|
|
3692
|
+
enum:
|
|
3693
|
+
- "yes"
|
|
3694
|
+
- "no"
|
|
3695
|
+
expenditures:
|
|
3696
|
+
type: array
|
|
3697
|
+
title: expenditures
|
|
3698
|
+
items:
|
|
3699
|
+
$ref: "#/components/schemas/Expenditure"
|
|
3700
|
+
|
|
3701
|
+
Expenditure:
|
|
3702
|
+
type: object
|
|
3703
|
+
title: expenditure
|
|
3704
|
+
properties:
|
|
3705
|
+
expenditure_type:
|
|
3706
|
+
type: string
|
|
3707
|
+
enum:
|
|
3708
|
+
- "credit card"
|
|
3709
|
+
- "clothes"
|
|
3710
|
+
- "council tax and bills"
|
|
3711
|
+
- "child support agency"
|
|
3712
|
+
- "healthcare"
|
|
3713
|
+
- "holidays"
|
|
3714
|
+
monthly_amount:
|
|
3715
|
+
type: object
|
|
3716
|
+
title: monthly amount
|
|
3717
|
+
$ref: "#/components/schemas/Money"
|
|
3718
|
+
|
|
3578
3719
|
Subscription:
|
|
3579
3720
|
type: object
|
|
3580
3721
|
properties:
|