@kanda-libs/ks-component-ts 0.3.69 → 0.3.71
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/index.d.ts +15218 -12946
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/components/schemas/Enquiry.ts +30 -0
- package/src/generated/components/schemas/EnquiryBody.ts +18 -0
- package/src/generated/components/schemas/EnquiryInfo.ts +29 -0
- package/src/generated/components/schemas/EnquiryState.ts +28 -0
- package/src/generated/components/schemas/EnquiryStateRequest.ts +10 -0
- package/src/generated/components/schemas/InfoEnquiry.ts +26 -0
- package/src/generated/components/schemas/InfoTag.ts +15 -0
- package/src/generated/components/schemas/InterestInCredit.ts +5 -0
- package/src/generated/components/schemas/InterestInCreditRequest.ts +10 -0
- package/src/generated/components/schemas/JobInfo.ts +20 -0
- package/src/generated/components/schemas/MaxBudget.ts +16 -0
- package/src/generated/components/schemas/PreferenceMap.ts +5 -0
- package/src/generated/components/schemas/SearchHits.ts +14 -0
- package/src/generated/components/schemas/SearchIndex.ts +4 -0
- package/src/generated/components/schemas/Tag.ts +7 -0
- package/src/generated/components/schemas/TagBody.ts +17 -0
- package/src/generated/components/schemas/WorkType.ts +2 -0
- package/src/generated/components/schemas/index.ts +14 -0
- package/src/generated/operations/deleteEnquiry.ts +29 -0
- package/src/generated/operations/deleteTag.ts +29 -0
- package/src/generated/operations/getEnquiries.ts +25 -0
- package/src/generated/operations/getEnquiry.ts +29 -0
- package/src/generated/operations/getInfoEnquiry.ts +29 -0
- package/src/generated/operations/getTag.ts +29 -0
- package/src/generated/operations/getTags.ts +25 -0
- package/src/generated/operations/index.ts +243 -0
- package/src/generated/operations/postEnquiry.ts +24 -0
- package/src/generated/operations/postEnquiryArchive.ts +29 -0
- package/src/generated/operations/postEnquiryBudget.ts +35 -0
- package/src/generated/operations/postEnquiryConsumer.ts +35 -0
- package/src/generated/operations/postEnquiryConsumerPreferences.ts +38 -0
- package/src/generated/operations/postEnquiryConsumerSignature.ts +38 -0
- package/src/generated/operations/postEnquiryConvertJob.ts +29 -0
- package/src/generated/operations/postEnquiryInterestInCredit.ts +38 -0
- package/src/generated/operations/postEnquiryJobInfo.ts +35 -0
- package/src/generated/operations/postEnquiryState.ts +38 -0
- package/src/generated/operations/postEnquirySubmit.ts +29 -0
- package/src/generated/operations/postEnquiryUnarchive.ts +29 -0
- package/src/generated/operations/postTag.ts +24 -0
- package/src/generated/operations/putEnquiry.ts +35 -0
- package/src/generated/operations/putInfoTag.ts +24 -0
- package/src/generated/operations/putTag.ts +35 -0
- package/src/generated/widget/index.tsx +71508 -62799
|
@@ -70,6 +70,10 @@ import {
|
|
|
70
70
|
deleteDocumentOperation,
|
|
71
71
|
DeleteDocumentRequestFunction,
|
|
72
72
|
} from "./deleteDocument";
|
|
73
|
+
import {
|
|
74
|
+
deleteEnquiryOperation,
|
|
75
|
+
DeleteEnquiryRequestFunction,
|
|
76
|
+
} from "./deleteEnquiry";
|
|
73
77
|
import {
|
|
74
78
|
deleteEnterpriseOperation,
|
|
75
79
|
DeleteEnterpriseRequestFunction,
|
|
@@ -101,6 +105,7 @@ import {
|
|
|
101
105
|
deleteSubscriptionOperation,
|
|
102
106
|
DeleteSubscriptionRequestFunction,
|
|
103
107
|
} from "./deleteSubscription";
|
|
108
|
+
import { deleteTagOperation, DeleteTagRequestFunction } from "./deleteTag";
|
|
104
109
|
import {
|
|
105
110
|
deleteTrainingOperation,
|
|
106
111
|
DeleteTrainingRequestFunction,
|
|
@@ -150,6 +155,11 @@ import {
|
|
|
150
155
|
getDocumentsOperation,
|
|
151
156
|
GetDocumentsRequestFunction,
|
|
152
157
|
} from "./getDocuments";
|
|
158
|
+
import {
|
|
159
|
+
getEnquiriesOperation,
|
|
160
|
+
GetEnquiriesRequestFunction,
|
|
161
|
+
} from "./getEnquiries";
|
|
162
|
+
import { getEnquiryOperation, GetEnquiryRequestFunction } from "./getEnquiry";
|
|
153
163
|
import {
|
|
154
164
|
getEnrolmentOperation,
|
|
155
165
|
GetEnrolmentRequestFunction,
|
|
@@ -170,6 +180,10 @@ import {
|
|
|
170
180
|
getEnterprisesOperation,
|
|
171
181
|
GetEnterprisesRequestFunction,
|
|
172
182
|
} from "./getEnterprises";
|
|
183
|
+
import {
|
|
184
|
+
getInfoEnquiryOperation,
|
|
185
|
+
GetInfoEnquiryRequestFunction,
|
|
186
|
+
} from "./getInfoEnquiry";
|
|
173
187
|
import {
|
|
174
188
|
getInfoEntityOperation,
|
|
175
189
|
GetInfoEntityRequestFunction,
|
|
@@ -219,6 +233,8 @@ import {
|
|
|
219
233
|
getSubscriptionsOperation,
|
|
220
234
|
GetSubscriptionsRequestFunction,
|
|
221
235
|
} from "./getSubscriptions";
|
|
236
|
+
import { getTagOperation, GetTagRequestFunction } from "./getTag";
|
|
237
|
+
import { getTagsOperation, GetTagsRequestFunction } from "./getTags";
|
|
222
238
|
import {
|
|
223
239
|
getTrainingOperation,
|
|
224
240
|
GetTrainingRequestFunction,
|
|
@@ -400,6 +416,54 @@ import {
|
|
|
400
416
|
postDocumentOperation,
|
|
401
417
|
PostDocumentRequestFunction,
|
|
402
418
|
} from "./postDocument";
|
|
419
|
+
import {
|
|
420
|
+
postEnquiryOperation,
|
|
421
|
+
PostEnquiryRequestFunction,
|
|
422
|
+
} from "./postEnquiry";
|
|
423
|
+
import {
|
|
424
|
+
postEnquiryArchiveOperation,
|
|
425
|
+
PostEnquiryArchiveRequestFunction,
|
|
426
|
+
} from "./postEnquiryArchive";
|
|
427
|
+
import {
|
|
428
|
+
postEnquiryBudgetOperation,
|
|
429
|
+
PostEnquiryBudgetRequestFunction,
|
|
430
|
+
} from "./postEnquiryBudget";
|
|
431
|
+
import {
|
|
432
|
+
postEnquiryConsumerOperation,
|
|
433
|
+
PostEnquiryConsumerRequestFunction,
|
|
434
|
+
} from "./postEnquiryConsumer";
|
|
435
|
+
import {
|
|
436
|
+
postEnquiryConsumerPreferencesOperation,
|
|
437
|
+
PostEnquiryConsumerPreferencesRequestFunction,
|
|
438
|
+
} from "./postEnquiryConsumerPreferences";
|
|
439
|
+
import {
|
|
440
|
+
postEnquiryConsumerSignatureOperation,
|
|
441
|
+
PostEnquiryConsumerSignatureRequestFunction,
|
|
442
|
+
} from "./postEnquiryConsumerSignature";
|
|
443
|
+
import {
|
|
444
|
+
postEnquiryConvertJobOperation,
|
|
445
|
+
PostEnquiryConvertJobRequestFunction,
|
|
446
|
+
} from "./postEnquiryConvertJob";
|
|
447
|
+
import {
|
|
448
|
+
postEnquiryInterestInCreditOperation,
|
|
449
|
+
PostEnquiryInterestInCreditRequestFunction,
|
|
450
|
+
} from "./postEnquiryInterestInCredit";
|
|
451
|
+
import {
|
|
452
|
+
postEnquiryJobInfoOperation,
|
|
453
|
+
PostEnquiryJobInfoRequestFunction,
|
|
454
|
+
} from "./postEnquiryJobInfo";
|
|
455
|
+
import {
|
|
456
|
+
postEnquiryStateOperation,
|
|
457
|
+
PostEnquiryStateRequestFunction,
|
|
458
|
+
} from "./postEnquiryState";
|
|
459
|
+
import {
|
|
460
|
+
postEnquirySubmitOperation,
|
|
461
|
+
PostEnquirySubmitRequestFunction,
|
|
462
|
+
} from "./postEnquirySubmit";
|
|
463
|
+
import {
|
|
464
|
+
postEnquiryUnarchiveOperation,
|
|
465
|
+
PostEnquiryUnarchiveRequestFunction,
|
|
466
|
+
} from "./postEnquiryUnarchive";
|
|
403
467
|
import {
|
|
404
468
|
postEnterpriseOperation,
|
|
405
469
|
PostEnterpriseRequestFunction,
|
|
@@ -501,6 +565,7 @@ import {
|
|
|
501
565
|
postSubscriptionOperation,
|
|
502
566
|
PostSubscriptionRequestFunction,
|
|
503
567
|
} from "./postSubscription";
|
|
568
|
+
import { postTagOperation, PostTagRequestFunction } from "./postTag";
|
|
504
569
|
import {
|
|
505
570
|
postTrainingOperation,
|
|
506
571
|
PostTrainingRequestFunction,
|
|
@@ -523,6 +588,7 @@ import {
|
|
|
523
588
|
putDocumentOperation,
|
|
524
589
|
PutDocumentRequestFunction,
|
|
525
590
|
} from "./putDocument";
|
|
591
|
+
import { putEnquiryOperation, PutEnquiryRequestFunction } from "./putEnquiry";
|
|
526
592
|
import {
|
|
527
593
|
putEnrolmentOperation,
|
|
528
594
|
PutEnrolmentRequestFunction,
|
|
@@ -535,6 +601,7 @@ import {
|
|
|
535
601
|
putInfoStatsOperation,
|
|
536
602
|
PutInfoStatsRequestFunction,
|
|
537
603
|
} from "./putInfoStats";
|
|
604
|
+
import { putInfoTagOperation, PutInfoTagRequestFunction } from "./putInfoTag";
|
|
538
605
|
import {
|
|
539
606
|
putIntroductionOperation,
|
|
540
607
|
PutIntroductionRequestFunction,
|
|
@@ -554,6 +621,7 @@ import {
|
|
|
554
621
|
putSubscriptionOperation,
|
|
555
622
|
PutSubscriptionRequestFunction,
|
|
556
623
|
} from "./putSubscription";
|
|
624
|
+
import { putTagOperation, PutTagRequestFunction } from "./putTag";
|
|
557
625
|
import {
|
|
558
626
|
putTrainingOperation,
|
|
559
627
|
PutTrainingRequestFunction,
|
|
@@ -639,6 +707,8 @@ export const operations: Operations = {
|
|
|
639
707
|
infoStats: infoStatsOperation,
|
|
640
708
|
putInfoStats: putInfoStatsOperation,
|
|
641
709
|
infoIntroductionStats: infoIntroductionStatsOperation,
|
|
710
|
+
putInfoTag: putInfoTagOperation,
|
|
711
|
+
getInfoEnquiry: getInfoEnquiryOperation,
|
|
642
712
|
getPartners: getPartnersOperation,
|
|
643
713
|
postPartner: postPartnerOperation,
|
|
644
714
|
getPartner: getPartnerOperation,
|
|
@@ -792,6 +862,27 @@ export const operations: Operations = {
|
|
|
792
862
|
getEnrolments: getEnrolmentsOperation,
|
|
793
863
|
getEnrolment: getEnrolmentOperation,
|
|
794
864
|
putEnrolment: putEnrolmentOperation,
|
|
865
|
+
getEnquiries: getEnquiriesOperation,
|
|
866
|
+
postEnquiry: postEnquiryOperation,
|
|
867
|
+
getEnquiry: getEnquiryOperation,
|
|
868
|
+
putEnquiry: putEnquiryOperation,
|
|
869
|
+
deleteEnquiry: deleteEnquiryOperation,
|
|
870
|
+
postEnquiryConsumer: postEnquiryConsumerOperation,
|
|
871
|
+
postEnquiryConsumerSignature: postEnquiryConsumerSignatureOperation,
|
|
872
|
+
postEnquiryConsumerPreferences: postEnquiryConsumerPreferencesOperation,
|
|
873
|
+
postEnquiryJobInfo: postEnquiryJobInfoOperation,
|
|
874
|
+
postEnquiryInterestInCredit: postEnquiryInterestInCreditOperation,
|
|
875
|
+
postEnquiryBudget: postEnquiryBudgetOperation,
|
|
876
|
+
postEnquirySubmit: postEnquirySubmitOperation,
|
|
877
|
+
postEnquiryState: postEnquiryStateOperation,
|
|
878
|
+
postEnquiryConvertJob: postEnquiryConvertJobOperation,
|
|
879
|
+
postEnquiryArchive: postEnquiryArchiveOperation,
|
|
880
|
+
postEnquiryUnarchive: postEnquiryUnarchiveOperation,
|
|
881
|
+
getTags: getTagsOperation,
|
|
882
|
+
postTag: postTagOperation,
|
|
883
|
+
getTag: getTagOperation,
|
|
884
|
+
putTag: putTagOperation,
|
|
885
|
+
deleteTag: deleteTagOperation,
|
|
795
886
|
providerCheckWebhook: providerCheckWebhookOperation,
|
|
796
887
|
providerWebhook: providerWebhookOperation,
|
|
797
888
|
actionAdhoc: actionAdhocOperation,
|
|
@@ -838,6 +929,8 @@ export interface OperationRequestFunctionMap {
|
|
|
838
929
|
infoStats: InfoStatsRequestFunction;
|
|
839
930
|
putInfoStats: PutInfoStatsRequestFunction;
|
|
840
931
|
infoIntroductionStats: InfoIntroductionStatsRequestFunction;
|
|
932
|
+
putInfoTag: PutInfoTagRequestFunction;
|
|
933
|
+
getInfoEnquiry: GetInfoEnquiryRequestFunction;
|
|
841
934
|
getPartners: GetPartnersRequestFunction;
|
|
842
935
|
postPartner: PostPartnerRequestFunction;
|
|
843
936
|
getPartner: GetPartnerRequestFunction;
|
|
@@ -990,6 +1083,27 @@ export interface OperationRequestFunctionMap {
|
|
|
990
1083
|
getEnrolments: GetEnrolmentsRequestFunction;
|
|
991
1084
|
getEnrolment: GetEnrolmentRequestFunction;
|
|
992
1085
|
putEnrolment: PutEnrolmentRequestFunction;
|
|
1086
|
+
getEnquiries: GetEnquiriesRequestFunction;
|
|
1087
|
+
postEnquiry: PostEnquiryRequestFunction;
|
|
1088
|
+
getEnquiry: GetEnquiryRequestFunction;
|
|
1089
|
+
putEnquiry: PutEnquiryRequestFunction;
|
|
1090
|
+
deleteEnquiry: DeleteEnquiryRequestFunction;
|
|
1091
|
+
postEnquiryConsumer: PostEnquiryConsumerRequestFunction;
|
|
1092
|
+
postEnquiryConsumerSignature: PostEnquiryConsumerSignatureRequestFunction;
|
|
1093
|
+
postEnquiryConsumerPreferences: PostEnquiryConsumerPreferencesRequestFunction;
|
|
1094
|
+
postEnquiryJobInfo: PostEnquiryJobInfoRequestFunction;
|
|
1095
|
+
postEnquiryInterestInCredit: PostEnquiryInterestInCreditRequestFunction;
|
|
1096
|
+
postEnquiryBudget: PostEnquiryBudgetRequestFunction;
|
|
1097
|
+
postEnquirySubmit: PostEnquirySubmitRequestFunction;
|
|
1098
|
+
postEnquiryState: PostEnquiryStateRequestFunction;
|
|
1099
|
+
postEnquiryConvertJob: PostEnquiryConvertJobRequestFunction;
|
|
1100
|
+
postEnquiryArchive: PostEnquiryArchiveRequestFunction;
|
|
1101
|
+
postEnquiryUnarchive: PostEnquiryUnarchiveRequestFunction;
|
|
1102
|
+
getTags: GetTagsRequestFunction;
|
|
1103
|
+
postTag: PostTagRequestFunction;
|
|
1104
|
+
getTag: GetTagRequestFunction;
|
|
1105
|
+
putTag: PutTagRequestFunction;
|
|
1106
|
+
deleteTag: DeleteTagRequestFunction;
|
|
993
1107
|
providerCheckWebhook: ProviderCheckWebhookRequestFunction;
|
|
994
1108
|
providerWebhook: ProviderWebhookRequestFunction;
|
|
995
1109
|
actionAdhoc: ActionAdhocRequestFunction;
|
|
@@ -1077,6 +1191,11 @@ export const requestFunctionsBuilder = (
|
|
|
1077
1191
|
operations.infoIntroductionStats,
|
|
1078
1192
|
requestAdapter
|
|
1079
1193
|
),
|
|
1194
|
+
putInfoTag: requestFunctionBuilder(operations.putInfoTag, requestAdapter),
|
|
1195
|
+
getInfoEnquiry: requestFunctionBuilder(
|
|
1196
|
+
operations.getInfoEnquiry,
|
|
1197
|
+
requestAdapter
|
|
1198
|
+
),
|
|
1080
1199
|
getPartners: requestFunctionBuilder(operations.getPartners, requestAdapter),
|
|
1081
1200
|
postPartner: requestFunctionBuilder(operations.postPartner, requestAdapter),
|
|
1082
1201
|
getPartner: requestFunctionBuilder(operations.getPartner, requestAdapter),
|
|
@@ -1469,6 +1588,63 @@ export const requestFunctionsBuilder = (
|
|
|
1469
1588
|
),
|
|
1470
1589
|
getEnrolment: requestFunctionBuilder(operations.getEnrolment, requestAdapter),
|
|
1471
1590
|
putEnrolment: requestFunctionBuilder(operations.putEnrolment, requestAdapter),
|
|
1591
|
+
getEnquiries: requestFunctionBuilder(operations.getEnquiries, requestAdapter),
|
|
1592
|
+
postEnquiry: requestFunctionBuilder(operations.postEnquiry, requestAdapter),
|
|
1593
|
+
getEnquiry: requestFunctionBuilder(operations.getEnquiry, requestAdapter),
|
|
1594
|
+
putEnquiry: requestFunctionBuilder(operations.putEnquiry, requestAdapter),
|
|
1595
|
+
deleteEnquiry: requestFunctionBuilder(
|
|
1596
|
+
operations.deleteEnquiry,
|
|
1597
|
+
requestAdapter
|
|
1598
|
+
),
|
|
1599
|
+
postEnquiryConsumer: requestFunctionBuilder(
|
|
1600
|
+
operations.postEnquiryConsumer,
|
|
1601
|
+
requestAdapter
|
|
1602
|
+
),
|
|
1603
|
+
postEnquiryConsumerSignature: requestFunctionBuilder(
|
|
1604
|
+
operations.postEnquiryConsumerSignature,
|
|
1605
|
+
requestAdapter
|
|
1606
|
+
),
|
|
1607
|
+
postEnquiryConsumerPreferences: requestFunctionBuilder(
|
|
1608
|
+
operations.postEnquiryConsumerPreferences,
|
|
1609
|
+
requestAdapter
|
|
1610
|
+
),
|
|
1611
|
+
postEnquiryJobInfo: requestFunctionBuilder(
|
|
1612
|
+
operations.postEnquiryJobInfo,
|
|
1613
|
+
requestAdapter
|
|
1614
|
+
),
|
|
1615
|
+
postEnquiryInterestInCredit: requestFunctionBuilder(
|
|
1616
|
+
operations.postEnquiryInterestInCredit,
|
|
1617
|
+
requestAdapter
|
|
1618
|
+
),
|
|
1619
|
+
postEnquiryBudget: requestFunctionBuilder(
|
|
1620
|
+
operations.postEnquiryBudget,
|
|
1621
|
+
requestAdapter
|
|
1622
|
+
),
|
|
1623
|
+
postEnquirySubmit: requestFunctionBuilder(
|
|
1624
|
+
operations.postEnquirySubmit,
|
|
1625
|
+
requestAdapter
|
|
1626
|
+
),
|
|
1627
|
+
postEnquiryState: requestFunctionBuilder(
|
|
1628
|
+
operations.postEnquiryState,
|
|
1629
|
+
requestAdapter
|
|
1630
|
+
),
|
|
1631
|
+
postEnquiryConvertJob: requestFunctionBuilder(
|
|
1632
|
+
operations.postEnquiryConvertJob,
|
|
1633
|
+
requestAdapter
|
|
1634
|
+
),
|
|
1635
|
+
postEnquiryArchive: requestFunctionBuilder(
|
|
1636
|
+
operations.postEnquiryArchive,
|
|
1637
|
+
requestAdapter
|
|
1638
|
+
),
|
|
1639
|
+
postEnquiryUnarchive: requestFunctionBuilder(
|
|
1640
|
+
operations.postEnquiryUnarchive,
|
|
1641
|
+
requestAdapter
|
|
1642
|
+
),
|
|
1643
|
+
getTags: requestFunctionBuilder(operations.getTags, requestAdapter),
|
|
1644
|
+
postTag: requestFunctionBuilder(operations.postTag, requestAdapter),
|
|
1645
|
+
getTag: requestFunctionBuilder(operations.getTag, requestAdapter),
|
|
1646
|
+
putTag: requestFunctionBuilder(operations.putTag, requestAdapter),
|
|
1647
|
+
deleteTag: requestFunctionBuilder(operations.deleteTag, requestAdapter),
|
|
1472
1648
|
providerCheckWebhook: requestFunctionBuilder(
|
|
1473
1649
|
operations.providerCheckWebhook,
|
|
1474
1650
|
requestAdapter
|
|
@@ -1702,6 +1878,18 @@ export const infoIntroductionStatsServiceBuilder = (
|
|
|
1702
1878
|
infoIntroductionStats: requestFunctions.infoIntroductionStats,
|
|
1703
1879
|
});
|
|
1704
1880
|
|
|
1881
|
+
export const infoTagServiceBuilder = (
|
|
1882
|
+
requestFunctions: OperationRequestFunctionMap
|
|
1883
|
+
) => ({
|
|
1884
|
+
putInfoTag: requestFunctions.putInfoTag,
|
|
1885
|
+
});
|
|
1886
|
+
|
|
1887
|
+
export const infoEnquiryServiceBuilder = (
|
|
1888
|
+
requestFunctions: OperationRequestFunctionMap
|
|
1889
|
+
) => ({
|
|
1890
|
+
getInfoEnquiry: requestFunctions.getInfoEnquiry,
|
|
1891
|
+
});
|
|
1892
|
+
|
|
1705
1893
|
export const partnerServiceBuilder = (
|
|
1706
1894
|
requestFunctions: OperationRequestFunctionMap
|
|
1707
1895
|
) => ({
|
|
@@ -1890,6 +2078,38 @@ export const enrolmentServiceBuilder = (
|
|
|
1890
2078
|
putEnrolment: requestFunctions.putEnrolment,
|
|
1891
2079
|
});
|
|
1892
2080
|
|
|
2081
|
+
export const enquiryServiceBuilder = (
|
|
2082
|
+
requestFunctions: OperationRequestFunctionMap
|
|
2083
|
+
) => ({
|
|
2084
|
+
getEnquiries: requestFunctions.getEnquiries,
|
|
2085
|
+
postEnquiry: requestFunctions.postEnquiry,
|
|
2086
|
+
getEnquiry: requestFunctions.getEnquiry,
|
|
2087
|
+
putEnquiry: requestFunctions.putEnquiry,
|
|
2088
|
+
deleteEnquiry: requestFunctions.deleteEnquiry,
|
|
2089
|
+
postEnquiryConsumer: requestFunctions.postEnquiryConsumer,
|
|
2090
|
+
postEnquiryConsumerSignature: requestFunctions.postEnquiryConsumerSignature,
|
|
2091
|
+
postEnquiryConsumerPreferences:
|
|
2092
|
+
requestFunctions.postEnquiryConsumerPreferences,
|
|
2093
|
+
postEnquiryJobInfo: requestFunctions.postEnquiryJobInfo,
|
|
2094
|
+
postEnquiryInterestInCredit: requestFunctions.postEnquiryInterestInCredit,
|
|
2095
|
+
postEnquiryBudget: requestFunctions.postEnquiryBudget,
|
|
2096
|
+
postEnquirySubmit: requestFunctions.postEnquirySubmit,
|
|
2097
|
+
postEnquiryState: requestFunctions.postEnquiryState,
|
|
2098
|
+
postEnquiryConvertJob: requestFunctions.postEnquiryConvertJob,
|
|
2099
|
+
postEnquiryArchive: requestFunctions.postEnquiryArchive,
|
|
2100
|
+
postEnquiryUnarchive: requestFunctions.postEnquiryUnarchive,
|
|
2101
|
+
});
|
|
2102
|
+
|
|
2103
|
+
export const tagServiceBuilder = (
|
|
2104
|
+
requestFunctions: OperationRequestFunctionMap
|
|
2105
|
+
) => ({
|
|
2106
|
+
getTags: requestFunctions.getTags,
|
|
2107
|
+
postTag: requestFunctions.postTag,
|
|
2108
|
+
getTag: requestFunctions.getTag,
|
|
2109
|
+
putTag: requestFunctions.putTag,
|
|
2110
|
+
deleteTag: requestFunctions.deleteTag,
|
|
2111
|
+
});
|
|
2112
|
+
|
|
1893
2113
|
export const webhookServiceBuilder = (
|
|
1894
2114
|
requestFunctions: OperationRequestFunctionMap
|
|
1895
2115
|
) => ({
|
|
@@ -1954,6 +2174,8 @@ export interface Operations {
|
|
|
1954
2174
|
infoStats: typeof infoStatsOperation;
|
|
1955
2175
|
putInfoStats: typeof putInfoStatsOperation;
|
|
1956
2176
|
infoIntroductionStats: typeof infoIntroductionStatsOperation;
|
|
2177
|
+
putInfoTag: typeof putInfoTagOperation;
|
|
2178
|
+
getInfoEnquiry: typeof getInfoEnquiryOperation;
|
|
1957
2179
|
getPartners: typeof getPartnersOperation;
|
|
1958
2180
|
postPartner: typeof postPartnerOperation;
|
|
1959
2181
|
getPartner: typeof getPartnerOperation;
|
|
@@ -2106,6 +2328,27 @@ export interface Operations {
|
|
|
2106
2328
|
getEnrolments: typeof getEnrolmentsOperation;
|
|
2107
2329
|
getEnrolment: typeof getEnrolmentOperation;
|
|
2108
2330
|
putEnrolment: typeof putEnrolmentOperation;
|
|
2331
|
+
getEnquiries: typeof getEnquiriesOperation;
|
|
2332
|
+
postEnquiry: typeof postEnquiryOperation;
|
|
2333
|
+
getEnquiry: typeof getEnquiryOperation;
|
|
2334
|
+
putEnquiry: typeof putEnquiryOperation;
|
|
2335
|
+
deleteEnquiry: typeof deleteEnquiryOperation;
|
|
2336
|
+
postEnquiryConsumer: typeof postEnquiryConsumerOperation;
|
|
2337
|
+
postEnquiryConsumerSignature: typeof postEnquiryConsumerSignatureOperation;
|
|
2338
|
+
postEnquiryConsumerPreferences: typeof postEnquiryConsumerPreferencesOperation;
|
|
2339
|
+
postEnquiryJobInfo: typeof postEnquiryJobInfoOperation;
|
|
2340
|
+
postEnquiryInterestInCredit: typeof postEnquiryInterestInCreditOperation;
|
|
2341
|
+
postEnquiryBudget: typeof postEnquiryBudgetOperation;
|
|
2342
|
+
postEnquirySubmit: typeof postEnquirySubmitOperation;
|
|
2343
|
+
postEnquiryState: typeof postEnquiryStateOperation;
|
|
2344
|
+
postEnquiryConvertJob: typeof postEnquiryConvertJobOperation;
|
|
2345
|
+
postEnquiryArchive: typeof postEnquiryArchiveOperation;
|
|
2346
|
+
postEnquiryUnarchive: typeof postEnquiryUnarchiveOperation;
|
|
2347
|
+
getTags: typeof getTagsOperation;
|
|
2348
|
+
postTag: typeof postTagOperation;
|
|
2349
|
+
getTag: typeof getTagOperation;
|
|
2350
|
+
putTag: typeof putTagOperation;
|
|
2351
|
+
deleteTag: typeof deleteTagOperation;
|
|
2109
2352
|
providerCheckWebhook: typeof providerCheckWebhookOperation;
|
|
2110
2353
|
providerWebhook: typeof providerWebhookOperation;
|
|
2111
2354
|
actionAdhoc: typeof actionAdhocOperation;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export const postEnquiryOperation = {
|
|
5
|
+
path: "/api/enquiry",
|
|
6
|
+
method: "post",
|
|
7
|
+
responses: {
|
|
8
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
9
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
10
|
+
},
|
|
11
|
+
parameters: [],
|
|
12
|
+
requestDefaultHeaders: {
|
|
13
|
+
"Content-Type": "application/json",
|
|
14
|
+
Accept: "application/json",
|
|
15
|
+
},
|
|
16
|
+
body: {
|
|
17
|
+
_tag: "JsonBody",
|
|
18
|
+
},
|
|
19
|
+
} as const;
|
|
20
|
+
|
|
21
|
+
export type PostEnquiryRequestFunction = RequestFunction<
|
|
22
|
+
{ body: schemas.EnquiryBody },
|
|
23
|
+
schemas.Enquiry
|
|
24
|
+
>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryArchiveRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryArchiveOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/archive",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: false,
|
|
19
|
+
in: "path",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: { Accept: "application/json" },
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type PostEnquiryArchiveRequestFunction = RequestFunction<
|
|
27
|
+
{ params: PostEnquiryArchiveRequestParameters },
|
|
28
|
+
schemas.Enquiry
|
|
29
|
+
>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryBudgetRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryBudgetOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/budget",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: false,
|
|
19
|
+
in: "path",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: {
|
|
24
|
+
"Content-Type": "application/json",
|
|
25
|
+
Accept: "application/json",
|
|
26
|
+
},
|
|
27
|
+
body: {
|
|
28
|
+
_tag: "JsonBody",
|
|
29
|
+
},
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type PostEnquiryBudgetRequestFunction = RequestFunction<
|
|
33
|
+
{ params: PostEnquiryBudgetRequestParameters; body: schemas.MaxBudget },
|
|
34
|
+
schemas.Enquiry
|
|
35
|
+
>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryConsumerRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryConsumerOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/consumer",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: false,
|
|
19
|
+
in: "path",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: {
|
|
24
|
+
"Content-Type": "application/json",
|
|
25
|
+
Accept: "application/json",
|
|
26
|
+
},
|
|
27
|
+
body: {
|
|
28
|
+
_tag: "JsonBody",
|
|
29
|
+
},
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type PostEnquiryConsumerRequestFunction = RequestFunction<
|
|
33
|
+
{ params: PostEnquiryConsumerRequestParameters; body: schemas.Customer },
|
|
34
|
+
schemas.Enquiry
|
|
35
|
+
>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryConsumerPreferencesRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryConsumerPreferencesOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/consumer-preferences",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: false,
|
|
19
|
+
in: "path",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: {
|
|
24
|
+
"Content-Type": "application/json",
|
|
25
|
+
Accept: "application/json",
|
|
26
|
+
},
|
|
27
|
+
body: {
|
|
28
|
+
_tag: "JsonBody",
|
|
29
|
+
},
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type PostEnquiryConsumerPreferencesRequestFunction = RequestFunction<
|
|
33
|
+
{
|
|
34
|
+
params: PostEnquiryConsumerPreferencesRequestParameters;
|
|
35
|
+
body: schemas.PreferenceMap;
|
|
36
|
+
},
|
|
37
|
+
schemas.Enquiry
|
|
38
|
+
>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryConsumerSignatureRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryConsumerSignatureOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/consumer-signature",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: false,
|
|
19
|
+
in: "path",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: {
|
|
24
|
+
"Content-Type": "application/json",
|
|
25
|
+
Accept: "application/json",
|
|
26
|
+
},
|
|
27
|
+
body: {
|
|
28
|
+
_tag: "JsonBody",
|
|
29
|
+
},
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type PostEnquiryConsumerSignatureRequestFunction = RequestFunction<
|
|
33
|
+
{
|
|
34
|
+
params: PostEnquiryConsumerSignatureRequestParameters;
|
|
35
|
+
body: schemas.ConsumerSignature;
|
|
36
|
+
},
|
|
37
|
+
schemas.Enquiry
|
|
38
|
+
>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryConvertJobRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryConvertJobOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/convert-job",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: false,
|
|
19
|
+
in: "path",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: { Accept: "application/json" },
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type PostEnquiryConvertJobRequestFunction = RequestFunction<
|
|
27
|
+
{ params: PostEnquiryConvertJobRequestParameters },
|
|
28
|
+
schemas.Enquiry
|
|
29
|
+
>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryInterestInCreditRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryInterestInCreditOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/interest-in-credit",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: false,
|
|
19
|
+
in: "path",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: {
|
|
24
|
+
"Content-Type": "application/json",
|
|
25
|
+
Accept: "application/json",
|
|
26
|
+
},
|
|
27
|
+
body: {
|
|
28
|
+
_tag: "JsonBody",
|
|
29
|
+
},
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type PostEnquiryInterestInCreditRequestFunction = RequestFunction<
|
|
33
|
+
{
|
|
34
|
+
params: PostEnquiryInterestInCreditRequestParameters;
|
|
35
|
+
body: schemas.InterestInCreditRequest;
|
|
36
|
+
},
|
|
37
|
+
schemas.Enquiry
|
|
38
|
+
>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { RequestFunction } from "@kanda-libs/openapi-io-ts-runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PostEnquiryJobInfoRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const postEnquiryJobInfoOperation = {
|
|
9
|
+
path: "/api/enquiry/{id}/job-info",
|
|
10
|
+
method: "post",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enquiry },
|
|
13
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
14
|
+
},
|
|
15
|
+
parameters: [
|
|
16
|
+
{
|
|
17
|
+
_tag: "FormParameter",
|
|
18
|
+
explode: false,
|
|
19
|
+
in: "path",
|
|
20
|
+
name: "id",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
requestDefaultHeaders: {
|
|
24
|
+
"Content-Type": "application/json",
|
|
25
|
+
Accept: "application/json",
|
|
26
|
+
},
|
|
27
|
+
body: {
|
|
28
|
+
_tag: "JsonBody",
|
|
29
|
+
},
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type PostEnquiryJobInfoRequestFunction = RequestFunction<
|
|
33
|
+
{ params: PostEnquiryJobInfoRequestParameters; body: schemas.JobInfo },
|
|
34
|
+
schemas.Enquiry
|
|
35
|
+
>;
|