@kanda-libs/ks-schema 1.0.116 → 1.0.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/components/schemas/Company.d.ts +9 -2
  2. package/dist/components/schemas/Company.d.ts.map +1 -1
  3. package/dist/components/schemas/Company.js +2 -0
  4. package/dist/components/schemas/CompanyInfo.d.ts +8 -0
  5. package/dist/components/schemas/CompanyInfo.d.ts.map +1 -1
  6. package/dist/components/schemas/CompanyInfo.js +2 -0
  7. package/dist/components/schemas/ContactInfo.d.ts +2 -0
  8. package/dist/components/schemas/ContactInfo.d.ts.map +1 -1
  9. package/dist/components/schemas/ContactInfo.js +1 -0
  10. package/dist/components/schemas/ContractAgreement.d.ts +14 -0
  11. package/dist/components/schemas/ContractAgreement.d.ts.map +1 -0
  12. package/dist/components/schemas/ContractAgreement.js +34 -0
  13. package/dist/components/schemas/Entity.d.ts +558 -0
  14. package/dist/components/schemas/Entity.d.ts.map +1 -0
  15. package/dist/components/schemas/Entity.js +41 -0
  16. package/dist/components/schemas/Event.d.ts +550 -8
  17. package/dist/components/schemas/Event.d.ts.map +1 -1
  18. package/dist/components/schemas/Event.js +5 -4
  19. package/dist/components/schemas/Identity.d.ts +30 -0
  20. package/dist/components/schemas/Identity.d.ts.map +1 -0
  21. package/dist/components/schemas/Identity.js +37 -0
  22. package/dist/components/schemas/InfoCompany.d.ts +23 -5
  23. package/dist/components/schemas/InfoCompany.d.ts.map +1 -1
  24. package/dist/components/schemas/InfoCompany.js +8 -10
  25. package/dist/components/schemas/JobCompanyInfo.d.ts +1 -0
  26. package/dist/components/schemas/JobCompanyInfo.d.ts.map +1 -1
  27. package/dist/components/schemas/Subscription.d.ts +0 -24
  28. package/dist/components/schemas/Subscription.d.ts.map +1 -1
  29. package/dist/components/schemas/Subscription.js +0 -2
  30. package/dist/components/schemas/index.d.ts +3 -0
  31. package/dist/components/schemas/index.d.ts.map +1 -1
  32. package/dist/components/schemas/index.js +3 -0
  33. package/dist/operations/approveCompany.d.ts +8 -1
  34. package/dist/operations/approveCompany.d.ts.map +1 -1
  35. package/dist/operations/declineCompany.d.ts +206 -0
  36. package/dist/operations/declineCompany.d.ts.map +1 -0
  37. package/dist/operations/declineCompany.js +50 -0
  38. package/dist/operations/deleteCompany.d.ts +8 -1
  39. package/dist/operations/deleteCompany.d.ts.map +1 -1
  40. package/dist/operations/deleteSubscription.d.ts +0 -22
  41. package/dist/operations/deleteSubscription.d.ts.map +1 -1
  42. package/dist/operations/directorCompany.d.ts +8 -1
  43. package/dist/operations/directorCompany.d.ts.map +1 -1
  44. package/dist/operations/getCompanies.d.ts +8 -1
  45. package/dist/operations/getCompanies.d.ts.map +1 -1
  46. package/dist/operations/getCompany.d.ts +8 -1
  47. package/dist/operations/getCompany.d.ts.map +1 -1
  48. package/dist/operations/getCompanyIdentity.d.ts +121 -0
  49. package/dist/operations/getCompanyIdentity.d.ts.map +1 -0
  50. package/dist/operations/getCompanyIdentity.js +50 -0
  51. package/dist/operations/getSubscription.d.ts +0 -22
  52. package/dist/operations/getSubscription.d.ts.map +1 -1
  53. package/dist/operations/getSubscriptions.d.ts +0 -22
  54. package/dist/operations/getSubscriptions.d.ts.map +1 -1
  55. package/dist/operations/index.d.ts +595 -230
  56. package/dist/operations/index.d.ts.map +1 -1
  57. package/dist/operations/index.js +12 -0
  58. package/dist/operations/infoCompany.d.ts +20 -4
  59. package/dist/operations/infoCompany.d.ts.map +1 -1
  60. package/dist/operations/jobCompanyInfo.d.ts +1 -0
  61. package/dist/operations/jobCompanyInfo.d.ts.map +1 -1
  62. package/dist/operations/pendingSubscription.d.ts +0 -22
  63. package/dist/operations/pendingSubscription.d.ts.map +1 -1
  64. package/dist/operations/postCompany.d.ts +8 -1
  65. package/dist/operations/postCompany.d.ts.map +1 -1
  66. package/dist/operations/postCompanyIdentity.d.ts +126 -0
  67. package/dist/operations/postCompanyIdentity.d.ts.map +1 -0
  68. package/dist/operations/postCompanyIdentity.js +56 -0
  69. package/dist/operations/postSubscription.d.ts +0 -22
  70. package/dist/operations/postSubscription.d.ts.map +1 -1
  71. package/dist/operations/putCompany.d.ts +8 -1
  72. package/dist/operations/putCompany.d.ts.map +1 -1
  73. package/dist/operations/putSubscription.d.ts +0 -22
  74. package/dist/operations/putSubscription.d.ts.map +1 -1
  75. package/dist/schema.json +1 -1
  76. package/dist/widget/index.d.ts +8424 -2438
  77. package/dist/widget/index.d.ts.map +1 -1
  78. package/dist/widget/index.js +12315 -5189
  79. package/package.json +1 -1
  80. package/schema.yaml +236 -22
@@ -1 +1 @@
1
- {"version":3,"file":"deleteSubscription.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/deleteSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB9B,CAAC;AAEX,oBAAY,iCAAiC,GAAG,eAAe,CAC7D;IAAE,MAAM,EAAE,mCAAmC,CAAA;CAAE,EAC/C,OAAO,CAAC,YAAY,CACrB,CAAC"}
1
+ {"version":3,"file":"deleteSubscription.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/deleteSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB9B,CAAC;AAEX,oBAAY,iCAAiC,GAAG,eAAe,CAC7D;IAAE,MAAM,EAAE,mCAAmC,CAAA;CAAE,EAC/C,OAAO,CAAC,YAAY,CACrB,CAAC"}
@@ -66,6 +66,12 @@ export declare const directorCompanyOperation: {
66
66
  updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
67
67
  }>;
68
68
  }>]>;
69
+ contract_agreement: import("io-ts").PartialC<{
70
+ agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
71
+ agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
72
+ print_name: import("io-ts").StringC;
73
+ signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
74
+ }>;
69
75
  }>]>;
70
76
  limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
71
77
  company_name: import("io-ts").StringC;
@@ -121,7 +127,7 @@ export declare const directorCompanyOperation: {
121
127
  }>>;
122
128
  quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
123
129
  skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
124
- 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">]>;
130
+ 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">]>;
125
131
  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">]>;
126
132
  referral_code: import("io-ts").StringC;
127
133
  company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
@@ -160,6 +166,7 @@ export declare const directorCompanyOperation: {
160
166
  county: import("io-ts").StringC;
161
167
  months_at_address: import("io-ts").NumberC;
162
168
  }>]>;
169
+ trading_name: import("io-ts").StringC;
163
170
  }>;
164
171
  metadata: import("io-ts").TypeC<{
165
172
  liveness: import("io-ts").BooleanC;
@@ -1 +1 @@
1
- {"version":3,"file":"directorCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/directorCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,gCAAgC,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB3B,CAAC;AAEX,oBAAY,8BAA8B,GAAG,eAAe,CAC1D;IAAE,MAAM,EAAE,gCAAgC,CAAA;CAAE,EAC5C,OAAO,CAAC,OAAO,CAChB,CAAC"}
1
+ {"version":3,"file":"directorCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/directorCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,gCAAgC,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB3B,CAAC;AAEX,oBAAY,8BAA8B,GAAG,eAAe,CAC1D;IAAE,MAAM,EAAE,gCAAgC,CAAA;CAAE,EAC5C,OAAO,CAAC,OAAO,CAChB,CAAC"}
@@ -64,6 +64,12 @@ export declare const getCompaniesOperation: {
64
64
  updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
65
65
  }>;
66
66
  }>]>;
67
+ contract_agreement: t.PartialC<{
68
+ agreed_terms_and_conditions: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
69
+ agreed_to_become_iar_of_kanda: t.UnionC<[t.LiteralC<"yes">, t.LiteralC<"no">]>;
70
+ print_name: t.StringC;
71
+ signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
72
+ }>;
67
73
  }>]>;
68
74
  limited_company_info: t.IntersectionC<[t.TypeC<{
69
75
  company_name: t.StringC;
@@ -119,7 +125,7 @@ export declare const getCompaniesOperation: {
119
125
  }>>;
120
126
  quote_preference: t.UnionC<[t.LiteralC<"no_preference">, t.LiteralC<"kanda">, t.LiteralC<"custom">]>;
121
127
  skip_deposit: t.UnionC<[t.LiteralC<"Yes">, t.LiteralC<"No">]>;
122
- lifecycle: t.UnionC<[t.LiteralC<"registered">, t.LiteralC<"subscribed">, t.LiteralC<"director_info_provided">, t.LiteralC<"onboarded">, t.LiteralC<"completed_setup">, t.LiteralC<"verified">]>;
128
+ lifecycle: t.UnionC<[t.LiteralC<"registered">, t.LiteralC<"subscribed">, t.LiteralC<"director_info_provided">, t.LiteralC<"onboarded">, t.LiteralC<"insurance_uploaded">, t.LiteralC<"completed_setup">, t.LiteralC<"verified">, t.LiteralC<"declined">]>;
123
129
  billing: t.UnionC<[t.LiteralC<"legacy">, t.LiteralC<"trial">, t.LiteralC<"pending">, t.LiteralC<"referred">, t.LiteralC<"subscribed">, t.LiteralC<"recurring_payment_failed_1">, t.LiteralC<"recurring_payment_failed_2">, t.LiteralC<"recurring_payment_failed_3">, t.LiteralC<"suspended">, t.LiteralC<"cancelled">]>;
124
130
  referral_code: t.StringC;
125
131
  company_logo: t.IntersectionC<[t.TypeC<{
@@ -158,6 +164,7 @@ export declare const getCompaniesOperation: {
158
164
  county: t.StringC;
159
165
  months_at_address: t.NumberC;
160
166
  }>]>;
167
+ trading_name: t.StringC;
161
168
  }>;
162
169
  metadata: t.TypeC<{
163
170
  liveness: t.BooleanC;
@@ -1 +1 @@
1
- {"version":3,"file":"getCompanies.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCompanies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASxB,CAAC;AAEX,oBAAY,2BAA2B,GAAG,eAAe,CACvD,SAAS,EACT,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CACvB,CAAC"}
1
+ {"version":3,"file":"getCompanies.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCompanies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASxB,CAAC;AAEX,oBAAY,2BAA2B,GAAG,eAAe,CACvD,SAAS,EACT,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CACvB,CAAC"}
@@ -66,6 +66,12 @@ export declare const getCompanyOperation: {
66
66
  updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
67
67
  }>;
68
68
  }>]>;
69
+ contract_agreement: import("io-ts").PartialC<{
70
+ agreed_terms_and_conditions: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
71
+ agreed_to_become_iar_of_kanda: import("io-ts").UnionC<[import("io-ts").LiteralC<"yes">, import("io-ts").LiteralC<"no">]>;
72
+ print_name: import("io-ts").StringC;
73
+ signed_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
74
+ }>;
69
75
  }>]>;
70
76
  limited_company_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
71
77
  company_name: import("io-ts").StringC;
@@ -121,7 +127,7 @@ export declare const getCompanyOperation: {
121
127
  }>>;
122
128
  quote_preference: import("io-ts").UnionC<[import("io-ts").LiteralC<"no_preference">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"custom">]>;
123
129
  skip_deposit: import("io-ts").UnionC<[import("io-ts").LiteralC<"Yes">, import("io-ts").LiteralC<"No">]>;
124
- 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">]>;
130
+ 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">]>;
125
131
  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">]>;
126
132
  referral_code: import("io-ts").StringC;
127
133
  company_logo: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
@@ -160,6 +166,7 @@ export declare const getCompanyOperation: {
160
166
  county: import("io-ts").StringC;
161
167
  months_at_address: import("io-ts").NumberC;
162
168
  }>]>;
169
+ trading_name: import("io-ts").StringC;
163
170
  }>;
164
171
  metadata: import("io-ts").TypeC<{
165
172
  liveness: import("io-ts").BooleanC;
@@ -1 +1 @@
1
- {"version":3,"file":"getCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBtB,CAAC;AAEX,oBAAY,yBAAyB,GAAG,eAAe,CACrD;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,EACvC,OAAO,CAAC,OAAO,CAChB,CAAC"}
1
+ {"version":3,"file":"getCompany.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCompany.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBtB,CAAC;AAEX,oBAAY,yBAAyB,GAAG,eAAe,CACrD;IAAE,MAAM,EAAE,2BAA2B,CAAA;CAAE,EACvC,OAAO,CAAC,OAAO,CAChB,CAAC"}
@@ -0,0 +1,121 @@
1
+ import type { RequestFunction } from "@openapi-io-ts/runtime";
2
+ import * as schemas from "../components/schemas";
3
+ export declare type GetCompanyIdentityRequestParameters = {
4
+ id: string;
5
+ email?: string;
6
+ };
7
+ export declare const getCompanyIdentityOperation: {
8
+ readonly path: "/api/company/{id}/identity";
9
+ readonly method: "get";
10
+ readonly responses: {
11
+ readonly "200": {
12
+ readonly _tag: "JsonResponse";
13
+ readonly decoder: import("io-ts").PartialC<{
14
+ id: import("io-ts").StringC;
15
+ sole_trader: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
16
+ trading_name: import("io-ts").StringC;
17
+ trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
18
+ line_1: import("io-ts").StringC;
19
+ city: import("io-ts").StringC;
20
+ country: import("io-ts").StringC;
21
+ postcode: import("io-ts").StringC;
22
+ }>, import("io-ts").PartialC<{
23
+ building_number: import("io-ts").StringC;
24
+ building_name: import("io-ts").StringC;
25
+ line_2: import("io-ts").StringC;
26
+ county: import("io-ts").StringC;
27
+ months_at_address: import("io-ts").NumberC;
28
+ }>]>;
29
+ }>, import("io-ts").PartialC<{
30
+ national_insurance_number: import("io-ts").StringC;
31
+ }>]>;
32
+ limited_company: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
33
+ company_name: import("io-ts").StringC;
34
+ company_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
35
+ line_1: import("io-ts").StringC;
36
+ city: import("io-ts").StringC;
37
+ country: import("io-ts").StringC;
38
+ postcode: import("io-ts").StringC;
39
+ }>, import("io-ts").PartialC<{
40
+ building_number: import("io-ts").StringC;
41
+ building_name: import("io-ts").StringC;
42
+ line_2: import("io-ts").StringC;
43
+ county: import("io-ts").StringC;
44
+ months_at_address: import("io-ts").NumberC;
45
+ }>]>;
46
+ company_number: import("io-ts").StringC;
47
+ }>, import("io-ts").PartialC<{
48
+ trading_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
49
+ line_1: import("io-ts").StringC;
50
+ city: import("io-ts").StringC;
51
+ country: import("io-ts").StringC;
52
+ postcode: import("io-ts").StringC;
53
+ }>, import("io-ts").PartialC<{
54
+ building_number: import("io-ts").StringC;
55
+ building_name: import("io-ts").StringC;
56
+ line_2: import("io-ts").StringC;
57
+ county: import("io-ts").StringC;
58
+ months_at_address: import("io-ts").NumberC;
59
+ }>]>;
60
+ vat_number: import("io-ts").StringC;
61
+ }>]>;
62
+ directors: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
63
+ role: import("io-ts").UnionC<[import("io-ts").LiteralC<"company-admin">, import("io-ts").LiteralC<"company-manager">, import("io-ts").LiteralC<"company-staff">]>;
64
+ first_name: import("io-ts").StringC;
65
+ email: import("io-ts").StringC;
66
+ }>, import("io-ts").PartialC<{
67
+ director_info: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
68
+ home_address: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
69
+ line_1: import("io-ts").StringC;
70
+ city: import("io-ts").StringC;
71
+ country: import("io-ts").StringC;
72
+ postcode: import("io-ts").StringC;
73
+ }>, import("io-ts").PartialC<{
74
+ building_number: import("io-ts").StringC;
75
+ building_name: import("io-ts").StringC;
76
+ line_2: import("io-ts").StringC;
77
+ county: import("io-ts").StringC;
78
+ months_at_address: import("io-ts").NumberC;
79
+ }>]>;
80
+ }>, import("io-ts").PartialC<{
81
+ verification_status: import("io-ts").UnionC<[import("io-ts").LiteralC<"not_verified">, import("io-ts").LiteralC<"verified">]>;
82
+ date_of_birth: import("io-ts").StringC;
83
+ }>]>;
84
+ last_name: import("io-ts").StringC;
85
+ mobile: import("io-ts").StringC;
86
+ }>]>>;
87
+ metadata: import("io-ts").TypeC<{
88
+ liveness: import("io-ts").BooleanC;
89
+ created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
90
+ updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
91
+ }>;
92
+ }>;
93
+ };
94
+ readonly default: {
95
+ readonly _tag: "JsonResponse";
96
+ readonly decoder: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
97
+ message: import("io-ts").StringC;
98
+ }>, import("io-ts").PartialC<{
99
+ code: import("io-ts").NumberC;
100
+ }>]>;
101
+ };
102
+ };
103
+ readonly parameters: readonly [{
104
+ readonly _tag: "FormParameter";
105
+ readonly explode: false;
106
+ readonly in: "path";
107
+ readonly name: "id";
108
+ }, {
109
+ readonly _tag: "FormParameter";
110
+ readonly explode: true;
111
+ readonly in: "query";
112
+ readonly name: "email";
113
+ }];
114
+ readonly requestDefaultHeaders: {
115
+ readonly Accept: "application/json";
116
+ };
117
+ };
118
+ export declare type GetCompanyIdentityRequestFunction = RequestFunction<{
119
+ params: GetCompanyIdentityRequestParameters;
120
+ }, schemas.InfoCompany>;
121
+ //# sourceMappingURL=getCompanyIdentity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCompanyIdentity.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getCompanyIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsB9B,CAAC;AAEX,oBAAY,iCAAiC,GAAG,eAAe,CAC7D;IAAE,MAAM,EAAE,mCAAmC,CAAA;CAAE,EAC/C,OAAO,CAAC,WAAW,CACpB,CAAC"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.getCompanyIdentityOperation = void 0;
27
+ const schemas = __importStar(require("../components/schemas"));
28
+ exports.getCompanyIdentityOperation = {
29
+ path: "/api/company/{id}/identity",
30
+ method: "get",
31
+ responses: {
32
+ "200": { _tag: "JsonResponse", decoder: schemas.InfoCompany },
33
+ default: { _tag: "JsonResponse", decoder: schemas.Error },
34
+ },
35
+ parameters: [
36
+ {
37
+ _tag: "FormParameter",
38
+ explode: false,
39
+ in: "path",
40
+ name: "id",
41
+ },
42
+ {
43
+ _tag: "FormParameter",
44
+ explode: true,
45
+ in: "query",
46
+ name: "email",
47
+ },
48
+ ],
49
+ requestDefaultHeaders: { Accept: "application/json" },
50
+ };
@@ -26,28 +26,6 @@ export declare const getSubscriptionOperation: {
26
26
  }>, import("io-ts").PartialC<{
27
27
  currency: import("io-ts").LiteralC<"GBP">;
28
28
  }>]>;
29
- events: import("io-ts").ArrayC<import("io-ts").IntersectionC<[import("io-ts").TypeC<{
30
- id: import("io-ts").StringC;
31
- cid: import("io-ts").StringC;
32
- oid: import("io-ts").StringC;
33
- resource: import("io-ts").StringC;
34
- action: import("io-ts").StringC;
35
- source: import("io-ts").UnionC<[import("io-ts").LiteralC<"api">, import("io-ts").LiteralC<"kanda">, import("io-ts").LiteralC<"webhook">]>;
36
- result: import("io-ts").StringC;
37
- }>, import("io-ts").PartialC<{
38
- aid: import("io-ts").StringC;
39
- resource_id: import("io-ts").StringC;
40
- error: import("io-ts").IntersectionC<[import("io-ts").TypeC<{
41
- message: import("io-ts").StringC;
42
- }>, import("io-ts").PartialC<{
43
- code: import("io-ts").NumberC;
44
- }>]>;
45
- metadata: import("io-ts").TypeC<{
46
- liveness: import("io-ts").BooleanC;
47
- created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
48
- updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
49
- }>;
50
- }>]>>;
51
29
  xid: import("io-ts").StringC;
52
30
  xref: import("io-ts").StringC;
53
31
  metadata: import("io-ts").TypeC<{
@@ -1 +1 @@
1
- {"version":3,"file":"getSubscription.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,gCAAgC,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB3B,CAAC;AAEX,oBAAY,8BAA8B,GAAG,eAAe,CAC1D;IAAE,MAAM,EAAE,gCAAgC,CAAA;CAAE,EAC5C,OAAO,CAAC,YAAY,CACrB,CAAC"}
1
+ {"version":3,"file":"getSubscription.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,oBAAY,gCAAgC,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB3B,CAAC;AAEX,oBAAY,8BAA8B,GAAG,eAAe,CAC1D;IAAE,MAAM,EAAE,gCAAgC,CAAA;CAAE,EAC5C,OAAO,CAAC,YAAY,CACrB,CAAC"}
@@ -24,28 +24,6 @@ export declare const getSubscriptionsOperation: {
24
24
  }>, t.PartialC<{
25
25
  currency: t.LiteralC<"GBP">;
26
26
  }>]>;
27
- events: t.ArrayC<t.IntersectionC<[t.TypeC<{
28
- id: t.StringC;
29
- cid: t.StringC;
30
- oid: t.StringC;
31
- resource: t.StringC;
32
- action: t.StringC;
33
- source: t.UnionC<[t.LiteralC<"api">, t.LiteralC<"kanda">, t.LiteralC<"webhook">]>;
34
- result: t.StringC;
35
- }>, t.PartialC<{
36
- aid: t.StringC;
37
- resource_id: t.StringC;
38
- error: t.IntersectionC<[t.TypeC<{
39
- message: t.StringC;
40
- }>, t.PartialC<{
41
- code: t.NumberC;
42
- }>]>;
43
- metadata: t.TypeC<{
44
- liveness: t.BooleanC;
45
- created_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
46
- updated_at: import("io-ts-types/lib/DateFromISOString").DateFromISOStringC;
47
- }>;
48
- }>]>>;
49
27
  xid: t.StringC;
50
28
  xref: t.StringC;
51
29
  metadata: t.TypeC<{
@@ -1 +1 @@
1
- {"version":3,"file":"getSubscriptions.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getSubscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS5B,CAAC;AAEX,oBAAY,+BAA+B,GAAG,eAAe,CAC3D,SAAS,EACT,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAC5B,CAAC"}
1
+ {"version":3,"file":"getSubscriptions.d.ts","sourceRoot":"","sources":["../../frontend/generated/operations/getSubscriptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAC3B,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AAEjD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS5B,CAAC;AAEX,oBAAY,+BAA+B,GAAG,eAAe,CAC3D,SAAS,EACT,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,CAC5B,CAAC"}