@dalmore/api-contracts 0.0.0-dev.686830 → 0.0.0-dev.6e52837

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 (54) hide show
  1. package/common/types/account-setting.types.d.ts +5 -0
  2. package/common/types/account.types.d.ts +6 -6
  3. package/common/types/cap-table.types.d.ts +109 -0
  4. package/common/types/cap-table.types.js +14 -0
  5. package/common/types/cap-table.types.js.map +1 -1
  6. package/common/types/common.types.d.ts +28 -1
  7. package/common/types/common.types.js +11 -0
  8. package/common/types/common.types.js.map +1 -1
  9. package/common/types/disbursement-transaction.types.d.ts +1 -1
  10. package/common/types/disbursement-transaction.types.js +1 -1
  11. package/common/types/disbursement-transaction.types.js.map +1 -1
  12. package/common/types/disbursements.types.d.ts +122 -7
  13. package/common/types/disbursements.types.js +29 -2
  14. package/common/types/disbursements.types.js.map +1 -1
  15. package/common/types/index.d.ts +1 -0
  16. package/common/types/index.js +1 -0
  17. package/common/types/index.js.map +1 -1
  18. package/common/types/individuals.types.js +2 -2
  19. package/common/types/individuals.types.js.map +1 -1
  20. package/common/types/investor-account.types.d.ts +1 -1
  21. package/common/types/investor-account.types.js +1 -2
  22. package/common/types/investor-account.types.js.map +1 -1
  23. package/common/types/invite.types.d.ts +2 -2
  24. package/common/types/invite.types.js +1 -1
  25. package/common/types/invite.types.js.map +1 -1
  26. package/common/types/issuer-offering.types.d.ts +9 -10
  27. package/common/types/issuer-offering.types.js +23 -11
  28. package/common/types/issuer-offering.types.js.map +1 -1
  29. package/common/types/offering.types.d.ts +22 -19
  30. package/common/types/offering.types.js +35 -16
  31. package/common/types/offering.types.js.map +1 -1
  32. package/common/types/review.types.js +1 -1
  33. package/common/types/review.types.js.map +1 -1
  34. package/common/types/site.types.d.ts +12 -12
  35. package/common/types/trade-line-item.types.d.ts +24 -0
  36. package/common/types/trade-line-item.types.js +3 -0
  37. package/common/types/trade-line-item.types.js.map +1 -1
  38. package/common/types/trade.types.d.ts +9 -0
  39. package/common/types/trade.types.js +7 -1
  40. package/common/types/trade.types.js.map +1 -1
  41. package/common/types/transaction.types.d.ts +0 -1
  42. package/common/types/transaction.types.js +0 -1
  43. package/common/types/transaction.types.js.map +1 -1
  44. package/common/types/user.types.d.ts +84 -0
  45. package/common/types/user.types.js +2 -0
  46. package/common/types/user.types.js.map +1 -1
  47. package/contracts/clients/index.d.ts +85 -3
  48. package/contracts/clients/index.js +2 -0
  49. package/contracts/clients/index.js.map +1 -1
  50. package/contracts/clients/offerings/index.d.ts +8 -3
  51. package/contracts/clients/review/index.d.ts +77 -0
  52. package/contracts/clients/review/index.js +23 -0
  53. package/contracts/clients/review/index.js.map +1 -0
  54. package/package.json +1 -1
@@ -9371,8 +9371,8 @@ export declare const clientsContract: {
9371
9371
  enabled: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodBoolean, boolean, unknown>>;
9372
9372
  managedBy: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").ManagedByType>>;
9373
9373
  versioningType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").OfferingVersioningType>>;
9374
- combinedStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").OfferingStatus>>;
9375
9374
  onboardingStatus: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").OfferingOnboardingStatus>>;
9375
+ complianceReview: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("../..").ComplianceReview>>;
9376
9376
  }, "strip", import("zod").ZodTypeAny, {
9377
9377
  page: number;
9378
9378
  limit: number;
@@ -9382,12 +9382,12 @@ export declare const clientsContract: {
9382
9382
  accountId?: string | undefined;
9383
9383
  name?: string | undefined;
9384
9384
  managedBy?: import("../..").ManagedByType | undefined;
9385
+ complianceReview?: import("../..").ComplianceReview | undefined;
9385
9386
  onboardingStatus?: import("../..").OfferingOnboardingStatus | undefined;
9386
9387
  enabled?: boolean | undefined;
9387
9388
  issuerId?: string | undefined;
9388
9389
  issuerName?: string | undefined;
9389
9390
  versioningType?: import("../..").OfferingVersioningType | undefined;
9390
- combinedStatus?: import("../..").OfferingStatus | undefined;
9391
9391
  }, {
9392
9392
  type?: import("../..").OfferingType | undefined;
9393
9393
  status?: import("../..").ComplianceReview | undefined;
@@ -9396,13 +9396,13 @@ export declare const clientsContract: {
9396
9396
  managedBy?: import("../..").ManagedByType | undefined;
9397
9397
  page?: number | undefined;
9398
9398
  limit?: number | undefined;
9399
+ complianceReview?: import("../..").ComplianceReview | undefined;
9399
9400
  onboardingStatus?: import("../..").OfferingOnboardingStatus | undefined;
9400
9401
  include?: string | undefined;
9401
9402
  enabled?: unknown;
9402
9403
  issuerId?: string | undefined;
9403
9404
  issuerName?: string | undefined;
9404
9405
  versioningType?: import("../..").OfferingVersioningType | undefined;
9405
- combinedStatus?: import("../..").OfferingStatus | undefined;
9406
9406
  }>;
9407
9407
  summary: "Get offerings";
9408
9408
  path: "/clients/api/v1/offerings";
@@ -10180,6 +10180,7 @@ export declare const clientsContract: {
10180
10180
  warrantPercentage: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
10181
10181
  calculationMethod: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNativeEnum<typeof import("../..").WarrantSharesCalculationMethod>>>;
10182
10182
  incrementThreshold: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
10183
+ showTotalRaised: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
10183
10184
  }, "strip", import("zod").ZodTypeAny, {
10184
10185
  type: import("../..").OfferingType;
10185
10186
  name: string;
@@ -10201,6 +10202,7 @@ export declare const clientsContract: {
10201
10202
  startAt?: Date | null | undefined;
10202
10203
  endAt?: Date | null | undefined;
10203
10204
  cancellationPeriod?: number | null | undefined;
10205
+ showTotalRaised?: boolean | undefined;
10204
10206
  hasEscrow?: boolean | undefined;
10205
10207
  bankAccountId?: string | null | undefined;
10206
10208
  escrowAccountId?: string | null | undefined;
@@ -10243,6 +10245,7 @@ export declare const clientsContract: {
10243
10245
  startAt?: string | null | undefined;
10244
10246
  endAt?: string | null | undefined;
10245
10247
  cancellationPeriod?: number | null | undefined;
10248
+ showTotalRaised?: boolean | undefined;
10246
10249
  hasEscrow?: boolean | undefined;
10247
10250
  bankAccountId?: string | null | undefined;
10248
10251
  escrowAccountId?: string | null | undefined;
@@ -10287,6 +10290,7 @@ export declare const clientsContract: {
10287
10290
  startAt?: Date | null | undefined;
10288
10291
  endAt?: Date | null | undefined;
10289
10292
  cancellationPeriod?: number | null | undefined;
10293
+ showTotalRaised?: boolean | undefined;
10290
10294
  hasEscrow?: boolean | undefined;
10291
10295
  bankAccountId?: string | null | undefined;
10292
10296
  escrowAccountId?: string | null | undefined;
@@ -10329,6 +10333,7 @@ export declare const clientsContract: {
10329
10333
  startAt?: string | null | undefined;
10330
10334
  endAt?: string | null | undefined;
10331
10335
  cancellationPeriod?: number | null | undefined;
10336
+ showTotalRaised?: boolean | undefined;
10332
10337
  hasEscrow?: boolean | undefined;
10333
10338
  bankAccountId?: string | null | undefined;
10334
10339
  escrowAccountId?: string | null | undefined;
@@ -10867,6 +10872,83 @@ export declare const clientsContract: {
10867
10872
  };
10868
10873
  };
10869
10874
  };
10875
+ review: {
10876
+ postReviewKyc: {
10877
+ method: "POST";
10878
+ metadata: {
10879
+ auth: boolean;
10880
+ };
10881
+ body: import("zod").ZodObject<{
10882
+ individualIds: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">;
10883
+ status: import("zod").ZodNativeEnum<typeof import("../..").BaseStatus>;
10884
+ }, "strip", import("zod").ZodTypeAny, {
10885
+ status: import("../..").BaseStatus;
10886
+ individualIds: string[];
10887
+ }, {
10888
+ status: import("../..").BaseStatus;
10889
+ individualIds: string[];
10890
+ }>;
10891
+ summary: "Post KYC review for individuals";
10892
+ path: "/clients/api/v1/review/kyc";
10893
+ responses: {
10894
+ 201: import("zod").ZodObject<{
10895
+ individualsUpdated: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">;
10896
+ status: import("zod").ZodNativeEnum<typeof import("../..").BaseStatus>;
10897
+ reviewedBy: import("zod").ZodString;
10898
+ targetObject: import("zod").ZodAny;
10899
+ }, "strip", import("zod").ZodTypeAny, {
10900
+ status: import("../..").BaseStatus;
10901
+ reviewedBy: string;
10902
+ individualsUpdated: string[];
10903
+ targetObject?: any;
10904
+ }, {
10905
+ status: import("../..").BaseStatus;
10906
+ reviewedBy: string;
10907
+ individualsUpdated: string[];
10908
+ targetObject?: any;
10909
+ }>;
10910
+ 401: import("zod").ZodObject<{
10911
+ status: import("zod").ZodNumber;
10912
+ message: import("zod").ZodString;
10913
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
10914
+ }, "strip", import("zod").ZodTypeAny, {
10915
+ message: string;
10916
+ status: number;
10917
+ errors: string[];
10918
+ }, {
10919
+ message: string;
10920
+ status: number;
10921
+ errors: string[];
10922
+ }>;
10923
+ 403: import("zod").ZodObject<{
10924
+ status: import("zod").ZodNumber;
10925
+ message: import("zod").ZodString;
10926
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
10927
+ }, "strip", import("zod").ZodTypeAny, {
10928
+ message: string;
10929
+ status: number;
10930
+ errors: string[];
10931
+ }, {
10932
+ message: string;
10933
+ status: number;
10934
+ errors: string[];
10935
+ }>;
10936
+ 500: import("zod").ZodObject<{
10937
+ status: import("zod").ZodNumber;
10938
+ message: import("zod").ZodString;
10939
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
10940
+ }, "strip", import("zod").ZodTypeAny, {
10941
+ message: string;
10942
+ status: number;
10943
+ errors: string[];
10944
+ }, {
10945
+ message: string;
10946
+ status: number;
10947
+ errors: string[];
10948
+ }>;
10949
+ };
10950
+ };
10951
+ };
10870
10952
  secureRequests: {
10871
10953
  postSecureRequest: {
10872
10954
  method: "POST";
@@ -21,6 +21,7 @@ import { paymentMethodsContract } from './payment-methods/index.js';
21
21
  import { issuerPaymentMethodsContract } from './issuer-payment-methods/index.js';
22
22
  import { tradeLineItemsContract } from './trade-line-items/index.js';
23
23
  import { clientsTransactionsContract } from './transactions/index.js';
24
+ import { reviewContract } from './review/index.js';
24
25
  const c = initContract();
25
26
  // API KEY AUTH
26
27
  export const clientsContract = c.router({
@@ -41,6 +42,7 @@ export const clientsContract = c.router({
41
42
  legalEntities: legalEntityContract,
42
43
  offerings: offeringsContract,
43
44
  paymentMethods: paymentMethodsContract,
45
+ review: reviewContract,
44
46
  secureRequests: secureRequestContract,
45
47
  sites: sitesContract,
46
48
  tradeLineItems: tradeLineItemsContract,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,qBAA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C,MAAM,CAAC,GAAG,YAAY,EAAE,CAAC;AAEzB,eAAe;AACf,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CACrC;IACE,QAAQ,EAAE,gBAAgB;IAC1B,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,eAAe;IACxB,UAAU,EAAE,wBAAwB;IACpC,MAAM,EAAE,cAAc;IACtB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,mBAAmB;IAChC,WAAW,EAAE,mBAAmB;IAChC,gBAAgB,EAAE,wBAAwB;IAC1C,oBAAoB,EAAE,4BAA4B;IAClD,OAAO,EAAE,eAAe;IACxB,GAAG,EAAE,WAAW;IAChB,aAAa,EAAE,mBAAmB;IAClC,SAAS,EAAE,iBAAiB;IAC5B,cAAc,EAAE,sBAAsB;IACtC,MAAM,EAAE,cAAc;IACtB,cAAc,EAAE,qBAAqB;IACrC,KAAK,EAAE,aAAa;IACpB,cAAc,EAAE,sBAAsB;IACtC,MAAM,EAAE,cAAc;IACtB,YAAY,EAAE,2BAA2B;CAC1C,EACD;IACE,UAAU,EAAE,kBAAkB;CAC/B,CACF,CAAC"}
@@ -20,8 +20,8 @@ export declare const offeringsContract: {
20
20
  enabled: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
21
21
  managedBy: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").ManagedByType>>;
22
22
  versioningType: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").OfferingVersioningType>>;
23
- combinedStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").OfferingStatus>>;
24
23
  onboardingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").OfferingOnboardingStatus>>;
24
+ complianceReview: z.ZodOptional<z.ZodNativeEnum<typeof import("../../..").ComplianceReview>>;
25
25
  }, "strip", z.ZodTypeAny, {
26
26
  page: number;
27
27
  limit: number;
@@ -31,12 +31,12 @@ export declare const offeringsContract: {
31
31
  accountId?: string | undefined;
32
32
  name?: string | undefined;
33
33
  managedBy?: import("../../..").ManagedByType | undefined;
34
+ complianceReview?: import("../../..").ComplianceReview | undefined;
34
35
  onboardingStatus?: import("../../..").OfferingOnboardingStatus | undefined;
35
36
  enabled?: boolean | undefined;
36
37
  issuerId?: string | undefined;
37
38
  issuerName?: string | undefined;
38
39
  versioningType?: import("../../..").OfferingVersioningType | undefined;
39
- combinedStatus?: import("../../..").OfferingStatus | undefined;
40
40
  }, {
41
41
  type?: import("../../..").OfferingType | undefined;
42
42
  status?: import("../../..").ComplianceReview | undefined;
@@ -45,13 +45,13 @@ export declare const offeringsContract: {
45
45
  managedBy?: import("../../..").ManagedByType | undefined;
46
46
  page?: number | undefined;
47
47
  limit?: number | undefined;
48
+ complianceReview?: import("../../..").ComplianceReview | undefined;
48
49
  onboardingStatus?: import("../../..").OfferingOnboardingStatus | undefined;
49
50
  include?: string | undefined;
50
51
  enabled?: unknown;
51
52
  issuerId?: string | undefined;
52
53
  issuerName?: string | undefined;
53
54
  versioningType?: import("../../..").OfferingVersioningType | undefined;
54
- combinedStatus?: import("../../..").OfferingStatus | undefined;
55
55
  }>;
56
56
  summary: "Get offerings";
57
57
  path: "offerings";
@@ -829,6 +829,7 @@ export declare const offeringsContract: {
829
829
  warrantPercentage: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
830
830
  calculationMethod: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../..").WarrantSharesCalculationMethod>>>;
831
831
  incrementThreshold: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
832
+ showTotalRaised: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
832
833
  }, "strip", z.ZodTypeAny, {
833
834
  type: import("../../..").OfferingType;
834
835
  name: string;
@@ -850,6 +851,7 @@ export declare const offeringsContract: {
850
851
  startAt?: Date | null | undefined;
851
852
  endAt?: Date | null | undefined;
852
853
  cancellationPeriod?: number | null | undefined;
854
+ showTotalRaised?: boolean | undefined;
853
855
  hasEscrow?: boolean | undefined;
854
856
  bankAccountId?: string | null | undefined;
855
857
  escrowAccountId?: string | null | undefined;
@@ -892,6 +894,7 @@ export declare const offeringsContract: {
892
894
  startAt?: string | null | undefined;
893
895
  endAt?: string | null | undefined;
894
896
  cancellationPeriod?: number | null | undefined;
897
+ showTotalRaised?: boolean | undefined;
895
898
  hasEscrow?: boolean | undefined;
896
899
  bankAccountId?: string | null | undefined;
897
900
  escrowAccountId?: string | null | undefined;
@@ -936,6 +939,7 @@ export declare const offeringsContract: {
936
939
  startAt?: Date | null | undefined;
937
940
  endAt?: Date | null | undefined;
938
941
  cancellationPeriod?: number | null | undefined;
942
+ showTotalRaised?: boolean | undefined;
939
943
  hasEscrow?: boolean | undefined;
940
944
  bankAccountId?: string | null | undefined;
941
945
  escrowAccountId?: string | null | undefined;
@@ -978,6 +982,7 @@ export declare const offeringsContract: {
978
982
  startAt?: string | null | undefined;
979
983
  endAt?: string | null | undefined;
980
984
  cancellationPeriod?: number | null | undefined;
985
+ showTotalRaised?: boolean | undefined;
981
986
  hasEscrow?: boolean | undefined;
982
987
  bankAccountId?: string | null | undefined;
983
988
  escrowAccountId?: string | null | undefined;
@@ -0,0 +1,77 @@
1
+ export declare const reviewContract: {
2
+ postReviewKyc: {
3
+ method: "POST";
4
+ metadata: {
5
+ auth: boolean;
6
+ };
7
+ body: import("zod").ZodObject<{
8
+ individualIds: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">;
9
+ status: import("zod").ZodNativeEnum<typeof import("../../..").BaseStatus>;
10
+ }, "strip", import("zod").ZodTypeAny, {
11
+ status: import("../../..").BaseStatus;
12
+ individualIds: string[];
13
+ }, {
14
+ status: import("../../..").BaseStatus;
15
+ individualIds: string[];
16
+ }>;
17
+ summary: "Post KYC review for individuals";
18
+ path: "review/kyc";
19
+ responses: {
20
+ 201: import("zod").ZodObject<{
21
+ individualsUpdated: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">;
22
+ status: import("zod").ZodNativeEnum<typeof import("../../..").BaseStatus>;
23
+ reviewedBy: import("zod").ZodString;
24
+ targetObject: import("zod").ZodAny;
25
+ }, "strip", import("zod").ZodTypeAny, {
26
+ status: import("../../..").BaseStatus;
27
+ reviewedBy: string;
28
+ individualsUpdated: string[];
29
+ targetObject?: any;
30
+ }, {
31
+ status: import("../../..").BaseStatus;
32
+ reviewedBy: string;
33
+ individualsUpdated: string[];
34
+ targetObject?: any;
35
+ }>;
36
+ 401: import("zod").ZodObject<{
37
+ status: import("zod").ZodNumber;
38
+ message: import("zod").ZodString;
39
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
40
+ }, "strip", import("zod").ZodTypeAny, {
41
+ message: string;
42
+ status: number;
43
+ errors: string[];
44
+ }, {
45
+ message: string;
46
+ status: number;
47
+ errors: string[];
48
+ }>;
49
+ 403: import("zod").ZodObject<{
50
+ status: import("zod").ZodNumber;
51
+ message: import("zod").ZodString;
52
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
53
+ }, "strip", import("zod").ZodTypeAny, {
54
+ message: string;
55
+ status: number;
56
+ errors: string[];
57
+ }, {
58
+ message: string;
59
+ status: number;
60
+ errors: string[];
61
+ }>;
62
+ 500: import("zod").ZodObject<{
63
+ status: import("zod").ZodNumber;
64
+ message: import("zod").ZodString;
65
+ errors: import("zod").ZodArray<import("zod").ZodString, "many">;
66
+ }, "strip", import("zod").ZodTypeAny, {
67
+ message: string;
68
+ status: number;
69
+ errors: string[];
70
+ }, {
71
+ message: string;
72
+ status: number;
73
+ errors: string[];
74
+ }>;
75
+ };
76
+ };
77
+ };
@@ -0,0 +1,23 @@
1
+ import { initContract } from '@ts-rest/core';
2
+ import { ForbiddenError, InternalError, UnauthorizedError, PostReviewBody, PostReviewResponse, } from '../../../common/types/index.js';
3
+ const c = initContract();
4
+ export const reviewContract = c.router({
5
+ postReviewKyc: {
6
+ summary: 'Post KYC review for individuals',
7
+ method: 'POST',
8
+ path: '/kyc',
9
+ metadata: {
10
+ auth: true,
11
+ },
12
+ body: PostReviewBody,
13
+ responses: {
14
+ 201: PostReviewResponse,
15
+ 401: UnauthorizedError,
16
+ 403: ForbiddenError,
17
+ 500: InternalError,
18
+ },
19
+ },
20
+ }, {
21
+ pathPrefix: 'review',
22
+ });
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,YAAY,EAAE,CAAC;AAEzB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CACpC;IACE,aAAa,EAAE;QACb,OAAO,EAAE,iCAAiC;QAC1C,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE;YACR,IAAI,EAAE,IAAI;SACX;QACD,IAAI,EAAE,cAAc;QACpB,SAAS,EAAE;YACT,GAAG,EAAE,kBAAkB;YACvB,GAAG,EAAE,iBAAiB;YACtB,GAAG,EAAE,cAAc;YACnB,GAAG,EAAE,aAAa;SACnB;KACF;CACF,EACD;IACE,UAAU,EAAE,QAAQ;CACrB,CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalmore/api-contracts",
3
- "version": "0.0.0-dev.686830",
3
+ "version": "0.0.0-dev.6e52837",
4
4
  "description": "Type-safe API contracts for Dalmore Client Portal",
5
5
  "type": "module",
6
6
  "main": "./index.js",