@kanda-libs/ks-schema 1.0.116 → 1.0.118
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/Company.d.ts +9 -2
- package/dist/components/schemas/Company.d.ts.map +1 -1
- package/dist/components/schemas/Company.js +2 -0
- package/dist/components/schemas/CompanyInfo.d.ts +8 -0
- package/dist/components/schemas/CompanyInfo.d.ts.map +1 -1
- package/dist/components/schemas/CompanyInfo.js +2 -0
- package/dist/components/schemas/ContactInfo.d.ts +2 -0
- package/dist/components/schemas/ContactInfo.d.ts.map +1 -1
- package/dist/components/schemas/ContactInfo.js +1 -0
- package/dist/components/schemas/ContractAgreement.d.ts +14 -0
- package/dist/components/schemas/ContractAgreement.d.ts.map +1 -0
- package/dist/components/schemas/ContractAgreement.js +34 -0
- package/dist/components/schemas/Entity.d.ts +558 -0
- package/dist/components/schemas/Entity.d.ts.map +1 -0
- package/dist/components/schemas/Entity.js +41 -0
- package/dist/components/schemas/Event.d.ts +550 -8
- package/dist/components/schemas/Event.d.ts.map +1 -1
- package/dist/components/schemas/Event.js +5 -4
- package/dist/components/schemas/Identity.d.ts +30 -0
- package/dist/components/schemas/Identity.d.ts.map +1 -0
- package/dist/components/schemas/Identity.js +37 -0
- package/dist/components/schemas/InfoCompany.d.ts +23 -5
- package/dist/components/schemas/InfoCompany.d.ts.map +1 -1
- package/dist/components/schemas/InfoCompany.js +8 -10
- package/dist/components/schemas/JobCompanyInfo.d.ts +1 -0
- package/dist/components/schemas/JobCompanyInfo.d.ts.map +1 -1
- package/dist/components/schemas/Subscription.d.ts +0 -24
- package/dist/components/schemas/Subscription.d.ts.map +1 -1
- package/dist/components/schemas/Subscription.js +0 -2
- package/dist/components/schemas/index.d.ts +3 -0
- package/dist/components/schemas/index.d.ts.map +1 -1
- package/dist/components/schemas/index.js +3 -0
- package/dist/operations/approveCompany.d.ts +8 -1
- package/dist/operations/approveCompany.d.ts.map +1 -1
- package/dist/operations/declineCompany.d.ts +206 -0
- package/dist/operations/declineCompany.d.ts.map +1 -0
- package/dist/operations/declineCompany.js +50 -0
- package/dist/operations/deleteCompany.d.ts +8 -1
- package/dist/operations/deleteCompany.d.ts.map +1 -1
- package/dist/operations/deleteSubscription.d.ts +0 -22
- package/dist/operations/deleteSubscription.d.ts.map +1 -1
- package/dist/operations/directorCompany.d.ts +8 -1
- package/dist/operations/directorCompany.d.ts.map +1 -1
- package/dist/operations/getCompanies.d.ts +8 -1
- package/dist/operations/getCompanies.d.ts.map +1 -1
- package/dist/operations/getCompany.d.ts +8 -1
- package/dist/operations/getCompany.d.ts.map +1 -1
- package/dist/operations/getCompanyIdentity.d.ts +121 -0
- package/dist/operations/getCompanyIdentity.d.ts.map +1 -0
- package/dist/operations/getCompanyIdentity.js +50 -0
- package/dist/operations/getSubscription.d.ts +0 -22
- package/dist/operations/getSubscription.d.ts.map +1 -1
- package/dist/operations/getSubscriptions.d.ts +0 -22
- package/dist/operations/getSubscriptions.d.ts.map +1 -1
- package/dist/operations/index.d.ts +595 -230
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +12 -0
- package/dist/operations/infoCompany.d.ts +20 -4
- package/dist/operations/infoCompany.d.ts.map +1 -1
- package/dist/operations/jobCompanyInfo.d.ts +1 -0
- package/dist/operations/jobCompanyInfo.d.ts.map +1 -1
- package/dist/operations/pendingSubscription.d.ts +0 -22
- package/dist/operations/pendingSubscription.d.ts.map +1 -1
- package/dist/operations/postCompany.d.ts +8 -1
- package/dist/operations/postCompany.d.ts.map +1 -1
- package/dist/operations/postCompanyIdentity.d.ts +126 -0
- package/dist/operations/postCompanyIdentity.d.ts.map +1 -0
- package/dist/operations/postCompanyIdentity.js +56 -0
- package/dist/operations/postSubscription.d.ts +0 -22
- package/dist/operations/postSubscription.d.ts.map +1 -1
- package/dist/operations/putCompany.d.ts +8 -1
- package/dist/operations/putCompany.d.ts.map +1 -1
- package/dist/operations/putSubscription.d.ts +0 -22
- package/dist/operations/putSubscription.d.ts.map +1 -1
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +8570 -2584
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +12471 -5345
- package/package.json +1 -1
- package/schema.yaml +236 -22
|
@@ -7,6 +7,7 @@ import { ArchiveJobRequestFunction } from "./archiveJob";
|
|
|
7
7
|
import { CheckCreditRequestFunction } from "./checkCredit";
|
|
8
8
|
import { CheckJobRequestFunction } from "./checkJob";
|
|
9
9
|
import { CompleteJobRequestFunction } from "./completeJob";
|
|
10
|
+
import { DeclineCompanyRequestFunction } from "./declineCompany";
|
|
10
11
|
import { DeleteCompanyRequestFunction } from "./deleteCompany";
|
|
11
12
|
import { DeleteCreditRequestFunction } from "./deleteCredit";
|
|
12
13
|
import { DeleteDocumentRequestFunction } from "./deleteDocument";
|
|
@@ -16,6 +17,7 @@ import { DeleteSubscriptionRequestFunction } from "./deleteSubscription";
|
|
|
16
17
|
import { DirectorCompanyRequestFunction } from "./directorCompany";
|
|
17
18
|
import { GetCompaniesRequestFunction } from "./getCompanies";
|
|
18
19
|
import { GetCompanyRequestFunction } from "./getCompany";
|
|
20
|
+
import { GetCompanyIdentityRequestFunction } from "./getCompanyIdentity";
|
|
19
21
|
import { GetCreditRequestFunction } from "./getCredit";
|
|
20
22
|
import { GetCreditsRequestFunction } from "./getCredits";
|
|
21
23
|
import { GetDocumentRequestFunction } from "./getDocument";
|
|
@@ -43,6 +45,7 @@ import { PayJobRequestFunction } from "./payJob";
|
|
|
43
45
|
import { PayoutJobRequestFunction } from "./payoutJob";
|
|
44
46
|
import { PendingSubscriptionRequestFunction } from "./pendingSubscription";
|
|
45
47
|
import { PostCompanyRequestFunction } from "./postCompany";
|
|
48
|
+
import { PostCompanyIdentityRequestFunction } from "./postCompanyIdentity";
|
|
46
49
|
import { PostCreditRequestFunction } from "./postCredit";
|
|
47
50
|
import { PostDocumentRequestFunction } from "./postDocument";
|
|
48
51
|
import { PostJobRequestFunction } from "./postJob";
|
|
@@ -248,7 +251,25 @@ export declare const operations: {
|
|
|
248
251
|
readonly responses: {
|
|
249
252
|
readonly "200": {
|
|
250
253
|
readonly _tag: "JsonResponse";
|
|
251
|
-
readonly decoder: import("io-ts").ArrayC<import("io-ts").
|
|
254
|
+
readonly decoder: import("io-ts").ArrayC<import("io-ts").PartialC<{
|
|
255
|
+
id: import("io-ts").StringC;
|
|
256
|
+
sole_trader: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
257
|
+
trading_name: import("io-ts").StringC;
|
|
258
|
+
trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
259
|
+
line_1: import("io-ts").StringC;
|
|
260
|
+
city: import("io-ts").StringC;
|
|
261
|
+
country: import("io-ts").StringC;
|
|
262
|
+
postcode: import("io-ts").StringC;
|
|
263
|
+
}>, import("io-ts").PartialC<{
|
|
264
|
+
building_number: import("io-ts").StringC;
|
|
265
|
+
building_name: import("io-ts").StringC;
|
|
266
|
+
line_2: import("io-ts").StringC;
|
|
267
|
+
county: import("io-ts").StringC;
|
|
268
|
+
months_at_address: import("io-ts").NumberC;
|
|
269
|
+
}>]>;
|
|
270
|
+
}>, import("io-ts").PartialC<{
|
|
271
|
+
national_insurance_number: import("io-ts").StringC;
|
|
272
|
+
}>]>;
|
|
252
273
|
limited_company: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
253
274
|
company_name: import("io-ts").StringC;
|
|
254
275
|
company_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -279,8 +300,6 @@ export declare const operations: {
|
|
|
279
300
|
}>]>;
|
|
280
301
|
vat_number: import("io-ts").StringC;
|
|
281
302
|
}>]>;
|
|
282
|
-
}>, import("io-ts").PartialC<{
|
|
283
|
-
id: import("io-ts").StringC;
|
|
284
303
|
directors: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
285
304
|
role: import("io-ts").UnionC<[import("io-ts").LiteralC<"company-admin">, import("io-ts").LiteralC<"company-manager">, import("io-ts").LiteralC<"company-staff">]>;
|
|
286
305
|
first_name: import("io-ts").StringC;
|
|
@@ -311,7 +330,7 @@ export declare const operations: {
|
|
|
311
330
|
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
312
331
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
313
332
|
}>;
|
|
314
|
-
}
|
|
333
|
+
}>>;
|
|
315
334
|
};
|
|
316
335
|
readonly default: {
|
|
317
336
|
readonly _tag: "JsonResponse";
|
|
@@ -626,6 +645,12 @@ export declare const operations: {
|
|
|
626
645
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
627
646
|
}>;
|
|
628
647
|
}>]>;
|
|
648
|
+
contract_agreement: import("io-ts").PartialC<{
|
|
649
|
+
agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
650
|
+
agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
651
|
+
print_name: import("io-ts").StringC;
|
|
652
|
+
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
653
|
+
}>;
|
|
629
654
|
}>]>;
|
|
630
655
|
limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
631
656
|
company_name: import("io-ts").StringC;
|
|
@@ -681,7 +706,7 @@ export declare const operations: {
|
|
|
681
706
|
}>>;
|
|
682
707
|
quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
683
708
|
skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
|
|
684
|
-
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">]>;
|
|
709
|
+
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"insurance_uploaded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">, import("io-ts").LiteralC<"declined">]>;
|
|
685
710
|
billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
|
|
686
711
|
referral_code: import("io-ts").StringC;
|
|
687
712
|
company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -720,6 +745,7 @@ export declare const operations: {
|
|
|
720
745
|
county: import("io-ts").StringC;
|
|
721
746
|
months_at_address: import("io-ts").NumberC;
|
|
722
747
|
}>]>;
|
|
748
|
+
trading_name: import("io-ts").StringC;
|
|
723
749
|
}>;
|
|
724
750
|
metadata: import("io-ts").TypeC<{
|
|
725
751
|
liveness: import("io-ts").BooleanC;
|
|
@@ -805,6 +831,12 @@ export declare const operations: {
|
|
|
805
831
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
806
832
|
}>;
|
|
807
833
|
}>]>;
|
|
834
|
+
contract_agreement: import("io-ts").PartialC<{
|
|
835
|
+
agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
836
|
+
agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
837
|
+
print_name: import("io-ts").StringC;
|
|
838
|
+
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
839
|
+
}>;
|
|
808
840
|
}>]>;
|
|
809
841
|
limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
810
842
|
company_name: import("io-ts").StringC;
|
|
@@ -860,7 +892,7 @@ export declare const operations: {
|
|
|
860
892
|
}>>;
|
|
861
893
|
quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
862
894
|
skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
|
|
863
|
-
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">]>;
|
|
895
|
+
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"insurance_uploaded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">, import("io-ts").LiteralC<"declined">]>;
|
|
864
896
|
billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
|
|
865
897
|
referral_code: import("io-ts").StringC;
|
|
866
898
|
company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -899,6 +931,7 @@ export declare const operations: {
|
|
|
899
931
|
county: import("io-ts").StringC;
|
|
900
932
|
months_at_address: import("io-ts").NumberC;
|
|
901
933
|
}>]>;
|
|
934
|
+
trading_name: import("io-ts").StringC;
|
|
902
935
|
}>;
|
|
903
936
|
metadata: import("io-ts").TypeC<{
|
|
904
937
|
liveness: import("io-ts").BooleanC;
|
|
@@ -988,6 +1021,12 @@ export declare const operations: {
|
|
|
988
1021
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
989
1022
|
}>;
|
|
990
1023
|
}>]>;
|
|
1024
|
+
contract_agreement: import("io-ts").PartialC<{
|
|
1025
|
+
agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1026
|
+
agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1027
|
+
print_name: import("io-ts").StringC;
|
|
1028
|
+
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1029
|
+
}>;
|
|
991
1030
|
}>]>;
|
|
992
1031
|
limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
993
1032
|
company_name: import("io-ts").StringC;
|
|
@@ -1043,7 +1082,7 @@ export declare const operations: {
|
|
|
1043
1082
|
}>>;
|
|
1044
1083
|
quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
1045
1084
|
skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
|
|
1046
|
-
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">]>;
|
|
1085
|
+
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"insurance_uploaded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">, import("io-ts").LiteralC<"declined">]>;
|
|
1047
1086
|
billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
|
|
1048
1087
|
referral_code: import("io-ts").StringC;
|
|
1049
1088
|
company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -1082,6 +1121,7 @@ export declare const operations: {
|
|
|
1082
1121
|
county: import("io-ts").StringC;
|
|
1083
1122
|
months_at_address: import("io-ts").NumberC;
|
|
1084
1123
|
}>]>;
|
|
1124
|
+
trading_name: import("io-ts").StringC;
|
|
1085
1125
|
}>;
|
|
1086
1126
|
metadata: import("io-ts").TypeC<{
|
|
1087
1127
|
liveness: import("io-ts").BooleanC;
|
|
@@ -1148,34 +1188,475 @@ export declare const operations: {
|
|
|
1148
1188
|
last_name: import("io-ts").StringC;
|
|
1149
1189
|
mobile: import("io-ts").StringC;
|
|
1150
1190
|
}>]>>;
|
|
1151
|
-
company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1152
|
-
trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"gas_engineer">, import("io-ts").LiteralC<"electrician">, import("io-ts").LiteralC<"ev_charger_installer">, import("io-ts").LiteralC<"tiler">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"floor_layer">, import("io-ts").LiteralC<"cctv_and_security_installations">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"bathrooms">, import("io-ts").LiteralC<"driveways_and_patios">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"multi_trade">, import("io-ts").LiteralC<"other_trade">]>;
|
|
1153
|
-
warranty_length: import("io-ts").NumberC;
|
|
1154
|
-
average_monthly_jobs: import("io-ts").NumberC;
|
|
1155
|
-
average_job_value: import("io-ts").NumberC;
|
|
1156
|
-
use_subcontractor: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1157
|
-
}>, import("io-ts").PartialC<{
|
|
1158
|
-
trade_body: import("io-ts").UnionC<[import("io-ts").LiteralC<"none">, import("io-ts").LiteralC<"niceic">, import("io-ts").LiteralC<"elecsa">, import("io-ts").LiteralC<"gas_safe">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"other">]>;
|
|
1159
|
-
trade_body_number: import("io-ts").StringC;
|
|
1160
|
-
insurance_document: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1161
|
-
name: import("io-ts").StringC;
|
|
1162
|
-
}>, import("io-ts").PartialC<{
|
|
1163
|
-
id: import("io-ts").StringC;
|
|
1164
|
-
cid: import("io-ts").StringC;
|
|
1165
|
-
oid: import("io-ts").StringC;
|
|
1166
|
-
aid: import("io-ts").StringC;
|
|
1167
|
-
content: import("io-ts").StringC;
|
|
1168
|
-
mimetype: import("io-ts").StringC;
|
|
1169
|
-
metadata: import("io-ts").TypeC<{
|
|
1170
|
-
liveness: import("io-ts").BooleanC;
|
|
1171
|
-
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1172
|
-
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1173
|
-
}>;
|
|
1174
|
-
}>]>;
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1191
|
+
company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1192
|
+
trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"gas_engineer">, import("io-ts").LiteralC<"electrician">, import("io-ts").LiteralC<"ev_charger_installer">, import("io-ts").LiteralC<"tiler">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"floor_layer">, import("io-ts").LiteralC<"cctv_and_security_installations">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"bathrooms">, import("io-ts").LiteralC<"driveways_and_patios">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"multi_trade">, import("io-ts").LiteralC<"other_trade">]>;
|
|
1193
|
+
warranty_length: import("io-ts").NumberC;
|
|
1194
|
+
average_monthly_jobs: import("io-ts").NumberC;
|
|
1195
|
+
average_job_value: import("io-ts").NumberC;
|
|
1196
|
+
use_subcontractor: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1197
|
+
}>, import("io-ts").PartialC<{
|
|
1198
|
+
trade_body: import("io-ts").UnionC<[import("io-ts").LiteralC<"none">, import("io-ts").LiteralC<"niceic">, import("io-ts").LiteralC<"elecsa">, import("io-ts").LiteralC<"gas_safe">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"other">]>;
|
|
1199
|
+
trade_body_number: import("io-ts").StringC;
|
|
1200
|
+
insurance_document: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1201
|
+
name: import("io-ts").StringC;
|
|
1202
|
+
}>, import("io-ts").PartialC<{
|
|
1203
|
+
id: import("io-ts").StringC;
|
|
1204
|
+
cid: import("io-ts").StringC;
|
|
1205
|
+
oid: import("io-ts").StringC;
|
|
1206
|
+
aid: import("io-ts").StringC;
|
|
1207
|
+
content: import("io-ts").StringC;
|
|
1208
|
+
mimetype: import("io-ts").StringC;
|
|
1209
|
+
metadata: import("io-ts").TypeC<{
|
|
1210
|
+
liveness: import("io-ts").BooleanC;
|
|
1211
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1212
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1213
|
+
}>;
|
|
1214
|
+
}>]>;
|
|
1215
|
+
contract_agreement: import("io-ts").PartialC<{
|
|
1216
|
+
agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1217
|
+
agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1218
|
+
print_name: import("io-ts").StringC;
|
|
1219
|
+
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1220
|
+
}>;
|
|
1221
|
+
}>]>;
|
|
1222
|
+
limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1223
|
+
company_name: import("io-ts").StringC;
|
|
1224
|
+
company_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1225
|
+
line_1: import("io-ts").StringC;
|
|
1226
|
+
city: import("io-ts").StringC;
|
|
1227
|
+
country: import("io-ts").StringC;
|
|
1228
|
+
postcode: import("io-ts").StringC;
|
|
1229
|
+
}>, import("io-ts").PartialC<{
|
|
1230
|
+
building_number: import("io-ts").StringC;
|
|
1231
|
+
building_name: import("io-ts").StringC;
|
|
1232
|
+
line_2: import("io-ts").StringC;
|
|
1233
|
+
county: import("io-ts").StringC;
|
|
1234
|
+
months_at_address: import("io-ts").NumberC;
|
|
1235
|
+
}>]>;
|
|
1236
|
+
company_number: import("io-ts").StringC;
|
|
1237
|
+
}>, import("io-ts").PartialC<{
|
|
1238
|
+
trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1239
|
+
line_1: import("io-ts").StringC;
|
|
1240
|
+
city: import("io-ts").StringC;
|
|
1241
|
+
country: import("io-ts").StringC;
|
|
1242
|
+
postcode: import("io-ts").StringC;
|
|
1243
|
+
}>, import("io-ts").PartialC<{
|
|
1244
|
+
building_number: import("io-ts").StringC;
|
|
1245
|
+
building_name: import("io-ts").StringC;
|
|
1246
|
+
line_2: import("io-ts").StringC;
|
|
1247
|
+
county: import("io-ts").StringC;
|
|
1248
|
+
months_at_address: import("io-ts").NumberC;
|
|
1249
|
+
}>]>;
|
|
1250
|
+
vat_number: import("io-ts").StringC;
|
|
1251
|
+
}>]>;
|
|
1252
|
+
sole_trader_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1253
|
+
trading_name: import("io-ts").StringC;
|
|
1254
|
+
trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1255
|
+
line_1: import("io-ts").StringC;
|
|
1256
|
+
city: import("io-ts").StringC;
|
|
1257
|
+
country: import("io-ts").StringC;
|
|
1258
|
+
postcode: import("io-ts").StringC;
|
|
1259
|
+
}>, import("io-ts").PartialC<{
|
|
1260
|
+
building_number: import("io-ts").StringC;
|
|
1261
|
+
building_name: import("io-ts").StringC;
|
|
1262
|
+
line_2: import("io-ts").StringC;
|
|
1263
|
+
county: import("io-ts").StringC;
|
|
1264
|
+
months_at_address: import("io-ts").NumberC;
|
|
1265
|
+
}>]>;
|
|
1266
|
+
}>, import("io-ts").PartialC<{
|
|
1267
|
+
national_insurance_number: import("io-ts").StringC;
|
|
1268
|
+
}>]>;
|
|
1269
|
+
available_rates: import("io-ts").ArrayC<import("io-ts").TypeC<{
|
|
1270
|
+
name: import("io-ts").StringC;
|
|
1271
|
+
fee: import("io-ts").NumberC;
|
|
1272
|
+
enabled: import("io-ts").BooleanC;
|
|
1273
|
+
}>>;
|
|
1274
|
+
quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
1275
|
+
skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
|
|
1276
|
+
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"insurance_uploaded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">, import("io-ts").LiteralC<"declined">]>;
|
|
1277
|
+
billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
|
|
1278
|
+
referral_code: import("io-ts").StringC;
|
|
1279
|
+
company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1280
|
+
name: import("io-ts").StringC;
|
|
1281
|
+
}>, import("io-ts").PartialC<{
|
|
1282
|
+
id: import("io-ts").StringC;
|
|
1283
|
+
cid: import("io-ts").StringC;
|
|
1284
|
+
oid: import("io-ts").StringC;
|
|
1285
|
+
aid: import("io-ts").StringC;
|
|
1286
|
+
content: import("io-ts").StringC;
|
|
1287
|
+
mimetype: import("io-ts").StringC;
|
|
1288
|
+
metadata: import("io-ts").TypeC<{
|
|
1289
|
+
liveness: import("io-ts").BooleanC;
|
|
1290
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1291
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1292
|
+
}>;
|
|
1293
|
+
}>]>;
|
|
1294
|
+
bank_account: import("io-ts").TypeC<{
|
|
1295
|
+
account_name: import("io-ts").StringC;
|
|
1296
|
+
account_number: import("io-ts").StringC;
|
|
1297
|
+
sort_code: import("io-ts").StringC;
|
|
1298
|
+
}>;
|
|
1299
|
+
contact_info: import("io-ts").PartialC<{
|
|
1300
|
+
contact_name: import("io-ts").StringC;
|
|
1301
|
+
contact_email: import("io-ts").StringC;
|
|
1302
|
+
contact_phone: import("io-ts").StringC;
|
|
1303
|
+
contact_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1304
|
+
line_1: import("io-ts").StringC;
|
|
1305
|
+
city: import("io-ts").StringC;
|
|
1306
|
+
country: import("io-ts").StringC;
|
|
1307
|
+
postcode: import("io-ts").StringC;
|
|
1308
|
+
}>, import("io-ts").PartialC<{
|
|
1309
|
+
building_number: import("io-ts").StringC;
|
|
1310
|
+
building_name: import("io-ts").StringC;
|
|
1311
|
+
line_2: import("io-ts").StringC;
|
|
1312
|
+
county: import("io-ts").StringC;
|
|
1313
|
+
months_at_address: import("io-ts").NumberC;
|
|
1314
|
+
}>]>;
|
|
1315
|
+
trading_name: import("io-ts").StringC;
|
|
1316
|
+
}>;
|
|
1317
|
+
metadata: import("io-ts").TypeC<{
|
|
1318
|
+
liveness: import("io-ts").BooleanC;
|
|
1319
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1320
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1321
|
+
}>;
|
|
1322
|
+
}>]>;
|
|
1323
|
+
};
|
|
1324
|
+
readonly default: {
|
|
1325
|
+
readonly _tag: "JsonResponse";
|
|
1326
|
+
readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1327
|
+
message: import("io-ts").StringC;
|
|
1328
|
+
}>, import("io-ts").PartialC<{
|
|
1329
|
+
code: import("io-ts").NumberC;
|
|
1330
|
+
}>]>;
|
|
1331
|
+
};
|
|
1332
|
+
};
|
|
1333
|
+
readonly parameters: readonly [{
|
|
1334
|
+
readonly _tag: "FormParameter";
|
|
1335
|
+
readonly explode: false;
|
|
1336
|
+
readonly in: "path";
|
|
1337
|
+
readonly name: "id";
|
|
1338
|
+
}];
|
|
1339
|
+
readonly requestDefaultHeaders: {
|
|
1340
|
+
readonly "Content-Type": "application/json";
|
|
1341
|
+
readonly Accept: "application/json";
|
|
1342
|
+
};
|
|
1343
|
+
readonly body: {
|
|
1344
|
+
readonly _tag: "JsonBody";
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
readonly deleteCompany: {
|
|
1348
|
+
readonly path: "/api/company/{id}";
|
|
1349
|
+
readonly method: "delete";
|
|
1350
|
+
readonly responses: {
|
|
1351
|
+
readonly "200": {
|
|
1352
|
+
readonly _tag: "JsonResponse";
|
|
1353
|
+
readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1354
|
+
company_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"limited_company">, import("io-ts").LiteralC<"sole_trader">]>;
|
|
1355
|
+
}>, import("io-ts").PartialC<{
|
|
1356
|
+
id: import("io-ts").StringC;
|
|
1357
|
+
cid: import("io-ts").StringC;
|
|
1358
|
+
oid: import("io-ts").StringC;
|
|
1359
|
+
aid: import("io-ts").StringC;
|
|
1360
|
+
emails: import("io-ts").ArrayC<import("io-ts").StringC>;
|
|
1361
|
+
users: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1362
|
+
role: import("io-ts").UnionC<[import("io-ts").LiteralC<"company-admin">, import("io-ts").LiteralC<"company-manager">, import("io-ts").LiteralC<"company-staff">]>;
|
|
1363
|
+
first_name: import("io-ts").StringC;
|
|
1364
|
+
email: import("io-ts").StringC;
|
|
1365
|
+
}>, import("io-ts").PartialC<{
|
|
1366
|
+
director_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1367
|
+
home_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1368
|
+
line_1: import("io-ts").StringC;
|
|
1369
|
+
city: import("io-ts").StringC;
|
|
1370
|
+
country: import("io-ts").StringC;
|
|
1371
|
+
postcode: import("io-ts").StringC;
|
|
1372
|
+
}>, import("io-ts").PartialC<{
|
|
1373
|
+
building_number: import("io-ts").StringC;
|
|
1374
|
+
building_name: import("io-ts").StringC;
|
|
1375
|
+
line_2: import("io-ts").StringC;
|
|
1376
|
+
county: import("io-ts").StringC;
|
|
1377
|
+
months_at_address: import("io-ts").NumberC;
|
|
1378
|
+
}>]>;
|
|
1379
|
+
}>, import("io-ts").PartialC<{
|
|
1380
|
+
verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verified">]>;
|
|
1381
|
+
date_of_birth: import("io-ts").StringC;
|
|
1382
|
+
}>]>;
|
|
1383
|
+
last_name: import("io-ts").StringC;
|
|
1384
|
+
mobile: import("io-ts").StringC;
|
|
1385
|
+
}>]>>;
|
|
1386
|
+
company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1387
|
+
trade_type: import("io-ts").UnionC<[import("io-ts").LiteralC<"gas_engineer">, import("io-ts").LiteralC<"electrician">, import("io-ts").LiteralC<"ev_charger_installer">, import("io-ts").LiteralC<"tiler">, import("io-ts").LiteralC<"kitchen_fitter">, import("io-ts").LiteralC<"floor_layer">, import("io-ts").LiteralC<"cctv_and_security_installations">, import("io-ts").LiteralC<"windows_and_doors">, import("io-ts").LiteralC<"landscaping">, import("io-ts").LiteralC<"air_conditioning">, import("io-ts").LiteralC<"bathrooms">, import("io-ts").LiteralC<"driveways_and_patios">, import("io-ts").LiteralC<"garage_doors">, import("io-ts").LiteralC<"fireplaces">, import("io-ts").LiteralC<"multi_trade">, import("io-ts").LiteralC<"other_trade">]>;
|
|
1388
|
+
warranty_length: import("io-ts").NumberC;
|
|
1389
|
+
average_monthly_jobs: import("io-ts").NumberC;
|
|
1390
|
+
average_job_value: import("io-ts").NumberC;
|
|
1391
|
+
use_subcontractor: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1392
|
+
}>, import("io-ts").PartialC<{
|
|
1393
|
+
trade_body: import("io-ts").UnionC<[import("io-ts").LiteralC<"none">, import("io-ts").LiteralC<"niceic">, import("io-ts").LiteralC<"elecsa">, import("io-ts").LiteralC<"gas_safe">, import("io-ts").LiteralC<"napit">, import("io-ts").LiteralC<"other">]>;
|
|
1394
|
+
trade_body_number: import("io-ts").StringC;
|
|
1395
|
+
insurance_document: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1396
|
+
name: import("io-ts").StringC;
|
|
1397
|
+
}>, import("io-ts").PartialC<{
|
|
1398
|
+
id: import("io-ts").StringC;
|
|
1399
|
+
cid: import("io-ts").StringC;
|
|
1400
|
+
oid: import("io-ts").StringC;
|
|
1401
|
+
aid: import("io-ts").StringC;
|
|
1402
|
+
content: import("io-ts").StringC;
|
|
1403
|
+
mimetype: import("io-ts").StringC;
|
|
1404
|
+
metadata: import("io-ts").TypeC<{
|
|
1405
|
+
liveness: import("io-ts").BooleanC;
|
|
1406
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1407
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1408
|
+
}>;
|
|
1409
|
+
}>]>;
|
|
1410
|
+
contract_agreement: import("io-ts").PartialC<{
|
|
1411
|
+
agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1412
|
+
agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1413
|
+
print_name: import("io-ts").StringC;
|
|
1414
|
+
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1415
|
+
}>;
|
|
1416
|
+
}>]>;
|
|
1417
|
+
limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1418
|
+
company_name: import("io-ts").StringC;
|
|
1419
|
+
company_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1420
|
+
line_1: import("io-ts").StringC;
|
|
1421
|
+
city: import("io-ts").StringC;
|
|
1422
|
+
country: import("io-ts").StringC;
|
|
1423
|
+
postcode: import("io-ts").StringC;
|
|
1424
|
+
}>, import("io-ts").PartialC<{
|
|
1425
|
+
building_number: import("io-ts").StringC;
|
|
1426
|
+
building_name: import("io-ts").StringC;
|
|
1427
|
+
line_2: import("io-ts").StringC;
|
|
1428
|
+
county: import("io-ts").StringC;
|
|
1429
|
+
months_at_address: import("io-ts").NumberC;
|
|
1430
|
+
}>]>;
|
|
1431
|
+
company_number: import("io-ts").StringC;
|
|
1432
|
+
}>, import("io-ts").PartialC<{
|
|
1433
|
+
trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1434
|
+
line_1: import("io-ts").StringC;
|
|
1435
|
+
city: import("io-ts").StringC;
|
|
1436
|
+
country: import("io-ts").StringC;
|
|
1437
|
+
postcode: import("io-ts").StringC;
|
|
1438
|
+
}>, import("io-ts").PartialC<{
|
|
1439
|
+
building_number: import("io-ts").StringC;
|
|
1440
|
+
building_name: import("io-ts").StringC;
|
|
1441
|
+
line_2: import("io-ts").StringC;
|
|
1442
|
+
county: import("io-ts").StringC;
|
|
1443
|
+
months_at_address: import("io-ts").NumberC;
|
|
1444
|
+
}>]>;
|
|
1445
|
+
vat_number: import("io-ts").StringC;
|
|
1446
|
+
}>]>;
|
|
1447
|
+
sole_trader_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1448
|
+
trading_name: import("io-ts").StringC;
|
|
1449
|
+
trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1450
|
+
line_1: import("io-ts").StringC;
|
|
1451
|
+
city: import("io-ts").StringC;
|
|
1452
|
+
country: import("io-ts").StringC;
|
|
1453
|
+
postcode: import("io-ts").StringC;
|
|
1454
|
+
}>, import("io-ts").PartialC<{
|
|
1455
|
+
building_number: import("io-ts").StringC;
|
|
1456
|
+
building_name: import("io-ts").StringC;
|
|
1457
|
+
line_2: import("io-ts").StringC;
|
|
1458
|
+
county: import("io-ts").StringC;
|
|
1459
|
+
months_at_address: import("io-ts").NumberC;
|
|
1460
|
+
}>]>;
|
|
1461
|
+
}>, import("io-ts").PartialC<{
|
|
1462
|
+
national_insurance_number: import("io-ts").StringC;
|
|
1463
|
+
}>]>;
|
|
1464
|
+
available_rates: import("io-ts").ArrayC<import("io-ts").TypeC<{
|
|
1465
|
+
name: import("io-ts").StringC;
|
|
1466
|
+
fee: import("io-ts").NumberC;
|
|
1467
|
+
enabled: import("io-ts").BooleanC;
|
|
1468
|
+
}>>;
|
|
1469
|
+
quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
1470
|
+
skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
|
|
1471
|
+
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"insurance_uploaded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">, import("io-ts").LiteralC<"declined">]>;
|
|
1472
|
+
billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
|
|
1473
|
+
referral_code: import("io-ts").StringC;
|
|
1474
|
+
company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1475
|
+
name: import("io-ts").StringC;
|
|
1476
|
+
}>, import("io-ts").PartialC<{
|
|
1477
|
+
id: import("io-ts").StringC;
|
|
1478
|
+
cid: import("io-ts").StringC;
|
|
1479
|
+
oid: import("io-ts").StringC;
|
|
1480
|
+
aid: import("io-ts").StringC;
|
|
1481
|
+
content: import("io-ts").StringC;
|
|
1482
|
+
mimetype: import("io-ts").StringC;
|
|
1483
|
+
metadata: import("io-ts").TypeC<{
|
|
1484
|
+
liveness: import("io-ts").BooleanC;
|
|
1485
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1486
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1487
|
+
}>;
|
|
1488
|
+
}>]>;
|
|
1489
|
+
bank_account: import("io-ts").TypeC<{
|
|
1490
|
+
account_name: import("io-ts").StringC;
|
|
1491
|
+
account_number: import("io-ts").StringC;
|
|
1492
|
+
sort_code: import("io-ts").StringC;
|
|
1493
|
+
}>;
|
|
1494
|
+
contact_info: import("io-ts").PartialC<{
|
|
1495
|
+
contact_name: import("io-ts").StringC;
|
|
1496
|
+
contact_email: import("io-ts").StringC;
|
|
1497
|
+
contact_phone: import("io-ts").StringC;
|
|
1498
|
+
contact_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1499
|
+
line_1: import("io-ts").StringC;
|
|
1500
|
+
city: import("io-ts").StringC;
|
|
1501
|
+
country: import("io-ts").StringC;
|
|
1502
|
+
postcode: import("io-ts").StringC;
|
|
1503
|
+
}>, import("io-ts").PartialC<{
|
|
1504
|
+
building_number: import("io-ts").StringC;
|
|
1505
|
+
building_name: import("io-ts").StringC;
|
|
1506
|
+
line_2: import("io-ts").StringC;
|
|
1507
|
+
county: import("io-ts").StringC;
|
|
1508
|
+
months_at_address: import("io-ts").NumberC;
|
|
1509
|
+
}>]>;
|
|
1510
|
+
trading_name: import("io-ts").StringC;
|
|
1511
|
+
}>;
|
|
1512
|
+
metadata: import("io-ts").TypeC<{
|
|
1513
|
+
liveness: import("io-ts").BooleanC;
|
|
1514
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1515
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1516
|
+
}>;
|
|
1517
|
+
}>]>;
|
|
1518
|
+
};
|
|
1519
|
+
readonly default: {
|
|
1520
|
+
readonly _tag: "JsonResponse";
|
|
1521
|
+
readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1522
|
+
message: import("io-ts").StringC;
|
|
1523
|
+
}>, import("io-ts").PartialC<{
|
|
1524
|
+
code: import("io-ts").NumberC;
|
|
1525
|
+
}>]>;
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
readonly parameters: readonly [{
|
|
1529
|
+
readonly _tag: "FormParameter";
|
|
1530
|
+
readonly explode: false;
|
|
1531
|
+
readonly in: "path";
|
|
1532
|
+
readonly name: "id";
|
|
1533
|
+
}];
|
|
1534
|
+
readonly requestDefaultHeaders: {
|
|
1535
|
+
readonly Accept: "application/json";
|
|
1536
|
+
};
|
|
1537
|
+
};
|
|
1538
|
+
readonly getCompanyIdentity: {
|
|
1539
|
+
readonly path: "/api/company/{id}/identity";
|
|
1540
|
+
readonly method: "get";
|
|
1541
|
+
readonly responses: {
|
|
1542
|
+
readonly "200": {
|
|
1543
|
+
readonly _tag: "JsonResponse";
|
|
1544
|
+
readonly decoder: import("io-ts").PartialC<{
|
|
1545
|
+
id: import("io-ts").StringC;
|
|
1546
|
+
sole_trader: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1547
|
+
trading_name: import("io-ts").StringC;
|
|
1548
|
+
trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1549
|
+
line_1: import("io-ts").StringC;
|
|
1550
|
+
city: import("io-ts").StringC;
|
|
1551
|
+
country: import("io-ts").StringC;
|
|
1552
|
+
postcode: import("io-ts").StringC;
|
|
1553
|
+
}>, import("io-ts").PartialC<{
|
|
1554
|
+
building_number: import("io-ts").StringC;
|
|
1555
|
+
building_name: import("io-ts").StringC;
|
|
1556
|
+
line_2: import("io-ts").StringC;
|
|
1557
|
+
county: import("io-ts").StringC;
|
|
1558
|
+
months_at_address: import("io-ts").NumberC;
|
|
1559
|
+
}>]>;
|
|
1560
|
+
}>, import("io-ts").PartialC<{
|
|
1561
|
+
national_insurance_number: import("io-ts").StringC;
|
|
1562
|
+
}>]>;
|
|
1563
|
+
limited_company: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1564
|
+
company_name: import("io-ts").StringC;
|
|
1565
|
+
company_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1566
|
+
line_1: import("io-ts").StringC;
|
|
1567
|
+
city: import("io-ts").StringC;
|
|
1568
|
+
country: import("io-ts").StringC;
|
|
1569
|
+
postcode: import("io-ts").StringC;
|
|
1570
|
+
}>, import("io-ts").PartialC<{
|
|
1571
|
+
building_number: import("io-ts").StringC;
|
|
1572
|
+
building_name: import("io-ts").StringC;
|
|
1573
|
+
line_2: import("io-ts").StringC;
|
|
1574
|
+
county: import("io-ts").StringC;
|
|
1575
|
+
months_at_address: import("io-ts").NumberC;
|
|
1576
|
+
}>]>;
|
|
1577
|
+
company_number: import("io-ts").StringC;
|
|
1578
|
+
}>, import("io-ts").PartialC<{
|
|
1579
|
+
trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1580
|
+
line_1: import("io-ts").StringC;
|
|
1581
|
+
city: import("io-ts").StringC;
|
|
1582
|
+
country: import("io-ts").StringC;
|
|
1583
|
+
postcode: import("io-ts").StringC;
|
|
1584
|
+
}>, import("io-ts").PartialC<{
|
|
1585
|
+
building_number: import("io-ts").StringC;
|
|
1586
|
+
building_name: import("io-ts").StringC;
|
|
1587
|
+
line_2: import("io-ts").StringC;
|
|
1588
|
+
county: import("io-ts").StringC;
|
|
1589
|
+
months_at_address: import("io-ts").NumberC;
|
|
1590
|
+
}>]>;
|
|
1591
|
+
vat_number: import("io-ts").StringC;
|
|
1592
|
+
}>]>;
|
|
1593
|
+
directors: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1594
|
+
role: import("io-ts").UnionC<[import("io-ts").LiteralC<"company-admin">, import("io-ts").LiteralC<"company-manager">, import("io-ts").LiteralC<"company-staff">]>;
|
|
1595
|
+
first_name: import("io-ts").StringC;
|
|
1596
|
+
email: import("io-ts").StringC;
|
|
1597
|
+
}>, import("io-ts").PartialC<{
|
|
1598
|
+
director_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1599
|
+
home_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1600
|
+
line_1: import("io-ts").StringC;
|
|
1601
|
+
city: import("io-ts").StringC;
|
|
1602
|
+
country: import("io-ts").StringC;
|
|
1603
|
+
postcode: import("io-ts").StringC;
|
|
1604
|
+
}>, import("io-ts").PartialC<{
|
|
1605
|
+
building_number: import("io-ts").StringC;
|
|
1606
|
+
building_name: import("io-ts").StringC;
|
|
1607
|
+
line_2: import("io-ts").StringC;
|
|
1608
|
+
county: import("io-ts").StringC;
|
|
1609
|
+
months_at_address: import("io-ts").NumberC;
|
|
1610
|
+
}>]>;
|
|
1611
|
+
}>, import("io-ts").PartialC<{
|
|
1612
|
+
verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verified">]>;
|
|
1613
|
+
date_of_birth: import("io-ts").StringC;
|
|
1614
|
+
}>]>;
|
|
1615
|
+
last_name: import("io-ts").StringC;
|
|
1616
|
+
mobile: import("io-ts").StringC;
|
|
1617
|
+
}>]>>;
|
|
1618
|
+
metadata: import("io-ts").TypeC<{
|
|
1619
|
+
liveness: import("io-ts").BooleanC;
|
|
1620
|
+
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1621
|
+
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1622
|
+
}>;
|
|
1623
|
+
}>;
|
|
1624
|
+
};
|
|
1625
|
+
readonly default: {
|
|
1626
|
+
readonly _tag: "JsonResponse";
|
|
1627
|
+
readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1628
|
+
message: import("io-ts").StringC;
|
|
1629
|
+
}>, import("io-ts").PartialC<{
|
|
1630
|
+
code: import("io-ts").NumberC;
|
|
1631
|
+
}>]>;
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
readonly parameters: readonly [{
|
|
1635
|
+
readonly _tag: "FormParameter";
|
|
1636
|
+
readonly explode: false;
|
|
1637
|
+
readonly in: "path";
|
|
1638
|
+
readonly name: "id";
|
|
1639
|
+
}, {
|
|
1640
|
+
readonly _tag: "FormParameter";
|
|
1641
|
+
readonly explode: true;
|
|
1642
|
+
readonly in: "query";
|
|
1643
|
+
readonly name: "email";
|
|
1644
|
+
}];
|
|
1645
|
+
readonly requestDefaultHeaders: {
|
|
1646
|
+
readonly Accept: "application/json";
|
|
1647
|
+
};
|
|
1648
|
+
};
|
|
1649
|
+
readonly postCompanyIdentity: {
|
|
1650
|
+
readonly path: "/api/company/{id}/identity";
|
|
1651
|
+
readonly method: "post";
|
|
1652
|
+
readonly responses: {
|
|
1653
|
+
readonly "200": {
|
|
1654
|
+
readonly _tag: "JsonResponse";
|
|
1655
|
+
readonly decoder: import("io-ts").PartialC<{
|
|
1656
|
+
id: import("io-ts").StringC;
|
|
1657
|
+
sole_trader: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1658
|
+
trading_name: import("io-ts").StringC;
|
|
1659
|
+
trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1179
1660
|
line_1: import("io-ts").StringC;
|
|
1180
1661
|
city: import("io-ts").StringC;
|
|
1181
1662
|
country: import("io-ts").StringC;
|
|
@@ -1187,9 +1668,12 @@ export declare const operations: {
|
|
|
1187
1668
|
county: import("io-ts").StringC;
|
|
1188
1669
|
months_at_address: import("io-ts").NumberC;
|
|
1189
1670
|
}>]>;
|
|
1190
|
-
company_number: import("io-ts").StringC;
|
|
1191
1671
|
}>, import("io-ts").PartialC<{
|
|
1192
|
-
|
|
1672
|
+
national_insurance_number: import("io-ts").StringC;
|
|
1673
|
+
}>]>;
|
|
1674
|
+
limited_company: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1675
|
+
company_name: import("io-ts").StringC;
|
|
1676
|
+
company_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1193
1677
|
line_1: import("io-ts").StringC;
|
|
1194
1678
|
city: import("io-ts").StringC;
|
|
1195
1679
|
country: import("io-ts").StringC;
|
|
@@ -1201,10 +1685,8 @@ export declare const operations: {
|
|
|
1201
1685
|
county: import("io-ts").StringC;
|
|
1202
1686
|
months_at_address: import("io-ts").NumberC;
|
|
1203
1687
|
}>]>;
|
|
1204
|
-
|
|
1205
|
-
}
|
|
1206
|
-
sole_trader_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1207
|
-
trading_name: import("io-ts").StringC;
|
|
1688
|
+
company_number: import("io-ts").StringC;
|
|
1689
|
+
}>, import("io-ts").PartialC<{
|
|
1208
1690
|
trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1209
1691
|
line_1: import("io-ts").StringC;
|
|
1210
1692
|
city: import("io-ts").StringC;
|
|
@@ -1217,62 +1699,39 @@ export declare const operations: {
|
|
|
1217
1699
|
county: import("io-ts").StringC;
|
|
1218
1700
|
months_at_address: import("io-ts").NumberC;
|
|
1219
1701
|
}>]>;
|
|
1220
|
-
|
|
1221
|
-
national_insurance_number: import("io-ts").StringC;
|
|
1702
|
+
vat_number: import("io-ts").StringC;
|
|
1222
1703
|
}>]>;
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
}>>;
|
|
1228
|
-
quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
1229
|
-
skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
|
|
1230
|
-
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">]>;
|
|
1231
|
-
billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
|
|
1232
|
-
referral_code: import("io-ts").StringC;
|
|
1233
|
-
company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1234
|
-
name: import("io-ts").StringC;
|
|
1704
|
+
directors: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1705
|
+
role: import("io-ts").UnionC<[import("io-ts").LiteralC<"company-admin">, import("io-ts").LiteralC<"company-manager">, import("io-ts").LiteralC<"company-staff">]>;
|
|
1706
|
+
first_name: import("io-ts").StringC;
|
|
1707
|
+
email: import("io-ts").StringC;
|
|
1235
1708
|
}>, import("io-ts").PartialC<{
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
account_name: import("io-ts").StringC;
|
|
1250
|
-
account_number: import("io-ts").StringC;
|
|
1251
|
-
sort_code: import("io-ts").StringC;
|
|
1252
|
-
}>;
|
|
1253
|
-
contact_info: import("io-ts").PartialC<{
|
|
1254
|
-
contact_name: import("io-ts").StringC;
|
|
1255
|
-
contact_email: import("io-ts").StringC;
|
|
1256
|
-
contact_phone: import("io-ts").StringC;
|
|
1257
|
-
contact_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1258
|
-
line_1: import("io-ts").StringC;
|
|
1259
|
-
city: import("io-ts").StringC;
|
|
1260
|
-
country: import("io-ts").StringC;
|
|
1261
|
-
postcode: import("io-ts").StringC;
|
|
1709
|
+
director_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1710
|
+
home_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1711
|
+
line_1: import("io-ts").StringC;
|
|
1712
|
+
city: import("io-ts").StringC;
|
|
1713
|
+
country: import("io-ts").StringC;
|
|
1714
|
+
postcode: import("io-ts").StringC;
|
|
1715
|
+
}>, import("io-ts").PartialC<{
|
|
1716
|
+
building_number: import("io-ts").StringC;
|
|
1717
|
+
building_name: import("io-ts").StringC;
|
|
1718
|
+
line_2: import("io-ts").StringC;
|
|
1719
|
+
county: import("io-ts").StringC;
|
|
1720
|
+
months_at_address: import("io-ts").NumberC;
|
|
1721
|
+
}>]>;
|
|
1262
1722
|
}>, import("io-ts").PartialC<{
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
line_2: import("io-ts").StringC;
|
|
1266
|
-
county: import("io-ts").StringC;
|
|
1267
|
-
months_at_address: import("io-ts").NumberC;
|
|
1723
|
+
verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verified">]>;
|
|
1724
|
+
date_of_birth: import("io-ts").StringC;
|
|
1268
1725
|
}>]>;
|
|
1269
|
-
|
|
1726
|
+
last_name: import("io-ts").StringC;
|
|
1727
|
+
mobile: import("io-ts").StringC;
|
|
1728
|
+
}>]>>;
|
|
1270
1729
|
metadata: import("io-ts").TypeC<{
|
|
1271
1730
|
liveness: import("io-ts").BooleanC;
|
|
1272
1731
|
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1273
1732
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1274
1733
|
}>;
|
|
1275
|
-
}
|
|
1734
|
+
}>;
|
|
1276
1735
|
};
|
|
1277
1736
|
readonly default: {
|
|
1278
1737
|
readonly _tag: "JsonResponse";
|
|
@@ -1288,6 +1747,11 @@ export declare const operations: {
|
|
|
1288
1747
|
readonly explode: false;
|
|
1289
1748
|
readonly in: "path";
|
|
1290
1749
|
readonly name: "id";
|
|
1750
|
+
}, {
|
|
1751
|
+
readonly _tag: "FormParameter";
|
|
1752
|
+
readonly explode: true;
|
|
1753
|
+
readonly in: "query";
|
|
1754
|
+
readonly name: "email";
|
|
1291
1755
|
}];
|
|
1292
1756
|
readonly requestDefaultHeaders: {
|
|
1293
1757
|
readonly "Content-Type": "application/json";
|
|
@@ -1297,9 +1761,9 @@ export declare const operations: {
|
|
|
1297
1761
|
readonly _tag: "JsonBody";
|
|
1298
1762
|
};
|
|
1299
1763
|
};
|
|
1300
|
-
readonly
|
|
1301
|
-
readonly path: "/api/company/{id}";
|
|
1302
|
-
readonly method: "
|
|
1764
|
+
readonly directorCompany: {
|
|
1765
|
+
readonly path: "/api/company/{id}/director";
|
|
1766
|
+
readonly method: "post";
|
|
1303
1767
|
readonly responses: {
|
|
1304
1768
|
readonly "200": {
|
|
1305
1769
|
readonly _tag: "JsonResponse";
|
|
@@ -1360,6 +1824,12 @@ export declare const operations: {
|
|
|
1360
1824
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1361
1825
|
}>;
|
|
1362
1826
|
}>]>;
|
|
1827
|
+
contract_agreement: import("io-ts").PartialC<{
|
|
1828
|
+
agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1829
|
+
agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
1830
|
+
print_name: import("io-ts").StringC;
|
|
1831
|
+
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1832
|
+
}>;
|
|
1363
1833
|
}>]>;
|
|
1364
1834
|
limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1365
1835
|
company_name: import("io-ts").StringC;
|
|
@@ -1415,7 +1885,7 @@ export declare const operations: {
|
|
|
1415
1885
|
}>>;
|
|
1416
1886
|
quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
1417
1887
|
skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
|
|
1418
|
-
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">]>;
|
|
1888
|
+
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"insurance_uploaded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">, import("io-ts").LiteralC<"declined">]>;
|
|
1419
1889
|
billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
|
|
1420
1890
|
referral_code: import("io-ts").StringC;
|
|
1421
1891
|
company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -1454,6 +1924,7 @@ export declare const operations: {
|
|
|
1454
1924
|
county: import("io-ts").StringC;
|
|
1455
1925
|
months_at_address: import("io-ts").NumberC;
|
|
1456
1926
|
}>]>;
|
|
1927
|
+
trading_name: import("io-ts").StringC;
|
|
1457
1928
|
}>;
|
|
1458
1929
|
metadata: import("io-ts").TypeC<{
|
|
1459
1930
|
liveness: import("io-ts").BooleanC;
|
|
@@ -1481,8 +1952,8 @@ export declare const operations: {
|
|
|
1481
1952
|
readonly Accept: "application/json";
|
|
1482
1953
|
};
|
|
1483
1954
|
};
|
|
1484
|
-
readonly
|
|
1485
|
-
readonly path: "/api/company/{id}/
|
|
1955
|
+
readonly approveCompany: {
|
|
1956
|
+
readonly path: "/api/company/{id}/approve";
|
|
1486
1957
|
readonly method: "post";
|
|
1487
1958
|
readonly responses: {
|
|
1488
1959
|
readonly "200": {
|
|
@@ -1544,6 +2015,12 @@ export declare const operations: {
|
|
|
1544
2015
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1545
2016
|
}>;
|
|
1546
2017
|
}>]>;
|
|
2018
|
+
contract_agreement: import("io-ts").PartialC<{
|
|
2019
|
+
agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
2020
|
+
agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
2021
|
+
print_name: import("io-ts").StringC;
|
|
2022
|
+
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
2023
|
+
}>;
|
|
1547
2024
|
}>]>;
|
|
1548
2025
|
limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1549
2026
|
company_name: import("io-ts").StringC;
|
|
@@ -1599,7 +2076,7 @@ export declare const operations: {
|
|
|
1599
2076
|
}>>;
|
|
1600
2077
|
quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
1601
2078
|
skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
|
|
1602
|
-
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">]>;
|
|
2079
|
+
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"insurance_uploaded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">, import("io-ts").LiteralC<"declined">]>;
|
|
1603
2080
|
billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
|
|
1604
2081
|
referral_code: import("io-ts").StringC;
|
|
1605
2082
|
company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -1638,6 +2115,7 @@ export declare const operations: {
|
|
|
1638
2115
|
county: import("io-ts").StringC;
|
|
1639
2116
|
months_at_address: import("io-ts").NumberC;
|
|
1640
2117
|
}>]>;
|
|
2118
|
+
trading_name: import("io-ts").StringC;
|
|
1641
2119
|
}>;
|
|
1642
2120
|
metadata: import("io-ts").TypeC<{
|
|
1643
2121
|
liveness: import("io-ts").BooleanC;
|
|
@@ -1665,8 +2143,8 @@ export declare const operations: {
|
|
|
1665
2143
|
readonly Accept: "application/json";
|
|
1666
2144
|
};
|
|
1667
2145
|
};
|
|
1668
|
-
readonly
|
|
1669
|
-
readonly path: "/api/company/{id}/
|
|
2146
|
+
readonly declineCompany: {
|
|
2147
|
+
readonly path: "/api/company/{id}/decline";
|
|
1670
2148
|
readonly method: "post";
|
|
1671
2149
|
readonly responses: {
|
|
1672
2150
|
readonly "200": {
|
|
@@ -1728,6 +2206,12 @@ export declare const operations: {
|
|
|
1728
2206
|
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
1729
2207
|
}>;
|
|
1730
2208
|
}>]>;
|
|
2209
|
+
contract_agreement: import("io-ts").PartialC<{
|
|
2210
|
+
agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
2211
|
+
agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
|
|
2212
|
+
print_name: import("io-ts").StringC;
|
|
2213
|
+
signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
2214
|
+
}>;
|
|
1731
2215
|
}>]>;
|
|
1732
2216
|
limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
1733
2217
|
company_name: import("io-ts").StringC;
|
|
@@ -1783,7 +2267,7 @@ export declare const operations: {
|
|
|
1783
2267
|
}>>;
|
|
1784
2268
|
quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
|
|
1785
2269
|
skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
|
|
1786
|
-
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">]>;
|
|
2270
|
+
lifecycle: import("io-ts").UnionC<[import("io-ts").LiteralC<"registered">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"director_info_provided">, import("io-ts").LiteralC<"onboarded">, import("io-ts").LiteralC<"insurance_uploaded">, import("io-ts").LiteralC<"completed_setup">, import("io-ts").LiteralC<"verified">, import("io-ts").LiteralC<"declined">]>;
|
|
1787
2271
|
billing: import("io-ts").UnionC<[import("io-ts").LiteralC<"legacy">, import("io-ts").LiteralC<"trial">, import("io-ts").LiteralC<"pending">, import("io-ts").LiteralC<"referred">, import("io-ts").LiteralC<"subscribed">, import("io-ts").LiteralC<"recurring_payment_failed_1">, import("io-ts").LiteralC<"recurring_payment_failed_2">, import("io-ts").LiteralC<"recurring_payment_failed_3">, import("io-ts").LiteralC<"suspended">, import("io-ts").LiteralC<"cancelled">]>;
|
|
1788
2272
|
referral_code: import("io-ts").StringC;
|
|
1789
2273
|
company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
@@ -1822,6 +2306,7 @@ export declare const operations: {
|
|
|
1822
2306
|
county: import("io-ts").StringC;
|
|
1823
2307
|
months_at_address: import("io-ts").NumberC;
|
|
1824
2308
|
}>]>;
|
|
2309
|
+
trading_name: import("io-ts").StringC;
|
|
1825
2310
|
}>;
|
|
1826
2311
|
metadata: import("io-ts").TypeC<{
|
|
1827
2312
|
liveness: import("io-ts").BooleanC;
|
|
@@ -1844,6 +2329,11 @@ export declare const operations: {
|
|
|
1844
2329
|
readonly explode: false;
|
|
1845
2330
|
readonly in: "path";
|
|
1846
2331
|
readonly name: "id";
|
|
2332
|
+
}, {
|
|
2333
|
+
readonly _tag: "FormParameter";
|
|
2334
|
+
readonly explode: true;
|
|
2335
|
+
readonly in: "query";
|
|
2336
|
+
readonly name: "reason";
|
|
1847
2337
|
}];
|
|
1848
2338
|
readonly requestDefaultHeaders: {
|
|
1849
2339
|
readonly Accept: "application/json";
|
|
@@ -4576,6 +5066,7 @@ export declare const operations: {
|
|
|
4576
5066
|
county: import("io-ts").StringC;
|
|
4577
5067
|
months_at_address: import("io-ts").NumberC;
|
|
4578
5068
|
}>]>;
|
|
5069
|
+
trading_name: import("io-ts").StringC;
|
|
4579
5070
|
}>;
|
|
4580
5071
|
}>]>;
|
|
4581
5072
|
};
|
|
@@ -6710,28 +7201,6 @@ export declare const operations: {
|
|
|
6710
7201
|
}>, import("io-ts").PartialC<{
|
|
6711
7202
|
currency: import("io-ts").LiteralC<"GBP">;
|
|
6712
7203
|
}>]>;
|
|
6713
|
-
events: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
6714
|
-
id: import("io-ts").StringC;
|
|
6715
|
-
cid: import("io-ts").StringC;
|
|
6716
|
-
oid: import("io-ts").StringC;
|
|
6717
|
-
resource: import("io-ts").StringC;
|
|
6718
|
-
action: import("io-ts").StringC;
|
|
6719
|
-
source: import("io-ts").UnionC<[import("io-ts").LiteralC<"api">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"webhook">]>;
|
|
6720
|
-
result: import("io-ts").StringC;
|
|
6721
|
-
}>, import("io-ts").PartialC<{
|
|
6722
|
-
aid: import("io-ts").StringC;
|
|
6723
|
-
resource_id: import("io-ts").StringC;
|
|
6724
|
-
error: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
6725
|
-
message: import("io-ts").StringC;
|
|
6726
|
-
}>, import("io-ts").PartialC<{
|
|
6727
|
-
code: import("io-ts").NumberC;
|
|
6728
|
-
}>]>;
|
|
6729
|
-
metadata: import("io-ts").TypeC<{
|
|
6730
|
-
liveness: import("io-ts").BooleanC;
|
|
6731
|
-
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
6732
|
-
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
6733
|
-
}>;
|
|
6734
|
-
}>]>>;
|
|
6735
7204
|
xid: import("io-ts").StringC;
|
|
6736
7205
|
xref: import("io-ts").StringC;
|
|
6737
7206
|
metadata: import("io-ts").TypeC<{
|
|
@@ -6778,28 +7247,6 @@ export declare const operations: {
|
|
|
6778
7247
|
}>, import("io-ts").PartialC<{
|
|
6779
7248
|
currency: import("io-ts").LiteralC<"GBP">;
|
|
6780
7249
|
}>]>;
|
|
6781
|
-
events: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
6782
|
-
id: import("io-ts").StringC;
|
|
6783
|
-
cid: import("io-ts").StringC;
|
|
6784
|
-
oid: import("io-ts").StringC;
|
|
6785
|
-
resource: import("io-ts").StringC;
|
|
6786
|
-
action: import("io-ts").StringC;
|
|
6787
|
-
source: import("io-ts").UnionC<[import("io-ts").LiteralC<"api">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"webhook">]>;
|
|
6788
|
-
result: import("io-ts").StringC;
|
|
6789
|
-
}>, import("io-ts").PartialC<{
|
|
6790
|
-
aid: import("io-ts").StringC;
|
|
6791
|
-
resource_id: import("io-ts").StringC;
|
|
6792
|
-
error: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
6793
|
-
message: import("io-ts").StringC;
|
|
6794
|
-
}>, import("io-ts").PartialC<{
|
|
6795
|
-
code: import("io-ts").NumberC;
|
|
6796
|
-
}>]>;
|
|
6797
|
-
metadata: import("io-ts").TypeC<{
|
|
6798
|
-
liveness: import("io-ts").BooleanC;
|
|
6799
|
-
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
6800
|
-
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
6801
|
-
}>;
|
|
6802
|
-
}>]>>;
|
|
6803
7250
|
xid: import("io-ts").StringC;
|
|
6804
7251
|
xref: import("io-ts").StringC;
|
|
6805
7252
|
metadata: import("io-ts").TypeC<{
|
|
@@ -6850,28 +7297,6 @@ export declare const operations: {
|
|
|
6850
7297
|
}>, import("io-ts").PartialC<{
|
|
6851
7298
|
currency: import("io-ts").LiteralC<"GBP">;
|
|
6852
7299
|
}>]>;
|
|
6853
|
-
events: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
6854
|
-
id: import("io-ts").StringC;
|
|
6855
|
-
cid: import("io-ts").StringC;
|
|
6856
|
-
oid: import("io-ts").StringC;
|
|
6857
|
-
resource: import("io-ts").StringC;
|
|
6858
|
-
action: import("io-ts").StringC;
|
|
6859
|
-
source: import("io-ts").UnionC<[import("io-ts").LiteralC<"api">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"webhook">]>;
|
|
6860
|
-
result: import("io-ts").StringC;
|
|
6861
|
-
}>, import("io-ts").PartialC<{
|
|
6862
|
-
aid: import("io-ts").StringC;
|
|
6863
|
-
resource_id: import("io-ts").StringC;
|
|
6864
|
-
error: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
6865
|
-
message: import("io-ts").StringC;
|
|
6866
|
-
}>, import("io-ts").PartialC<{
|
|
6867
|
-
code: import("io-ts").NumberC;
|
|
6868
|
-
}>]>;
|
|
6869
|
-
metadata: import("io-ts").TypeC<{
|
|
6870
|
-
liveness: import("io-ts").BooleanC;
|
|
6871
|
-
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
6872
|
-
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
6873
|
-
}>;
|
|
6874
|
-
}>]>>;
|
|
6875
7300
|
xid: import("io-ts").StringC;
|
|
6876
7301
|
xref: import("io-ts").StringC;
|
|
6877
7302
|
metadata: import("io-ts").TypeC<{
|
|
@@ -6923,28 +7348,6 @@ export declare const operations: {
|
|
|
6923
7348
|
}>, import("io-ts").PartialC<{
|
|
6924
7349
|
currency: import("io-ts").LiteralC<"GBP">;
|
|
6925
7350
|
}>]>;
|
|
6926
|
-
events: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
6927
|
-
id: import("io-ts").StringC;
|
|
6928
|
-
cid: import("io-ts").StringC;
|
|
6929
|
-
oid: import("io-ts").StringC;
|
|
6930
|
-
resource: import("io-ts").StringC;
|
|
6931
|
-
action: import("io-ts").StringC;
|
|
6932
|
-
source: import("io-ts").UnionC<[import("io-ts").LiteralC<"api">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"webhook">]>;
|
|
6933
|
-
result: import("io-ts").StringC;
|
|
6934
|
-
}>, import("io-ts").PartialC<{
|
|
6935
|
-
aid: import("io-ts").StringC;
|
|
6936
|
-
resource_id: import("io-ts").StringC;
|
|
6937
|
-
error: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
6938
|
-
message: import("io-ts").StringC;
|
|
6939
|
-
}>, import("io-ts").PartialC<{
|
|
6940
|
-
code: import("io-ts").NumberC;
|
|
6941
|
-
}>]>;
|
|
6942
|
-
metadata: import("io-ts").TypeC<{
|
|
6943
|
-
liveness: import("io-ts").BooleanC;
|
|
6944
|
-
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
6945
|
-
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
6946
|
-
}>;
|
|
6947
|
-
}>]>>;
|
|
6948
7351
|
xid: import("io-ts").StringC;
|
|
6949
7352
|
xref: import("io-ts").StringC;
|
|
6950
7353
|
metadata: import("io-ts").TypeC<{
|
|
@@ -7000,28 +7403,6 @@ export declare const operations: {
|
|
|
7000
7403
|
}>, import("io-ts").PartialC<{
|
|
7001
7404
|
currency: import("io-ts").LiteralC<"GBP">;
|
|
7002
7405
|
}>]>;
|
|
7003
|
-
events: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
7004
|
-
id: import("io-ts").StringC;
|
|
7005
|
-
cid: import("io-ts").StringC;
|
|
7006
|
-
oid: import("io-ts").StringC;
|
|
7007
|
-
resource: import("io-ts").StringC;
|
|
7008
|
-
action: import("io-ts").StringC;
|
|
7009
|
-
source: import("io-ts").UnionC<[import("io-ts").LiteralC<"api">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"webhook">]>;
|
|
7010
|
-
result: import("io-ts").StringC;
|
|
7011
|
-
}>, import("io-ts").PartialC<{
|
|
7012
|
-
aid: import("io-ts").StringC;
|
|
7013
|
-
resource_id: import("io-ts").StringC;
|
|
7014
|
-
error: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
7015
|
-
message: import("io-ts").StringC;
|
|
7016
|
-
}>, import("io-ts").PartialC<{
|
|
7017
|
-
code: import("io-ts").NumberC;
|
|
7018
|
-
}>]>;
|
|
7019
|
-
metadata: import("io-ts").TypeC<{
|
|
7020
|
-
liveness: import("io-ts").BooleanC;
|
|
7021
|
-
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
7022
|
-
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
7023
|
-
}>;
|
|
7024
|
-
}>]>>;
|
|
7025
7406
|
xid: import("io-ts").StringC;
|
|
7026
7407
|
xref: import("io-ts").StringC;
|
|
7027
7408
|
metadata: import("io-ts").TypeC<{
|
|
@@ -7073,28 +7454,6 @@ export declare const operations: {
|
|
|
7073
7454
|
}>, import("io-ts").PartialC<{
|
|
7074
7455
|
currency: import("io-ts").LiteralC<"GBP">;
|
|
7075
7456
|
}>]>;
|
|
7076
|
-
events: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
7077
|
-
id: import("io-ts").StringC;
|
|
7078
|
-
cid: import("io-ts").StringC;
|
|
7079
|
-
oid: import("io-ts").StringC;
|
|
7080
|
-
resource: import("io-ts").StringC;
|
|
7081
|
-
action: import("io-ts").StringC;
|
|
7082
|
-
source: import("io-ts").UnionC<[import("io-ts").LiteralC<"api">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"webhook">]>;
|
|
7083
|
-
result: import("io-ts").StringC;
|
|
7084
|
-
}>, import("io-ts").PartialC<{
|
|
7085
|
-
aid: import("io-ts").StringC;
|
|
7086
|
-
resource_id: import("io-ts").StringC;
|
|
7087
|
-
error: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
|
|
7088
|
-
message: import("io-ts").StringC;
|
|
7089
|
-
}>, import("io-ts").PartialC<{
|
|
7090
|
-
code: import("io-ts").NumberC;
|
|
7091
|
-
}>]>;
|
|
7092
|
-
metadata: import("io-ts").TypeC<{
|
|
7093
|
-
liveness: import("io-ts").BooleanC;
|
|
7094
|
-
created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
7095
|
-
updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
|
|
7096
|
-
}>;
|
|
7097
|
-
}>]>>;
|
|
7098
7457
|
xid: import("io-ts").StringC;
|
|
7099
7458
|
xref: import("io-ts").StringC;
|
|
7100
7459
|
metadata: import("io-ts").TypeC<{
|
|
@@ -7196,8 +7555,11 @@ export interface OperationRequestFunctionMap {
|
|
|
7196
7555
|
getCompany: GetCompanyRequestFunction;
|
|
7197
7556
|
putCompany: PutCompanyRequestFunction;
|
|
7198
7557
|
deleteCompany: DeleteCompanyRequestFunction;
|
|
7558
|
+
getCompanyIdentity: GetCompanyIdentityRequestFunction;
|
|
7559
|
+
postCompanyIdentity: PostCompanyIdentityRequestFunction;
|
|
7199
7560
|
directorCompany: DirectorCompanyRequestFunction;
|
|
7200
7561
|
approveCompany: ApproveCompanyRequestFunction;
|
|
7562
|
+
declineCompany: DeclineCompanyRequestFunction;
|
|
7201
7563
|
getJobs: GetJobsRequestFunction;
|
|
7202
7564
|
postJob: PostJobRequestFunction;
|
|
7203
7565
|
getJob: GetJobRequestFunction;
|
|
@@ -7280,8 +7642,11 @@ export declare const companyServiceBuilder: (requestFunctions: OperationRequestF
|
|
|
7280
7642
|
getCompany: GetCompanyRequestFunction;
|
|
7281
7643
|
putCompany: PutCompanyRequestFunction;
|
|
7282
7644
|
deleteCompany: DeleteCompanyRequestFunction;
|
|
7645
|
+
getCompanyIdentity: GetCompanyIdentityRequestFunction;
|
|
7646
|
+
postCompanyIdentity: PostCompanyIdentityRequestFunction;
|
|
7283
7647
|
directorCompany: DirectorCompanyRequestFunction;
|
|
7284
7648
|
approveCompany: ApproveCompanyRequestFunction;
|
|
7649
|
+
declineCompany: DeclineCompanyRequestFunction;
|
|
7285
7650
|
};
|
|
7286
7651
|
export declare const jobServiceBuilder: (requestFunctions: OperationRequestFunctionMap) => {
|
|
7287
7652
|
getJobs: GetJobsRequestFunction;
|