@kanda-libs/ks-component-ts 0.2.247 → 0.2.248-qa.2
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/.DS_Store +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueBlackItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueBoldItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueExtraBoldItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueExtraLightItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueHeavyItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueLightItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueMediumItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueRegularItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueSemiBoldItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/italic/GalanoGrotesqueThinItalic.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueBlack.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueBold.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueExtraBold.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueExtraLight.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueHeavy.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueLight.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueMedium.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueRegular.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueSemiBold.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/fonts/GalanoGrotesque/regular/GalanoGrotesqueThin.woff +0 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js +4 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/index.esm.js.map +7 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/dist/library.css +4445 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/package.json +96 -0
- package/app/.yalc/@kanda-libs/ks-component-ts/yalc.sig +1 -0
- package/app/yalc.lock +9 -0
- package/dist/index.d.ts +10229 -9615
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/field/.DS_Store +0 -0
- package/src/field/components/.DS_Store +0 -0
- package/src/generated/components/parameters/index.ts +4 -0
- package/src/generated/components/parameters/xKandaBid.ts +8 -0
- package/src/generated/components/parameters/xKandaCid.ts +8 -0
- package/src/generated/components/parameters/xKandaEid.ts +8 -0
- package/src/generated/components/parameters/xKandaTid.ts +8 -0
- package/src/generated/components/schemas/AuthUser.ts +6 -0
- package/src/generated/components/schemas/Credit.ts +6 -0
- package/src/generated/components/schemas/Document.ts +6 -0
- package/src/generated/components/schemas/Enterprise.ts +43 -0
- package/src/generated/components/schemas/Job.ts +6 -0
- package/src/generated/components/schemas/Lead.ts +11 -0
- package/src/generated/components/schemas/LeadQuote.ts +6 -7
- package/src/generated/components/schemas/LeadTrade.ts +20 -0
- package/src/generated/components/schemas/index.ts +2 -0
- package/src/generated/operations/deleteEnterprise.ts +29 -0
- package/src/generated/operations/deleteLead.ts +9 -0
- package/src/generated/operations/getEnterprise.ts +29 -0
- package/src/generated/operations/getEnterpriseBranches.ts +30 -0
- package/src/generated/operations/getEnterprises.ts +25 -0
- package/src/generated/operations/getLead.ts +9 -0
- package/src/generated/operations/getLeads.ts +12 -1
- package/src/generated/operations/index.ts +124 -0
- package/src/generated/operations/infoEnterprise.ts +51 -0
- package/src/generated/operations/postEnterprise.ts +24 -0
- package/src/generated/operations/postEnterpriseBranches.ts +39 -0
- package/src/generated/operations/postLead.ts +15 -2
- package/src/generated/operations/putEnterprise.ts +35 -0
- package/src/generated/operations/putLead.ts +9 -0
- package/src/generated/operations/quoteLead.ts +9 -0
- package/src/generated/operations/referLead.ts +9 -0
- package/src/generated/operations/tradeLead.ts +44 -0
- package/src/generated/operations/tradeQuoteApprovalLead.ts +38 -0
- package/src/generated/widget/index.tsx +49269 -47344
|
@@ -41,6 +41,10 @@ import {
|
|
|
41
41
|
deleteDocumentOperation,
|
|
42
42
|
DeleteDocumentRequestFunction,
|
|
43
43
|
} from "./deleteDocument";
|
|
44
|
+
import {
|
|
45
|
+
deleteEnterpriseOperation,
|
|
46
|
+
DeleteEnterpriseRequestFunction,
|
|
47
|
+
} from "./deleteEnterprise";
|
|
44
48
|
import { deleteJobOperation, DeleteJobRequestFunction } from "./deleteJob";
|
|
45
49
|
import { deleteLeadOperation, DeleteLeadRequestFunction } from "./deleteLead";
|
|
46
50
|
import {
|
|
@@ -87,6 +91,18 @@ import {
|
|
|
87
91
|
getDocumentsOperation,
|
|
88
92
|
GetDocumentsRequestFunction,
|
|
89
93
|
} from "./getDocuments";
|
|
94
|
+
import {
|
|
95
|
+
getEnterpriseOperation,
|
|
96
|
+
GetEnterpriseRequestFunction,
|
|
97
|
+
} from "./getEnterprise";
|
|
98
|
+
import {
|
|
99
|
+
getEnterpriseBranchesOperation,
|
|
100
|
+
GetEnterpriseBranchesRequestFunction,
|
|
101
|
+
} from "./getEnterpriseBranches";
|
|
102
|
+
import {
|
|
103
|
+
getEnterprisesOperation,
|
|
104
|
+
GetEnterprisesRequestFunction,
|
|
105
|
+
} from "./getEnterprises";
|
|
90
106
|
import {
|
|
91
107
|
getInfoEntityOperation,
|
|
92
108
|
GetInfoEntityRequestFunction,
|
|
@@ -150,6 +166,10 @@ import {
|
|
|
150
166
|
infoDirectorOperation,
|
|
151
167
|
InfoDirectorRequestFunction,
|
|
152
168
|
} from "./infoDirector";
|
|
169
|
+
import {
|
|
170
|
+
infoEnterpriseOperation,
|
|
171
|
+
InfoEnterpriseRequestFunction,
|
|
172
|
+
} from "./infoEnterprise";
|
|
153
173
|
import {
|
|
154
174
|
infoExampleJobOperation,
|
|
155
175
|
InfoExampleJobRequestFunction,
|
|
@@ -229,6 +249,14 @@ import {
|
|
|
229
249
|
postDocumentOperation,
|
|
230
250
|
PostDocumentRequestFunction,
|
|
231
251
|
} from "./postDocument";
|
|
252
|
+
import {
|
|
253
|
+
postEnterpriseOperation,
|
|
254
|
+
PostEnterpriseRequestFunction,
|
|
255
|
+
} from "./postEnterprise";
|
|
256
|
+
import {
|
|
257
|
+
postEnterpriseBranchesOperation,
|
|
258
|
+
PostEnterpriseBranchesRequestFunction,
|
|
259
|
+
} from "./postEnterpriseBranches";
|
|
232
260
|
import { postEventOperation, PostEventRequestFunction } from "./postEvent";
|
|
233
261
|
import { postJobOperation, PostJobRequestFunction } from "./postJob";
|
|
234
262
|
import { postLeadOperation, PostLeadRequestFunction } from "./postLead";
|
|
@@ -280,6 +308,10 @@ import {
|
|
|
280
308
|
putDocumentOperation,
|
|
281
309
|
PutDocumentRequestFunction,
|
|
282
310
|
} from "./putDocument";
|
|
311
|
+
import {
|
|
312
|
+
putEnterpriseOperation,
|
|
313
|
+
PutEnterpriseRequestFunction,
|
|
314
|
+
} from "./putEnterprise";
|
|
283
315
|
import { putJobOperation, PutJobRequestFunction } from "./putJob";
|
|
284
316
|
import { putLeadOperation, PutLeadRequestFunction } from "./putLead";
|
|
285
317
|
import { putMeOperation, PutMeRequestFunction } from "./putMe";
|
|
@@ -310,6 +342,11 @@ import {
|
|
|
310
342
|
signJobSateNoteOperation,
|
|
311
343
|
SignJobSateNoteRequestFunction,
|
|
312
344
|
} from "./signJobSateNote";
|
|
345
|
+
import { tradeLeadOperation, TradeLeadRequestFunction } from "./tradeLead";
|
|
346
|
+
import {
|
|
347
|
+
tradeQuoteApprovalLeadOperation,
|
|
348
|
+
TradeQuoteApprovalLeadRequestFunction,
|
|
349
|
+
} from "./tradeQuoteApprovalLead";
|
|
313
350
|
import {
|
|
314
351
|
unarchiveJobOperation,
|
|
315
352
|
UnarchiveJobRequestFunction,
|
|
@@ -346,6 +383,7 @@ export const operations: Operations = {
|
|
|
346
383
|
infoDeleteCache: infoDeleteCacheOperation,
|
|
347
384
|
getInfoEntity: getInfoEntityOperation,
|
|
348
385
|
infoPartnerBranding: infoPartnerBrandingOperation,
|
|
386
|
+
infoEnterprise: infoEnterpriseOperation,
|
|
349
387
|
getPartners: getPartnersOperation,
|
|
350
388
|
postPartner: postPartnerOperation,
|
|
351
389
|
getPartner: getPartnerOperation,
|
|
@@ -358,6 +396,13 @@ export const operations: Operations = {
|
|
|
358
396
|
putOnboarding: putOnboardingOperation,
|
|
359
397
|
deleteOnboarding: deleteOnboardingOperation,
|
|
360
398
|
postOnboardingDecision: postOnboardingDecisionOperation,
|
|
399
|
+
getEnterprises: getEnterprisesOperation,
|
|
400
|
+
postEnterprise: postEnterpriseOperation,
|
|
401
|
+
getEnterprise: getEnterpriseOperation,
|
|
402
|
+
putEnterprise: putEnterpriseOperation,
|
|
403
|
+
deleteEnterprise: deleteEnterpriseOperation,
|
|
404
|
+
getEnterpriseBranches: getEnterpriseBranchesOperation,
|
|
405
|
+
postEnterpriseBranches: postEnterpriseBranchesOperation,
|
|
361
406
|
getCompanies: getCompaniesOperation,
|
|
362
407
|
postCompany: postCompanyOperation,
|
|
363
408
|
getCompany: getCompanyOperation,
|
|
@@ -416,6 +461,8 @@ export const operations: Operations = {
|
|
|
416
461
|
putLead: putLeadOperation,
|
|
417
462
|
deleteLead: deleteLeadOperation,
|
|
418
463
|
quoteLead: quoteLeadOperation,
|
|
464
|
+
tradeLead: tradeLeadOperation,
|
|
465
|
+
tradeQuoteApprovalLead: tradeQuoteApprovalLeadOperation,
|
|
419
466
|
referLead: referLeadOperation,
|
|
420
467
|
getSubscriptions: getSubscriptionsOperation,
|
|
421
468
|
postSubscription: postSubscriptionOperation,
|
|
@@ -467,6 +514,7 @@ export interface OperationRequestFunctionMap {
|
|
|
467
514
|
infoDeleteCache: InfoDeleteCacheRequestFunction;
|
|
468
515
|
getInfoEntity: GetInfoEntityRequestFunction;
|
|
469
516
|
infoPartnerBranding: InfoPartnerBrandingRequestFunction;
|
|
517
|
+
infoEnterprise: InfoEnterpriseRequestFunction;
|
|
470
518
|
getPartners: GetPartnersRequestFunction;
|
|
471
519
|
postPartner: PostPartnerRequestFunction;
|
|
472
520
|
getPartner: GetPartnerRequestFunction;
|
|
@@ -479,6 +527,13 @@ export interface OperationRequestFunctionMap {
|
|
|
479
527
|
putOnboarding: PutOnboardingRequestFunction;
|
|
480
528
|
deleteOnboarding: DeleteOnboardingRequestFunction;
|
|
481
529
|
postOnboardingDecision: PostOnboardingDecisionRequestFunction;
|
|
530
|
+
getEnterprises: GetEnterprisesRequestFunction;
|
|
531
|
+
postEnterprise: PostEnterpriseRequestFunction;
|
|
532
|
+
getEnterprise: GetEnterpriseRequestFunction;
|
|
533
|
+
putEnterprise: PutEnterpriseRequestFunction;
|
|
534
|
+
deleteEnterprise: DeleteEnterpriseRequestFunction;
|
|
535
|
+
getEnterpriseBranches: GetEnterpriseBranchesRequestFunction;
|
|
536
|
+
postEnterpriseBranches: PostEnterpriseBranchesRequestFunction;
|
|
482
537
|
getCompanies: GetCompaniesRequestFunction;
|
|
483
538
|
postCompany: PostCompanyRequestFunction;
|
|
484
539
|
getCompany: GetCompanyRequestFunction;
|
|
@@ -537,6 +592,8 @@ export interface OperationRequestFunctionMap {
|
|
|
537
592
|
putLead: PutLeadRequestFunction;
|
|
538
593
|
deleteLead: DeleteLeadRequestFunction;
|
|
539
594
|
quoteLead: QuoteLeadRequestFunction;
|
|
595
|
+
tradeLead: TradeLeadRequestFunction;
|
|
596
|
+
tradeQuoteApprovalLead: TradeQuoteApprovalLeadRequestFunction;
|
|
540
597
|
referLead: ReferLeadRequestFunction;
|
|
541
598
|
getSubscriptions: GetSubscriptionsRequestFunction;
|
|
542
599
|
postSubscription: PostSubscriptionRequestFunction;
|
|
@@ -614,6 +671,10 @@ export const requestFunctionsBuilder = (
|
|
|
614
671
|
operations.infoPartnerBranding,
|
|
615
672
|
requestAdapter
|
|
616
673
|
),
|
|
674
|
+
infoEnterprise: requestFunctionBuilder(
|
|
675
|
+
operations.infoEnterprise,
|
|
676
|
+
requestAdapter
|
|
677
|
+
),
|
|
617
678
|
getPartners: requestFunctionBuilder(operations.getPartners, requestAdapter),
|
|
618
679
|
postPartner: requestFunctionBuilder(operations.postPartner, requestAdapter),
|
|
619
680
|
getPartner: requestFunctionBuilder(operations.getPartner, requestAdapter),
|
|
@@ -650,6 +711,34 @@ export const requestFunctionsBuilder = (
|
|
|
650
711
|
operations.postOnboardingDecision,
|
|
651
712
|
requestAdapter
|
|
652
713
|
),
|
|
714
|
+
getEnterprises: requestFunctionBuilder(
|
|
715
|
+
operations.getEnterprises,
|
|
716
|
+
requestAdapter
|
|
717
|
+
),
|
|
718
|
+
postEnterprise: requestFunctionBuilder(
|
|
719
|
+
operations.postEnterprise,
|
|
720
|
+
requestAdapter
|
|
721
|
+
),
|
|
722
|
+
getEnterprise: requestFunctionBuilder(
|
|
723
|
+
operations.getEnterprise,
|
|
724
|
+
requestAdapter
|
|
725
|
+
),
|
|
726
|
+
putEnterprise: requestFunctionBuilder(
|
|
727
|
+
operations.putEnterprise,
|
|
728
|
+
requestAdapter
|
|
729
|
+
),
|
|
730
|
+
deleteEnterprise: requestFunctionBuilder(
|
|
731
|
+
operations.deleteEnterprise,
|
|
732
|
+
requestAdapter
|
|
733
|
+
),
|
|
734
|
+
getEnterpriseBranches: requestFunctionBuilder(
|
|
735
|
+
operations.getEnterpriseBranches,
|
|
736
|
+
requestAdapter
|
|
737
|
+
),
|
|
738
|
+
postEnterpriseBranches: requestFunctionBuilder(
|
|
739
|
+
operations.postEnterpriseBranches,
|
|
740
|
+
requestAdapter
|
|
741
|
+
),
|
|
653
742
|
getCompanies: requestFunctionBuilder(operations.getCompanies, requestAdapter),
|
|
654
743
|
postCompany: requestFunctionBuilder(operations.postCompany, requestAdapter),
|
|
655
744
|
getCompany: requestFunctionBuilder(operations.getCompany, requestAdapter),
|
|
@@ -747,6 +836,11 @@ export const requestFunctionsBuilder = (
|
|
|
747
836
|
putLead: requestFunctionBuilder(operations.putLead, requestAdapter),
|
|
748
837
|
deleteLead: requestFunctionBuilder(operations.deleteLead, requestAdapter),
|
|
749
838
|
quoteLead: requestFunctionBuilder(operations.quoteLead, requestAdapter),
|
|
839
|
+
tradeLead: requestFunctionBuilder(operations.tradeLead, requestAdapter),
|
|
840
|
+
tradeQuoteApprovalLead: requestFunctionBuilder(
|
|
841
|
+
operations.tradeQuoteApprovalLead,
|
|
842
|
+
requestAdapter
|
|
843
|
+
),
|
|
750
844
|
referLead: requestFunctionBuilder(operations.referLead, requestAdapter),
|
|
751
845
|
getSubscriptions: requestFunctionBuilder(
|
|
752
846
|
operations.getSubscriptions,
|
|
@@ -953,6 +1047,12 @@ export const infoPartnerServiceBuilder = (
|
|
|
953
1047
|
infoPartnerBranding: requestFunctions.infoPartnerBranding,
|
|
954
1048
|
});
|
|
955
1049
|
|
|
1050
|
+
export const infoEnterpriseServiceBuilder = (
|
|
1051
|
+
requestFunctions: OperationRequestFunctionMap
|
|
1052
|
+
) => ({
|
|
1053
|
+
infoEnterprise: requestFunctions.infoEnterprise,
|
|
1054
|
+
});
|
|
1055
|
+
|
|
956
1056
|
export const partnerServiceBuilder = (
|
|
957
1057
|
requestFunctions: OperationRequestFunctionMap
|
|
958
1058
|
) => ({
|
|
@@ -975,6 +1075,18 @@ export const onboardingServiceBuilder = (
|
|
|
975
1075
|
postOnboardingDecision: requestFunctions.postOnboardingDecision,
|
|
976
1076
|
});
|
|
977
1077
|
|
|
1078
|
+
export const enterpriseServiceBuilder = (
|
|
1079
|
+
requestFunctions: OperationRequestFunctionMap
|
|
1080
|
+
) => ({
|
|
1081
|
+
getEnterprises: requestFunctions.getEnterprises,
|
|
1082
|
+
postEnterprise: requestFunctions.postEnterprise,
|
|
1083
|
+
getEnterprise: requestFunctions.getEnterprise,
|
|
1084
|
+
putEnterprise: requestFunctions.putEnterprise,
|
|
1085
|
+
deleteEnterprise: requestFunctions.deleteEnterprise,
|
|
1086
|
+
getEnterpriseBranches: requestFunctions.getEnterpriseBranches,
|
|
1087
|
+
postEnterpriseBranches: requestFunctions.postEnterpriseBranches,
|
|
1088
|
+
});
|
|
1089
|
+
|
|
978
1090
|
export const companyServiceBuilder = (
|
|
979
1091
|
requestFunctions: OperationRequestFunctionMap
|
|
980
1092
|
) => ({
|
|
@@ -1022,6 +1134,8 @@ export const leadServiceBuilder = (
|
|
|
1022
1134
|
putLead: requestFunctions.putLead,
|
|
1023
1135
|
deleteLead: requestFunctions.deleteLead,
|
|
1024
1136
|
quoteLead: requestFunctions.quoteLead,
|
|
1137
|
+
tradeLead: requestFunctions.tradeLead,
|
|
1138
|
+
tradeQuoteApprovalLead: requestFunctions.tradeQuoteApprovalLead,
|
|
1025
1139
|
referLead: requestFunctions.referLead,
|
|
1026
1140
|
});
|
|
1027
1141
|
|
|
@@ -1093,6 +1207,7 @@ export interface Operations {
|
|
|
1093
1207
|
infoDeleteCache: typeof infoDeleteCacheOperation;
|
|
1094
1208
|
getInfoEntity: typeof getInfoEntityOperation;
|
|
1095
1209
|
infoPartnerBranding: typeof infoPartnerBrandingOperation;
|
|
1210
|
+
infoEnterprise: typeof infoEnterpriseOperation;
|
|
1096
1211
|
getPartners: typeof getPartnersOperation;
|
|
1097
1212
|
postPartner: typeof postPartnerOperation;
|
|
1098
1213
|
getPartner: typeof getPartnerOperation;
|
|
@@ -1105,6 +1220,13 @@ export interface Operations {
|
|
|
1105
1220
|
putOnboarding: typeof putOnboardingOperation;
|
|
1106
1221
|
deleteOnboarding: typeof deleteOnboardingOperation;
|
|
1107
1222
|
postOnboardingDecision: typeof postOnboardingDecisionOperation;
|
|
1223
|
+
getEnterprises: typeof getEnterprisesOperation;
|
|
1224
|
+
postEnterprise: typeof postEnterpriseOperation;
|
|
1225
|
+
getEnterprise: typeof getEnterpriseOperation;
|
|
1226
|
+
putEnterprise: typeof putEnterpriseOperation;
|
|
1227
|
+
deleteEnterprise: typeof deleteEnterpriseOperation;
|
|
1228
|
+
getEnterpriseBranches: typeof getEnterpriseBranchesOperation;
|
|
1229
|
+
postEnterpriseBranches: typeof postEnterpriseBranchesOperation;
|
|
1108
1230
|
getCompanies: typeof getCompaniesOperation;
|
|
1109
1231
|
postCompany: typeof postCompanyOperation;
|
|
1110
1232
|
getCompany: typeof getCompanyOperation;
|
|
@@ -1163,6 +1285,8 @@ export interface Operations {
|
|
|
1163
1285
|
putLead: typeof putLeadOperation;
|
|
1164
1286
|
deleteLead: typeof deleteLeadOperation;
|
|
1165
1287
|
quoteLead: typeof quoteLeadOperation;
|
|
1288
|
+
tradeLead: typeof tradeLeadOperation;
|
|
1289
|
+
tradeQuoteApprovalLead: typeof tradeQuoteApprovalLeadOperation;
|
|
1166
1290
|
referLead: typeof referLeadOperation;
|
|
1167
1291
|
getSubscriptions: typeof getSubscriptionsOperation;
|
|
1168
1292
|
postSubscription: typeof postSubscriptionOperation;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as t from "io-ts";
|
|
3
|
+
import * as schemas from "../components/schemas";
|
|
4
|
+
|
|
5
|
+
export type InfoEnterpriseRequestParameters = {
|
|
6
|
+
eid?: string;
|
|
7
|
+
bid?: string;
|
|
8
|
+
subdomain?: string;
|
|
9
|
+
branch_code?: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export const infoEnterpriseOperation = {
|
|
13
|
+
path: "/api/info/enterprise",
|
|
14
|
+
method: "get",
|
|
15
|
+
responses: {
|
|
16
|
+
"200": { _tag: "JsonResponse", decoder: t.array(schemas.Enterprise) },
|
|
17
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
18
|
+
},
|
|
19
|
+
parameters: [
|
|
20
|
+
{
|
|
21
|
+
_tag: "FormParameter",
|
|
22
|
+
explode: true,
|
|
23
|
+
in: "query",
|
|
24
|
+
name: "eid",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
_tag: "FormParameter",
|
|
28
|
+
explode: true,
|
|
29
|
+
in: "query",
|
|
30
|
+
name: "bid",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
_tag: "FormParameter",
|
|
34
|
+
explode: true,
|
|
35
|
+
in: "query",
|
|
36
|
+
name: "subdomain",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
_tag: "FormParameter",
|
|
40
|
+
explode: true,
|
|
41
|
+
in: "query",
|
|
42
|
+
name: "branch_code",
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
requestDefaultHeaders: { Accept: "application/json" },
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type InfoEnterpriseRequestFunction = RequestFunction<
|
|
49
|
+
{ params: InfoEnterpriseRequestParameters },
|
|
50
|
+
Array<schemas.Enterprise>
|
|
51
|
+
>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export const postEnterpriseOperation = {
|
|
5
|
+
path: "/api/enterprise",
|
|
6
|
+
method: "post",
|
|
7
|
+
responses: {
|
|
8
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enterprise },
|
|
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 PostEnterpriseRequestFunction = RequestFunction<
|
|
22
|
+
{ body: schemas.Enterprise },
|
|
23
|
+
schemas.Enterprise
|
|
24
|
+
>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as t from "io-ts";
|
|
3
|
+
import * as schemas from "../components/schemas";
|
|
4
|
+
|
|
5
|
+
export type PostEnterpriseBranchesRequestParameters = {
|
|
6
|
+
id: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const postEnterpriseBranchesOperation = {
|
|
10
|
+
path: "/api/enterprise/{id}/branch",
|
|
11
|
+
method: "post",
|
|
12
|
+
responses: {
|
|
13
|
+
"200": { _tag: "JsonResponse", decoder: t.array(schemas.Enterprise) },
|
|
14
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
15
|
+
},
|
|
16
|
+
parameters: [
|
|
17
|
+
{
|
|
18
|
+
_tag: "FormParameter",
|
|
19
|
+
explode: false,
|
|
20
|
+
in: "path",
|
|
21
|
+
name: "id",
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
requestDefaultHeaders: {
|
|
25
|
+
"Content-Type": "application/json",
|
|
26
|
+
Accept: "application/json",
|
|
27
|
+
},
|
|
28
|
+
body: {
|
|
29
|
+
_tag: "JsonBody",
|
|
30
|
+
},
|
|
31
|
+
} as const;
|
|
32
|
+
|
|
33
|
+
export type PostEnterpriseBranchesRequestFunction = RequestFunction<
|
|
34
|
+
{
|
|
35
|
+
params: PostEnterpriseBranchesRequestParameters;
|
|
36
|
+
body: Array<schemas.Enterprise>;
|
|
37
|
+
},
|
|
38
|
+
Array<schemas.Enterprise>
|
|
39
|
+
>;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as parameters from "../components/parameters";
|
|
2
3
|
import * as schemas from "../components/schemas";
|
|
3
4
|
|
|
5
|
+
export type PostLeadRequestParameters = {
|
|
6
|
+
xKandaBid?: string;
|
|
7
|
+
xKandaCid?: string;
|
|
8
|
+
xKandaEid?: string;
|
|
9
|
+
xKandaTid?: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
4
12
|
export const postLeadOperation = {
|
|
5
13
|
path: "/api/lead",
|
|
6
14
|
method: "post",
|
|
@@ -8,7 +16,12 @@ export const postLeadOperation = {
|
|
|
8
16
|
"200": { _tag: "JsonResponse", decoder: schemas.Lead },
|
|
9
17
|
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
10
18
|
},
|
|
11
|
-
parameters: [
|
|
19
|
+
parameters: [
|
|
20
|
+
parameters.xKandaBid,
|
|
21
|
+
parameters.xKandaCid,
|
|
22
|
+
parameters.xKandaEid,
|
|
23
|
+
parameters.xKandaTid,
|
|
24
|
+
],
|
|
12
25
|
requestDefaultHeaders: {
|
|
13
26
|
"Content-Type": "application/json",
|
|
14
27
|
Accept: "application/json",
|
|
@@ -19,6 +32,6 @@ export const postLeadOperation = {
|
|
|
19
32
|
} as const;
|
|
20
33
|
|
|
21
34
|
export type PostLeadRequestFunction = RequestFunction<
|
|
22
|
-
{ body: schemas.LeadApplicant },
|
|
35
|
+
{ params: PostLeadRequestParameters; body: schemas.LeadApplicant },
|
|
23
36
|
schemas.Lead
|
|
24
37
|
>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as schemas from "../components/schemas";
|
|
3
|
+
|
|
4
|
+
export type PutEnterpriseRequestParameters = {
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const putEnterpriseOperation = {
|
|
9
|
+
path: "/api/enterprise/{id}",
|
|
10
|
+
method: "put",
|
|
11
|
+
responses: {
|
|
12
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Enterprise },
|
|
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 PutEnterpriseRequestFunction = RequestFunction<
|
|
33
|
+
{ params: PutEnterpriseRequestParameters; body: schemas.Enterprise },
|
|
34
|
+
schemas.Enterprise
|
|
35
|
+
>;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as parameters from "../components/parameters";
|
|
2
3
|
import * as schemas from "../components/schemas";
|
|
3
4
|
|
|
4
5
|
export type PutLeadRequestParameters = {
|
|
5
6
|
id: string;
|
|
7
|
+
xKandaBid?: string;
|
|
8
|
+
xKandaCid?: string;
|
|
9
|
+
xKandaEid?: string;
|
|
10
|
+
xKandaTid?: string;
|
|
6
11
|
};
|
|
7
12
|
|
|
8
13
|
export const putLeadOperation = {
|
|
@@ -19,6 +24,10 @@ export const putLeadOperation = {
|
|
|
19
24
|
in: "path",
|
|
20
25
|
name: "id",
|
|
21
26
|
},
|
|
27
|
+
parameters.xKandaBid,
|
|
28
|
+
parameters.xKandaCid,
|
|
29
|
+
parameters.xKandaEid,
|
|
30
|
+
parameters.xKandaTid,
|
|
22
31
|
],
|
|
23
32
|
requestDefaultHeaders: {
|
|
24
33
|
"Content-Type": "application/json",
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as parameters from "../components/parameters";
|
|
2
3
|
import * as schemas from "../components/schemas";
|
|
3
4
|
|
|
4
5
|
export type QuoteLeadRequestParameters = {
|
|
5
6
|
id: string;
|
|
7
|
+
xKandaBid?: string;
|
|
8
|
+
xKandaCid?: string;
|
|
9
|
+
xKandaEid?: string;
|
|
10
|
+
xKandaTid?: string;
|
|
6
11
|
};
|
|
7
12
|
|
|
8
13
|
export const quoteLeadOperation = {
|
|
@@ -19,6 +24,10 @@ export const quoteLeadOperation = {
|
|
|
19
24
|
in: "path",
|
|
20
25
|
name: "id",
|
|
21
26
|
},
|
|
27
|
+
parameters.xKandaBid,
|
|
28
|
+
parameters.xKandaCid,
|
|
29
|
+
parameters.xKandaEid,
|
|
30
|
+
parameters.xKandaTid,
|
|
22
31
|
],
|
|
23
32
|
requestDefaultHeaders: {
|
|
24
33
|
"Content-Type": "application/json",
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
2
|
import * as t from "io-ts";
|
|
3
|
+
import * as parameters from "../components/parameters";
|
|
3
4
|
import * as schemas from "../components/schemas";
|
|
4
5
|
|
|
5
6
|
export type ReferLeadRequestParameters = {
|
|
6
7
|
id: string;
|
|
8
|
+
xKandaBid?: string;
|
|
9
|
+
xKandaCid?: string;
|
|
10
|
+
xKandaEid?: string;
|
|
11
|
+
xKandaTid?: string;
|
|
7
12
|
};
|
|
8
13
|
|
|
9
14
|
export const ReferLeadRequestBodySchema = t.type({
|
|
@@ -28,6 +33,10 @@ export const referLeadOperation = {
|
|
|
28
33
|
in: "path",
|
|
29
34
|
name: "id",
|
|
30
35
|
},
|
|
36
|
+
parameters.xKandaBid,
|
|
37
|
+
parameters.xKandaCid,
|
|
38
|
+
parameters.xKandaEid,
|
|
39
|
+
parameters.xKandaTid,
|
|
31
40
|
],
|
|
32
41
|
requestDefaultHeaders: {
|
|
33
42
|
"Content-Type": "application/json",
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as parameters from "../components/parameters";
|
|
3
|
+
import * as schemas from "../components/schemas";
|
|
4
|
+
|
|
5
|
+
export type TradeLeadRequestParameters = {
|
|
6
|
+
id: string;
|
|
7
|
+
xKandaBid?: string;
|
|
8
|
+
xKandaCid?: string;
|
|
9
|
+
xKandaEid?: string;
|
|
10
|
+
xKandaTid?: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tradeLeadOperation = {
|
|
14
|
+
path: "/api/lead/{id}/trade",
|
|
15
|
+
method: "post",
|
|
16
|
+
responses: {
|
|
17
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Lead },
|
|
18
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
19
|
+
},
|
|
20
|
+
parameters: [
|
|
21
|
+
{
|
|
22
|
+
_tag: "FormParameter",
|
|
23
|
+
explode: false,
|
|
24
|
+
in: "path",
|
|
25
|
+
name: "id",
|
|
26
|
+
},
|
|
27
|
+
parameters.xKandaBid,
|
|
28
|
+
parameters.xKandaCid,
|
|
29
|
+
parameters.xKandaEid,
|
|
30
|
+
parameters.xKandaTid,
|
|
31
|
+
],
|
|
32
|
+
requestDefaultHeaders: {
|
|
33
|
+
"Content-Type": "application/json",
|
|
34
|
+
Accept: "application/json",
|
|
35
|
+
},
|
|
36
|
+
body: {
|
|
37
|
+
_tag: "JsonBody",
|
|
38
|
+
},
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export type TradeLeadRequestFunction = RequestFunction<
|
|
42
|
+
{ params: TradeLeadRequestParameters; body: schemas.LeadTrade },
|
|
43
|
+
schemas.Lead
|
|
44
|
+
>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as parameters from "../components/parameters";
|
|
3
|
+
import * as schemas from "../components/schemas";
|
|
4
|
+
|
|
5
|
+
export type TradeQuoteApprovalLeadRequestParameters = {
|
|
6
|
+
id: string;
|
|
7
|
+
xKandaBid?: string;
|
|
8
|
+
xKandaCid?: string;
|
|
9
|
+
xKandaEid?: string;
|
|
10
|
+
xKandaTid?: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tradeQuoteApprovalLeadOperation = {
|
|
14
|
+
path: "/api/lead/{id}/trade-quote-approval",
|
|
15
|
+
method: "post",
|
|
16
|
+
responses: {
|
|
17
|
+
"200": { _tag: "JsonResponse", decoder: schemas.Lead },
|
|
18
|
+
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
19
|
+
},
|
|
20
|
+
parameters: [
|
|
21
|
+
{
|
|
22
|
+
_tag: "FormParameter",
|
|
23
|
+
explode: false,
|
|
24
|
+
in: "path",
|
|
25
|
+
name: "id",
|
|
26
|
+
},
|
|
27
|
+
parameters.xKandaBid,
|
|
28
|
+
parameters.xKandaCid,
|
|
29
|
+
parameters.xKandaEid,
|
|
30
|
+
parameters.xKandaTid,
|
|
31
|
+
],
|
|
32
|
+
requestDefaultHeaders: { Accept: "application/json" },
|
|
33
|
+
} as const;
|
|
34
|
+
|
|
35
|
+
export type TradeQuoteApprovalLeadRequestFunction = RequestFunction<
|
|
36
|
+
{ params: TradeQuoteApprovalLeadRequestParameters },
|
|
37
|
+
schemas.Lead
|
|
38
|
+
>;
|