@stashfin/grpc 1.2.332 → 1.2.334

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 (36) hide show
  1. package/package.json +1 -1
  2. package/ts/customers/enach/updatetxnstatus.d.ts +1 -4
  3. package/ts/customers/enach/updatetxnstatus.js +8 -64
  4. package/ts/customers/getcustomerdetailsbymobile.d.ts +42 -0
  5. package/ts/customers/getcustomerdetailsbymobile.js +219 -0
  6. package/ts/customers/getprofile.d.ts +1 -0
  7. package/ts/customers/getprofile.js +16 -1
  8. package/ts/customers/getrpdlink.d.ts +40 -0
  9. package/ts/customers/getrpdlink.js +190 -0
  10. package/ts/customers/sendemailtoken.d.ts +35 -0
  11. package/ts/customers/sendemailtoken.js +117 -0
  12. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  13. package/ts/customers/skipdlrcscreen.js +117 -0
  14. package/ts/customers/step1.d.ts +69 -0
  15. package/ts/customers/step1.js +395 -0
  16. package/ts/customers/step10.d.ts +73 -0
  17. package/ts/customers/step10.js +459 -0
  18. package/ts/customers/step2.d.ts +68 -0
  19. package/ts/customers/step2.js +381 -0
  20. package/ts/customers/step7.d.ts +68 -0
  21. package/ts/customers/step7.js +381 -0
  22. package/ts/customers/step8.d.ts +69 -0
  23. package/ts/customers/step8.js +395 -0
  24. package/ts/customers/step9.d.ts +75 -0
  25. package/ts/customers/step9.js +489 -0
  26. package/ts/customers/stepstatic.d.ts +66 -0
  27. package/ts/customers/stepstatic.js +354 -0
  28. package/ts/customers/verifyemail.d.ts +35 -0
  29. package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
  30. package/ts/customers.d.ts +33 -6
  31. package/ts/customers.js +21 -2
  32. package/ts/google/protobuf/timestamp.d.ts +127 -0
  33. package/ts/google/protobuf/timestamp.js +97 -0
  34. package/ts/payments/fundtransfer.d.ts +3 -2
  35. package/ts/payments/fundtransfer.js +35 -22
  36. package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.332",
3
+ "version": "1.2.334",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -1,11 +1,8 @@
1
1
  import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "customers.enach.updatetxnstatus";
3
3
  export interface updateTxnStatusRequest {
4
- order_id: string;
4
+ txn_id: string;
5
5
  status: string;
6
- mode?: string | undefined;
7
- customer_id?: number | undefined;
8
- clint_id?: string | undefined;
9
6
  }
10
7
  export interface updateTxnStatusResponse {
11
8
  status: string;
@@ -10,29 +10,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
11
  exports.updateTxnStatusResponse = exports.updateTxnStatusRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
- const long_1 = __importDefault(require("long"));
14
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
14
  exports.protobufPackage = "customers.enach.updatetxnstatus";
16
15
  function createBaseupdateTxnStatusRequest() {
17
- return { order_id: "", status: "", mode: undefined, customer_id: undefined, clint_id: undefined };
16
+ return { txn_id: "", status: "" };
18
17
  }
19
18
  exports.updateTxnStatusRequest = {
20
19
  encode(message, writer = minimal_1.default.Writer.create()) {
21
- if (message.order_id !== "") {
22
- writer.uint32(10).string(message.order_id);
20
+ if (message.txn_id !== "") {
21
+ writer.uint32(10).string(message.txn_id);
23
22
  }
24
23
  if (message.status !== "") {
25
24
  writer.uint32(18).string(message.status);
26
25
  }
27
- if (message.mode !== undefined) {
28
- writer.uint32(26).string(message.mode);
29
- }
30
- if (message.customer_id !== undefined) {
31
- writer.uint32(32).int64(message.customer_id);
32
- }
33
- if (message.clint_id !== undefined) {
34
- writer.uint32(42).string(message.clint_id);
35
- }
36
26
  return writer;
37
27
  },
38
28
  decode(input, length) {
@@ -46,7 +36,7 @@ exports.updateTxnStatusRequest = {
46
36
  if (tag !== 10) {
47
37
  break;
48
38
  }
49
- message.order_id = reader.string();
39
+ message.txn_id = reader.string();
50
40
  continue;
51
41
  case 2:
52
42
  if (tag !== 18) {
@@ -54,24 +44,6 @@ exports.updateTxnStatusRequest = {
54
44
  }
55
45
  message.status = reader.string();
56
46
  continue;
57
- case 3:
58
- if (tag !== 26) {
59
- break;
60
- }
61
- message.mode = reader.string();
62
- continue;
63
- case 4:
64
- if (tag !== 32) {
65
- break;
66
- }
67
- message.customer_id = longToNumber(reader.int64());
68
- continue;
69
- case 5:
70
- if (tag !== 42) {
71
- break;
72
- }
73
- message.clint_id = reader.string();
74
- continue;
75
47
  }
76
48
  if ((tag & 7) === 4 || tag === 0) {
77
49
  break;
@@ -82,30 +54,18 @@ exports.updateTxnStatusRequest = {
82
54
  },
83
55
  fromJSON(object) {
84
56
  return {
85
- order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "",
57
+ txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
86
58
  status: isSet(object.status) ? globalThis.String(object.status) : "",
87
- mode: isSet(object.mode) ? globalThis.String(object.mode) : undefined,
88
- customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : undefined,
89
- clint_id: isSet(object.clint_id) ? globalThis.String(object.clint_id) : undefined,
90
59
  };
91
60
  },
92
61
  toJSON(message) {
93
62
  const obj = {};
94
- if (message.order_id !== "") {
95
- obj.order_id = message.order_id;
63
+ if (message.txn_id !== "") {
64
+ obj.txn_id = message.txn_id;
96
65
  }
97
66
  if (message.status !== "") {
98
67
  obj.status = message.status;
99
68
  }
100
- if (message.mode !== undefined) {
101
- obj.mode = message.mode;
102
- }
103
- if (message.customer_id !== undefined) {
104
- obj.customer_id = Math.round(message.customer_id);
105
- }
106
- if (message.clint_id !== undefined) {
107
- obj.clint_id = message.clint_id;
108
- }
109
69
  return obj;
110
70
  },
111
71
  create(base) {
@@ -113,11 +73,8 @@ exports.updateTxnStatusRequest = {
113
73
  },
114
74
  fromPartial(object) {
115
75
  const message = createBaseupdateTxnStatusRequest();
116
- message.order_id = object.order_id ?? "";
76
+ message.txn_id = object.txn_id ?? "";
117
77
  message.status = object.status ?? "";
118
- message.mode = object.mode ?? undefined;
119
- message.customer_id = object.customer_id ?? undefined;
120
- message.clint_id = object.clint_id ?? undefined;
121
78
  return message;
122
79
  },
123
80
  };
@@ -171,19 +128,6 @@ exports.updateTxnStatusResponse = {
171
128
  return message;
172
129
  },
173
130
  };
174
- function longToNumber(long) {
175
- if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
176
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
177
- }
178
- if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
179
- throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
180
- }
181
- return long.toNumber();
182
- }
183
- if (minimal_1.default.util.Long !== long_1.default) {
184
- minimal_1.default.util.Long = long_1.default;
185
- minimal_1.default.configure();
186
- }
187
131
  function isSet(value) {
188
132
  return value !== null && value !== undefined;
189
133
  }
@@ -0,0 +1,42 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.getcustomerdetailsbymobile";
3
+ export interface getCustomerDetailsRequest {
4
+ mobile: string;
5
+ dob: string;
6
+ }
7
+ export interface getCustomerDetailsResponse {
8
+ customerId: number;
9
+ first_name: string;
10
+ middle_name: string;
11
+ last_name: string;
12
+ mobile: string;
13
+ /** Date of birth in the format YYYY-MM-DD */
14
+ dob: string;
15
+ }
16
+ export declare const getCustomerDetailsRequest: {
17
+ encode(message: getCustomerDetailsRequest, writer?: _m0.Writer): _m0.Writer;
18
+ decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerDetailsRequest;
19
+ fromJSON(object: any): getCustomerDetailsRequest;
20
+ toJSON(message: getCustomerDetailsRequest): unknown;
21
+ create<I extends Exact<DeepPartial<getCustomerDetailsRequest>, I>>(base?: I): getCustomerDetailsRequest;
22
+ fromPartial<I extends Exact<DeepPartial<getCustomerDetailsRequest>, I>>(object: I): getCustomerDetailsRequest;
23
+ };
24
+ export declare const getCustomerDetailsResponse: {
25
+ encode(message: getCustomerDetailsResponse, writer?: _m0.Writer): _m0.Writer;
26
+ decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerDetailsResponse;
27
+ fromJSON(object: any): getCustomerDetailsResponse;
28
+ toJSON(message: getCustomerDetailsResponse): unknown;
29
+ create<I extends Exact<DeepPartial<getCustomerDetailsResponse>, I>>(base?: I): getCustomerDetailsResponse;
30
+ fromPartial<I extends Exact<DeepPartial<getCustomerDetailsResponse>, I>>(object: I): getCustomerDetailsResponse;
31
+ };
32
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
33
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
34
+ [K in keyof T]?: DeepPartial<T[K]>;
35
+ } : Partial<T>;
36
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
37
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
38
+ [K in keyof P]: Exact<P[K], I[K]>;
39
+ } & {
40
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
41
+ };
42
+ export {};
@@ -0,0 +1,219 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
+ // source: customers/getcustomerdetailsbymobile.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.getCustomerDetailsResponse = exports.getCustomerDetailsRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const long_1 = __importDefault(require("long"));
14
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
+ exports.protobufPackage = "customers.getcustomerdetailsbymobile";
16
+ function createBasegetCustomerDetailsRequest() {
17
+ return { mobile: "", dob: "" };
18
+ }
19
+ exports.getCustomerDetailsRequest = {
20
+ encode(message, writer = minimal_1.default.Writer.create()) {
21
+ if (message.mobile !== "") {
22
+ writer.uint32(10).string(message.mobile);
23
+ }
24
+ if (message.dob !== "") {
25
+ writer.uint32(18).string(message.dob);
26
+ }
27
+ return writer;
28
+ },
29
+ decode(input, length) {
30
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
31
+ let end = length === undefined ? reader.len : reader.pos + length;
32
+ const message = createBasegetCustomerDetailsRequest();
33
+ while (reader.pos < end) {
34
+ const tag = reader.uint32();
35
+ switch (tag >>> 3) {
36
+ case 1:
37
+ if (tag !== 10) {
38
+ break;
39
+ }
40
+ message.mobile = reader.string();
41
+ continue;
42
+ case 2:
43
+ if (tag !== 18) {
44
+ break;
45
+ }
46
+ message.dob = reader.string();
47
+ continue;
48
+ }
49
+ if ((tag & 7) === 4 || tag === 0) {
50
+ break;
51
+ }
52
+ reader.skipType(tag & 7);
53
+ }
54
+ return message;
55
+ },
56
+ fromJSON(object) {
57
+ return {
58
+ mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
59
+ dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
60
+ };
61
+ },
62
+ toJSON(message) {
63
+ const obj = {};
64
+ if (message.mobile !== "") {
65
+ obj.mobile = message.mobile;
66
+ }
67
+ if (message.dob !== "") {
68
+ obj.dob = message.dob;
69
+ }
70
+ return obj;
71
+ },
72
+ create(base) {
73
+ return exports.getCustomerDetailsRequest.fromPartial(base ?? {});
74
+ },
75
+ fromPartial(object) {
76
+ const message = createBasegetCustomerDetailsRequest();
77
+ message.mobile = object.mobile ?? "";
78
+ message.dob = object.dob ?? "";
79
+ return message;
80
+ },
81
+ };
82
+ function createBasegetCustomerDetailsResponse() {
83
+ return { customerId: 0, first_name: "", middle_name: "", last_name: "", mobile: "", dob: "" };
84
+ }
85
+ exports.getCustomerDetailsResponse = {
86
+ encode(message, writer = minimal_1.default.Writer.create()) {
87
+ if (message.customerId !== 0) {
88
+ writer.uint32(8).int64(message.customerId);
89
+ }
90
+ if (message.first_name !== "") {
91
+ writer.uint32(18).string(message.first_name);
92
+ }
93
+ if (message.middle_name !== "") {
94
+ writer.uint32(26).string(message.middle_name);
95
+ }
96
+ if (message.last_name !== "") {
97
+ writer.uint32(34).string(message.last_name);
98
+ }
99
+ if (message.mobile !== "") {
100
+ writer.uint32(42).string(message.mobile);
101
+ }
102
+ if (message.dob !== "") {
103
+ writer.uint32(50).string(message.dob);
104
+ }
105
+ return writer;
106
+ },
107
+ decode(input, length) {
108
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
109
+ let end = length === undefined ? reader.len : reader.pos + length;
110
+ const message = createBasegetCustomerDetailsResponse();
111
+ while (reader.pos < end) {
112
+ const tag = reader.uint32();
113
+ switch (tag >>> 3) {
114
+ case 1:
115
+ if (tag !== 8) {
116
+ break;
117
+ }
118
+ message.customerId = longToNumber(reader.int64());
119
+ continue;
120
+ case 2:
121
+ if (tag !== 18) {
122
+ break;
123
+ }
124
+ message.first_name = reader.string();
125
+ continue;
126
+ case 3:
127
+ if (tag !== 26) {
128
+ break;
129
+ }
130
+ message.middle_name = reader.string();
131
+ continue;
132
+ case 4:
133
+ if (tag !== 34) {
134
+ break;
135
+ }
136
+ message.last_name = reader.string();
137
+ continue;
138
+ case 5:
139
+ if (tag !== 42) {
140
+ break;
141
+ }
142
+ message.mobile = reader.string();
143
+ continue;
144
+ case 6:
145
+ if (tag !== 50) {
146
+ break;
147
+ }
148
+ message.dob = reader.string();
149
+ continue;
150
+ }
151
+ if ((tag & 7) === 4 || tag === 0) {
152
+ break;
153
+ }
154
+ reader.skipType(tag & 7);
155
+ }
156
+ return message;
157
+ },
158
+ fromJSON(object) {
159
+ return {
160
+ customerId: isSet(object.customerId) ? globalThis.Number(object.customerId) : 0,
161
+ first_name: isSet(object.first_name) ? globalThis.String(object.first_name) : "",
162
+ middle_name: isSet(object.middle_name) ? globalThis.String(object.middle_name) : "",
163
+ last_name: isSet(object.last_name) ? globalThis.String(object.last_name) : "",
164
+ mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
165
+ dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
166
+ };
167
+ },
168
+ toJSON(message) {
169
+ const obj = {};
170
+ if (message.customerId !== 0) {
171
+ obj.customerId = Math.round(message.customerId);
172
+ }
173
+ if (message.first_name !== "") {
174
+ obj.first_name = message.first_name;
175
+ }
176
+ if (message.middle_name !== "") {
177
+ obj.middle_name = message.middle_name;
178
+ }
179
+ if (message.last_name !== "") {
180
+ obj.last_name = message.last_name;
181
+ }
182
+ if (message.mobile !== "") {
183
+ obj.mobile = message.mobile;
184
+ }
185
+ if (message.dob !== "") {
186
+ obj.dob = message.dob;
187
+ }
188
+ return obj;
189
+ },
190
+ create(base) {
191
+ return exports.getCustomerDetailsResponse.fromPartial(base ?? {});
192
+ },
193
+ fromPartial(object) {
194
+ const message = createBasegetCustomerDetailsResponse();
195
+ message.customerId = object.customerId ?? 0;
196
+ message.first_name = object.first_name ?? "";
197
+ message.middle_name = object.middle_name ?? "";
198
+ message.last_name = object.last_name ?? "";
199
+ message.mobile = object.mobile ?? "";
200
+ message.dob = object.dob ?? "";
201
+ return message;
202
+ },
203
+ };
204
+ function longToNumber(long) {
205
+ if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
206
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
207
+ }
208
+ if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
209
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
210
+ }
211
+ return long.toNumber();
212
+ }
213
+ if (minimal_1.default.util.Long !== long_1.default) {
214
+ minimal_1.default.util.Long = long_1.default;
215
+ minimal_1.default.configure();
216
+ }
217
+ function isSet(value) {
218
+ return value !== null && value !== undefined;
219
+ }
@@ -10,6 +10,7 @@ export interface getCustomerProfileResponse {
10
10
  email: string;
11
11
  profile_completion_status: number;
12
12
  category: string;
13
+ pincode: string;
13
14
  details: ProfileDetail[];
14
15
  }
15
16
  export interface ProfileDetail {
@@ -58,6 +58,7 @@ function createBasegetCustomerProfileResponse() {
58
58
  email: "",
59
59
  profile_completion_status: 0,
60
60
  category: "",
61
+ pincode: "",
61
62
  details: [],
62
63
  };
63
64
  }
@@ -84,8 +85,11 @@ exports.getCustomerProfileResponse = {
84
85
  if (message.category !== "") {
85
86
  writer.uint32(58).string(message.category);
86
87
  }
88
+ if (message.pincode !== "") {
89
+ writer.uint32(66).string(message.pincode);
90
+ }
87
91
  for (const v of message.details) {
88
- exports.ProfileDetail.encode(v, writer.uint32(66).fork()).ldelim();
92
+ exports.ProfileDetail.encode(v, writer.uint32(74).fork()).ldelim();
89
93
  }
90
94
  return writer;
91
95
  },
@@ -142,6 +146,12 @@ exports.getCustomerProfileResponse = {
142
146
  if (tag !== 66) {
143
147
  break;
144
148
  }
149
+ message.pincode = reader.string();
150
+ continue;
151
+ case 9:
152
+ if (tag !== 74) {
153
+ break;
154
+ }
145
155
  message.details.push(exports.ProfileDetail.decode(reader, reader.uint32()));
146
156
  continue;
147
157
  }
@@ -163,6 +173,7 @@ exports.getCustomerProfileResponse = {
163
173
  ? globalThis.Number(object.profile_completion_status)
164
174
  : 0,
165
175
  category: isSet(object.category) ? globalThis.String(object.category) : "",
176
+ pincode: isSet(object.pincode) ? globalThis.String(object.pincode) : "",
166
177
  details: globalThis.Array.isArray(object?.details)
167
178
  ? object.details.map((e) => exports.ProfileDetail.fromJSON(e))
168
179
  : [],
@@ -191,6 +202,9 @@ exports.getCustomerProfileResponse = {
191
202
  if (message.category !== "") {
192
203
  obj.category = message.category;
193
204
  }
205
+ if (message.pincode !== "") {
206
+ obj.pincode = message.pincode;
207
+ }
194
208
  if (message.details?.length) {
195
209
  obj.details = message.details.map((e) => exports.ProfileDetail.toJSON(e));
196
210
  }
@@ -208,6 +222,7 @@ exports.getCustomerProfileResponse = {
208
222
  message.email = object.email ?? "";
209
223
  message.profile_completion_status = object.profile_completion_status ?? 0;
210
224
  message.category = object.category ?? "";
225
+ message.pincode = object.pincode ?? "";
211
226
  message.details = object.details?.map((e) => exports.ProfileDetail.fromPartial(e)) || [];
212
227
  return message;
213
228
  },
@@ -0,0 +1,40 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.getrpdlink";
3
+ export interface createRpdLinkRequest {
4
+ }
5
+ export interface createRpdLinkResponse {
6
+ id: string;
7
+ shortUrl: string;
8
+ status: string;
9
+ traceId: string;
10
+ upiBillId: string;
11
+ upiLink: string;
12
+ validUpto: string;
13
+ }
14
+ export declare const createRpdLinkRequest: {
15
+ encode(_: createRpdLinkRequest, writer?: _m0.Writer): _m0.Writer;
16
+ decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkRequest;
17
+ fromJSON(_: any): createRpdLinkRequest;
18
+ toJSON(_: createRpdLinkRequest): unknown;
19
+ create<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(base?: I): createRpdLinkRequest;
20
+ fromPartial<I extends Exact<DeepPartial<createRpdLinkRequest>, I>>(_: I): createRpdLinkRequest;
21
+ };
22
+ export declare const createRpdLinkResponse: {
23
+ encode(message: createRpdLinkResponse, writer?: _m0.Writer): _m0.Writer;
24
+ decode(input: _m0.Reader | Uint8Array, length?: number): createRpdLinkResponse;
25
+ fromJSON(object: any): createRpdLinkResponse;
26
+ toJSON(message: createRpdLinkResponse): unknown;
27
+ create<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(base?: I): createRpdLinkResponse;
28
+ fromPartial<I extends Exact<DeepPartial<createRpdLinkResponse>, I>>(object: I): createRpdLinkResponse;
29
+ };
30
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
31
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
32
+ [K in keyof T]?: DeepPartial<T[K]>;
33
+ } : Partial<T>;
34
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
35
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
36
+ [K in keyof P]: Exact<P[K], I[K]>;
37
+ } & {
38
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
39
+ };
40
+ export {};