@_henriquewilson/gabirubi-domain 1.0.30 → 1.0.32
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/model/iugu/iugu-charge.d.mts +54 -0
- package/dist/model/iugu/iugu-charge.d.ts +54 -0
- package/dist/model/iugu/iugu-charge.js +78 -0
- package/dist/model/iugu/iugu-charge.js.map +1 -0
- package/dist/model/iugu/iugu-charge.mjs +23 -0
- package/dist/model/iugu/iugu-charge.mjs.map +1 -0
- package/dist/model/subscription.model.d.mts +6 -0
- package/dist/model/subscription.model.d.ts +6 -0
- package/dist/model/subscription.model.js +67 -64
- package/dist/model/subscription.model.js.map +1 -1
- package/dist/model/subscription.model.mjs +67 -64
- package/dist/model/subscription.model.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const IuguChargeSchema: z.ZodObject<{
|
|
4
|
+
message: z.ZodString;
|
|
5
|
+
status: z.ZodString;
|
|
6
|
+
info_message: z.ZodString;
|
|
7
|
+
reversible: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
8
|
+
token: z.ZodString;
|
|
9
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
10
|
+
bin: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
11
|
+
last4: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
12
|
+
issuer: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
13
|
+
success: z.ZodBoolean;
|
|
14
|
+
url: z.ZodString;
|
|
15
|
+
pdf: z.ZodString;
|
|
16
|
+
identification: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
17
|
+
invoice_id: z.ZodString;
|
|
18
|
+
LR: z.ZodString;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
message: string;
|
|
21
|
+
status: string;
|
|
22
|
+
info_message: string;
|
|
23
|
+
token: string;
|
|
24
|
+
success: boolean;
|
|
25
|
+
url: string;
|
|
26
|
+
pdf: string;
|
|
27
|
+
invoice_id: string;
|
|
28
|
+
LR: string;
|
|
29
|
+
brand?: string | null | undefined;
|
|
30
|
+
bin?: string | null | undefined;
|
|
31
|
+
reversible?: string | null | undefined;
|
|
32
|
+
last4?: string | null | undefined;
|
|
33
|
+
issuer?: string | null | undefined;
|
|
34
|
+
identification?: string | null | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
message: string;
|
|
37
|
+
status: string;
|
|
38
|
+
info_message: string;
|
|
39
|
+
token: string;
|
|
40
|
+
success: boolean;
|
|
41
|
+
url: string;
|
|
42
|
+
pdf: string;
|
|
43
|
+
invoice_id: string;
|
|
44
|
+
LR: string;
|
|
45
|
+
brand?: string | null | undefined;
|
|
46
|
+
bin?: string | null | undefined;
|
|
47
|
+
reversible?: string | null | undefined;
|
|
48
|
+
last4?: string | null | undefined;
|
|
49
|
+
issuer?: string | null | undefined;
|
|
50
|
+
identification?: string | null | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
type IuguCharge = z.infer<typeof IuguChargeSchema>;
|
|
53
|
+
|
|
54
|
+
export { IuguCharge, IuguChargeSchema };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const IuguChargeSchema: z.ZodObject<{
|
|
4
|
+
message: z.ZodString;
|
|
5
|
+
status: z.ZodString;
|
|
6
|
+
info_message: z.ZodString;
|
|
7
|
+
reversible: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
8
|
+
token: z.ZodString;
|
|
9
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
10
|
+
bin: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
11
|
+
last4: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
12
|
+
issuer: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
13
|
+
success: z.ZodBoolean;
|
|
14
|
+
url: z.ZodString;
|
|
15
|
+
pdf: z.ZodString;
|
|
16
|
+
identification: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
17
|
+
invoice_id: z.ZodString;
|
|
18
|
+
LR: z.ZodString;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
message: string;
|
|
21
|
+
status: string;
|
|
22
|
+
info_message: string;
|
|
23
|
+
token: string;
|
|
24
|
+
success: boolean;
|
|
25
|
+
url: string;
|
|
26
|
+
pdf: string;
|
|
27
|
+
invoice_id: string;
|
|
28
|
+
LR: string;
|
|
29
|
+
brand?: string | null | undefined;
|
|
30
|
+
bin?: string | null | undefined;
|
|
31
|
+
reversible?: string | null | undefined;
|
|
32
|
+
last4?: string | null | undefined;
|
|
33
|
+
issuer?: string | null | undefined;
|
|
34
|
+
identification?: string | null | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
message: string;
|
|
37
|
+
status: string;
|
|
38
|
+
info_message: string;
|
|
39
|
+
token: string;
|
|
40
|
+
success: boolean;
|
|
41
|
+
url: string;
|
|
42
|
+
pdf: string;
|
|
43
|
+
invoice_id: string;
|
|
44
|
+
LR: string;
|
|
45
|
+
brand?: string | null | undefined;
|
|
46
|
+
bin?: string | null | undefined;
|
|
47
|
+
reversible?: string | null | undefined;
|
|
48
|
+
last4?: string | null | undefined;
|
|
49
|
+
issuer?: string | null | undefined;
|
|
50
|
+
identification?: string | null | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
type IuguCharge = z.infer<typeof IuguChargeSchema>;
|
|
53
|
+
|
|
54
|
+
export { IuguCharge, IuguChargeSchema };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = function(target, all) {
|
|
7
|
+
for(var name in all)__defProp(target, name, {
|
|
8
|
+
get: all[name],
|
|
9
|
+
enumerable: true
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = function(to, from, except, desc) {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
15
|
+
try {
|
|
16
|
+
var _loop = function() {
|
|
17
|
+
var key = _step.value;
|
|
18
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
19
|
+
get: function() {
|
|
20
|
+
return from[key];
|
|
21
|
+
},
|
|
22
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
for(var _iterator = __getOwnPropNames(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true)_loop();
|
|
26
|
+
} catch (err) {
|
|
27
|
+
_didIteratorError = true;
|
|
28
|
+
_iteratorError = err;
|
|
29
|
+
} finally{
|
|
30
|
+
try {
|
|
31
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
32
|
+
_iterator.return();
|
|
33
|
+
}
|
|
34
|
+
} finally{
|
|
35
|
+
if (_didIteratorError) {
|
|
36
|
+
throw _iteratorError;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return to;
|
|
42
|
+
};
|
|
43
|
+
var __toCommonJS = function(mod) {
|
|
44
|
+
return __copyProps(__defProp({}, "__esModule", {
|
|
45
|
+
value: true
|
|
46
|
+
}), mod);
|
|
47
|
+
};
|
|
48
|
+
// src/model/iugu/iugu-charge.ts
|
|
49
|
+
var iugu_charge_exports = {};
|
|
50
|
+
__export(iugu_charge_exports, {
|
|
51
|
+
IuguChargeSchema: function() {
|
|
52
|
+
return IuguChargeSchema;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
module.exports = __toCommonJS(iugu_charge_exports);
|
|
56
|
+
var import_zod = require("zod");
|
|
57
|
+
var IuguChargeSchema = import_zod.z.object({
|
|
58
|
+
message: import_zod.z.string(),
|
|
59
|
+
status: import_zod.z.string(),
|
|
60
|
+
info_message: import_zod.z.string(),
|
|
61
|
+
reversible: import_zod.z.coerce.string().optional().nullish(),
|
|
62
|
+
token: import_zod.z.string(),
|
|
63
|
+
brand: import_zod.z.coerce.string().optional().nullish(),
|
|
64
|
+
bin: import_zod.z.coerce.string().optional().nullish(),
|
|
65
|
+
last4: import_zod.z.coerce.string().optional().nullish(),
|
|
66
|
+
issuer: import_zod.z.coerce.string().optional().nullish(),
|
|
67
|
+
success: import_zod.z.boolean(),
|
|
68
|
+
url: import_zod.z.string(),
|
|
69
|
+
pdf: import_zod.z.string(),
|
|
70
|
+
identification: import_zod.z.coerce.string().optional().nullish(),
|
|
71
|
+
invoice_id: import_zod.z.string(),
|
|
72
|
+
LR: import_zod.z.string()
|
|
73
|
+
});
|
|
74
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
75
|
+
0 && (module.exports = {
|
|
76
|
+
IuguChargeSchema: IuguChargeSchema
|
|
77
|
+
});
|
|
78
|
+
//# sourceMappingURL=iugu-charge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/model/iugu/iugu-charge.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAgB;AAET,IAAM,mBAAmB,aAAE,OAAO;AAAA,EACvC,SAAS,aAAE,OAAO;AAAA,EAClB,QAAQ,aAAE,OAAO;AAAA,EACjB,cAAc,aAAE,OAAO;AAAA,EACvB,YAAY,aAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EACjD,OAAO,aAAE,OAAO;AAAA,EAChB,OAAO,aAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EAC5C,KAAK,aAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EAC1C,OAAO,aAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EAC5C,QAAQ,aAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EAC7C,SAAS,aAAE,QAAQ;AAAA,EACnB,KAAK,aAAE,OAAO;AAAA,EACd,KAAK,aAAE,OAAO;AAAA,EACd,gBAAgB,aAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EACrD,YAAY,aAAE,OAAO;AAAA,EACrB,IAAI,aAAE,OAAO;AACf,CAAC","sourcesContent":["import {z} from \"zod\";\n\nexport const IuguChargeSchema = z.object({\n message: z.string(),\n status: z.string(),\n info_message: z.string(),\n reversible: z.coerce.string().optional().nullish(),\n token: z.string(),\n brand: z.coerce.string().optional().nullish(),\n bin: z.coerce.string().optional().nullish(),\n last4: z.coerce.string().optional().nullish(),\n issuer: z.coerce.string().optional().nullish(),\n success: z.boolean(),\n url: z.string(),\n pdf: z.string(),\n identification: z.coerce.string().optional().nullish(),\n invoice_id: z.string(),\n LR: z.string()\n})\n\nexport type IuguCharge = z.infer<typeof IuguChargeSchema>\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/model/iugu/iugu-charge.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
var IuguChargeSchema = z.object({
|
|
4
|
+
message: z.string(),
|
|
5
|
+
status: z.string(),
|
|
6
|
+
info_message: z.string(),
|
|
7
|
+
reversible: z.coerce.string().optional().nullish(),
|
|
8
|
+
token: z.string(),
|
|
9
|
+
brand: z.coerce.string().optional().nullish(),
|
|
10
|
+
bin: z.coerce.string().optional().nullish(),
|
|
11
|
+
last4: z.coerce.string().optional().nullish(),
|
|
12
|
+
issuer: z.coerce.string().optional().nullish(),
|
|
13
|
+
success: z.boolean(),
|
|
14
|
+
url: z.string(),
|
|
15
|
+
pdf: z.string(),
|
|
16
|
+
identification: z.coerce.string().optional().nullish(),
|
|
17
|
+
invoice_id: z.string(),
|
|
18
|
+
LR: z.string()
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
IuguChargeSchema
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=iugu-charge.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/model/iugu/iugu-charge.ts"],"sourcesContent":["import {z} from \"zod\";\n\nexport const IuguChargeSchema = z.object({\n message: z.string(),\n status: z.string(),\n info_message: z.string(),\n reversible: z.coerce.string().optional().nullish(),\n token: z.string(),\n brand: z.coerce.string().optional().nullish(),\n bin: z.coerce.string().optional().nullish(),\n last4: z.coerce.string().optional().nullish(),\n issuer: z.coerce.string().optional().nullish(),\n success: z.boolean(),\n url: z.string(),\n pdf: z.string(),\n identification: z.coerce.string().optional().nullish(),\n invoice_id: z.string(),\n LR: z.string()\n})\n\nexport type IuguCharge = z.infer<typeof IuguChargeSchema>\n"],"mappings":";AAAA,SAAQ,SAAQ;AAET,IAAM,mBAAmB,EAAE,OAAO;AAAA,EACvC,SAAS,EAAE,OAAO;AAAA,EAClB,QAAQ,EAAE,OAAO;AAAA,EACjB,cAAc,EAAE,OAAO;AAAA,EACvB,YAAY,EAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EACjD,OAAO,EAAE,OAAO;AAAA,EAChB,OAAO,EAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EAC5C,KAAK,EAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EAC1C,OAAO,EAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EAC5C,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EAC7C,SAAS,EAAE,QAAQ;AAAA,EACnB,KAAK,EAAE,OAAO;AAAA,EACd,KAAK,EAAE,OAAO;AAAA,EACd,gBAAgB,EAAE,OAAO,OAAO,EAAE,SAAS,EAAE,QAAQ;AAAA,EACrD,YAAY,EAAE,OAAO;AAAA,EACrB,IAAI,EAAE,OAAO;AACf,CAAC;","names":[]}
|
|
@@ -566,6 +566,8 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
566
566
|
name?: string | undefined;
|
|
567
567
|
phone?: string | undefined;
|
|
568
568
|
}>;
|
|
569
|
+
coupon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
570
|
+
portalEmail: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
569
571
|
}>, "strip", z.ZodTypeAny, {
|
|
570
572
|
invoice: {
|
|
571
573
|
id: string;
|
|
@@ -735,6 +737,8 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
735
737
|
order?: number | null | undefined;
|
|
736
738
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
737
739
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
740
|
+
coupon?: string | null | undefined;
|
|
741
|
+
portalEmail?: string | null | undefined;
|
|
738
742
|
}, {
|
|
739
743
|
invoice: {
|
|
740
744
|
id: string;
|
|
@@ -904,6 +908,8 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
904
908
|
order?: number | null | undefined;
|
|
905
909
|
createAt?: unknown;
|
|
906
910
|
updateAt?: unknown;
|
|
911
|
+
coupon?: string | null | undefined;
|
|
912
|
+
portalEmail?: string | null | undefined;
|
|
907
913
|
}>;
|
|
908
914
|
type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
909
915
|
|
|
@@ -566,6 +566,8 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
566
566
|
name?: string | undefined;
|
|
567
567
|
phone?: string | undefined;
|
|
568
568
|
}>;
|
|
569
|
+
coupon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
570
|
+
portalEmail: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
569
571
|
}>, "strip", z.ZodTypeAny, {
|
|
570
572
|
invoice: {
|
|
571
573
|
id: string;
|
|
@@ -735,6 +737,8 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
735
737
|
order?: number | null | undefined;
|
|
736
738
|
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
737
739
|
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
740
|
+
coupon?: string | null | undefined;
|
|
741
|
+
portalEmail?: string | null | undefined;
|
|
738
742
|
}, {
|
|
739
743
|
invoice: {
|
|
740
744
|
id: string;
|
|
@@ -904,6 +908,8 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
904
908
|
order?: number | null | undefined;
|
|
905
909
|
createAt?: unknown;
|
|
906
910
|
updateAt?: unknown;
|
|
911
|
+
coupon?: string | null | undefined;
|
|
912
|
+
portalEmail?: string | null | undefined;
|
|
907
913
|
}>;
|
|
908
914
|
type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
909
915
|
|
|
@@ -91559,11 +91559,11 @@ var require_bignumber = __commonJS({
|
|
|
91559
91559
|
return n3 > 0 || n3 === i1 ? i1 : i1 - 1;
|
|
91560
91560
|
}
|
|
91561
91561
|
function coeffToString1(a1) {
|
|
91562
|
-
var s1,
|
|
91562
|
+
var s1, z61, i1 = 1, j1 = a1.length, r3 = a1[0] + "";
|
|
91563
91563
|
for(; i1 < j1;){
|
|
91564
91564
|
s1 = a1[i1++] + "";
|
|
91565
|
-
|
|
91566
|
-
for(;
|
|
91565
|
+
z61 = LOG_BASE1 - s1.length;
|
|
91566
|
+
for(; z61--; s1 = "0" + s1);
|
|
91567
91567
|
r3 += s1;
|
|
91568
91568
|
}
|
|
91569
91569
|
for(j1 = r3.length; r3.charCodeAt(--j1) === 48;);
|
|
@@ -91596,15 +91596,15 @@ var require_bignumber = __commonJS({
|
|
|
91596
91596
|
function toExponential1(str1, e1) {
|
|
91597
91597
|
return (str1.length > 1 ? str1.charAt(0) + "." + str1.slice(1) : str1) + (e1 < 0 ? "e" : "e+") + e1;
|
|
91598
91598
|
}
|
|
91599
|
-
function toFixedPoint1(str1, e1,
|
|
91599
|
+
function toFixedPoint1(str1, e1, z61) {
|
|
91600
91600
|
var len1, zs1;
|
|
91601
91601
|
if (e1 < 0) {
|
|
91602
|
-
for(zs1 =
|
|
91602
|
+
for(zs1 = z61 + "."; ++e1; zs1 += z61);
|
|
91603
91603
|
str1 = zs1 + str1;
|
|
91604
91604
|
} else {
|
|
91605
91605
|
len1 = str1.length;
|
|
91606
91606
|
if (++e1 > len1) {
|
|
91607
|
-
for(zs1 =
|
|
91607
|
+
for(zs1 = z61, e1 -= len1; --e1; zs1 += z61);
|
|
91608
91608
|
str1 += zs1;
|
|
91609
91609
|
} else if (e1 < len1) {
|
|
91610
91610
|
str1 = str1.slice(0, e1) + "." + str1.slice(e1);
|
|
@@ -108104,7 +108104,7 @@ var require_operations = __commonJS({
|
|
|
108104
108104
|
function E1(e21) {
|
|
108105
108105
|
if (this.uninterpretedOption = [], e21) for(var t21 = Object.keys(e21), n21 = 0; n21 < t21.length; ++n21)null != e21[t21[n21]] && (this[t21[n21]] = e21[t21[n21]]);
|
|
108106
108106
|
}
|
|
108107
|
-
function
|
|
108107
|
+
function z61(e21) {
|
|
108108
108108
|
if (this.uninterpretedOption = [], e21) for(var t21 = Object.keys(e21), n21 = 0; n21 < t21.length; ++n21)null != e21[t21[n21]] && (this[t21[n21]] = e21[t21[n21]]);
|
|
108109
108109
|
}
|
|
108110
108110
|
function A1(e21) {
|
|
@@ -110246,14 +110246,14 @@ var require_operations = __commonJS({
|
|
|
110246
110246
|
return n21;
|
|
110247
110247
|
}, E1.prototype.toJSON = function() {
|
|
110248
110248
|
return this.constructor.toObject(this, o1.util.toJSONOptions);
|
|
110249
|
-
}, E1), t1.EnumValueOptions = (
|
|
110250
|
-
return new
|
|
110251
|
-
},
|
|
110249
|
+
}, E1), t1.EnumValueOptions = (z61.prototype.deprecated = false, z61.prototype.uninterpretedOption = i1.emptyArray, z61.create = function(e21) {
|
|
110250
|
+
return new z61(e21);
|
|
110251
|
+
}, z61.encode = function(e21, t21) {
|
|
110252
110252
|
if (t21 = t21 || r3.create(), null != e21.deprecated && Object.hasOwnProperty.call(e21, "deprecated") && t21.uint32(8).bool(e21.deprecated), null != e21.uninterpretedOption && e21.uninterpretedOption.length) for(var n21 = 0; n21 < e21.uninterpretedOption.length; ++n21)p3.google.protobuf.UninterpretedOption.encode(e21.uninterpretedOption[n21], t21.uint32(7994).fork()).ldelim();
|
|
110253
110253
|
return t21;
|
|
110254
|
-
},
|
|
110254
|
+
}, z61.encodeDelimited = function(e21, t21) {
|
|
110255
110255
|
return this.encode(e21, t21).ldelim();
|
|
110256
|
-
},
|
|
110256
|
+
}, z61.decode = function(e21, t21) {
|
|
110257
110257
|
_instanceof(e21, a1) || (e21 = a1.create(e21));
|
|
110258
110258
|
for(var n21 = void 0 === t21 ? e21.len : e21.pos + t21, o21 = new p3.google.protobuf.EnumValueOptions(); e21.pos < n21;){
|
|
110259
110259
|
var r21 = e21.uint32();
|
|
@@ -110269,9 +110269,9 @@ var require_operations = __commonJS({
|
|
|
110269
110269
|
}
|
|
110270
110270
|
}
|
|
110271
110271
|
return o21;
|
|
110272
|
-
},
|
|
110272
|
+
}, z61.decodeDelimited = function(e21) {
|
|
110273
110273
|
return _instanceof(e21, a1) || (e21 = new a1(e21)), this.decode(e21, e21.uint32());
|
|
110274
|
-
},
|
|
110274
|
+
}, z61.verify = function(e21) {
|
|
110275
110275
|
if ("object" != typeof e21 || null === e21) return "object expected";
|
|
110276
110276
|
if (null != e21.deprecated && e21.hasOwnProperty("deprecated") && "boolean" != typeof e21.deprecated) return "deprecated: boolean expected";
|
|
110277
110277
|
if (null != e21.uninterpretedOption && e21.hasOwnProperty("uninterpretedOption")) {
|
|
@@ -110282,7 +110282,7 @@ var require_operations = __commonJS({
|
|
|
110282
110282
|
}
|
|
110283
110283
|
}
|
|
110284
110284
|
return null;
|
|
110285
|
-
},
|
|
110285
|
+
}, z61.fromObject = function(e21) {
|
|
110286
110286
|
if (_instanceof(e21, p3.google.protobuf.EnumValueOptions)) return e21;
|
|
110287
110287
|
var t21 = new p3.google.protobuf.EnumValueOptions();
|
|
110288
110288
|
if (null != e21.deprecated && (t21.deprecated = Boolean(e21.deprecated)), e21.uninterpretedOption) {
|
|
@@ -110294,16 +110294,16 @@ var require_operations = __commonJS({
|
|
|
110294
110294
|
}
|
|
110295
110295
|
}
|
|
110296
110296
|
return t21;
|
|
110297
|
-
},
|
|
110297
|
+
}, z61.toObject = function(e21, t21) {
|
|
110298
110298
|
var n21 = {};
|
|
110299
110299
|
if (((t21 = t21 || {}).arrays || t21.defaults) && (n21.uninterpretedOption = []), t21.defaults && (n21.deprecated = false), null != e21.deprecated && e21.hasOwnProperty("deprecated") && (n21.deprecated = e21.deprecated), e21.uninterpretedOption && e21.uninterpretedOption.length) {
|
|
110300
110300
|
n21.uninterpretedOption = [];
|
|
110301
110301
|
for(var o21 = 0; o21 < e21.uninterpretedOption.length; ++o21)n21.uninterpretedOption[o21] = p3.google.protobuf.UninterpretedOption.toObject(e21.uninterpretedOption[o21], t21);
|
|
110302
110302
|
}
|
|
110303
110303
|
return n21;
|
|
110304
|
-
},
|
|
110304
|
+
}, z61.prototype.toJSON = function() {
|
|
110305
110305
|
return this.constructor.toObject(this, o1.util.toJSONOptions);
|
|
110306
|
-
},
|
|
110306
|
+
}, z61), t1.ServiceOptions = (A1.prototype.deprecated = false, A1.prototype.uninterpretedOption = i1.emptyArray, A1.prototype[".google.api.defaultHost"] = "", A1.prototype[".google.api.oauthScopes"] = "", A1.create = function(e21) {
|
|
110307
110307
|
return new A1(e21);
|
|
110308
110308
|
}, A1.encode = function(e21, t21) {
|
|
110309
110309
|
if (t21 = t21 || r3.create(), null != e21.deprecated && Object.hasOwnProperty.call(e21, "deprecated") && t21.uint32(264).bool(e21.deprecated), null != e21.uninterpretedOption && e21.uninterpretedOption.length) for(var n21 = 0; n21 < e21.uninterpretedOption.length; ++n21)p3.google.protobuf.UninterpretedOption.encode(e21.uninterpretedOption[n21], t21.uint32(7994).fork()).ldelim();
|
|
@@ -115767,7 +115767,7 @@ var require_iam_service = __commonJS({
|
|
|
115767
115767
|
function Y1(e21) {
|
|
115768
115768
|
if (e21) for(var t21 = Object.keys(e21), n21 = 0; n21 < t21.length; ++n21)null != e21[t21[n21]] && (this[t21[n21]] = e21[t21[n21]]);
|
|
115769
115769
|
}
|
|
115770
|
-
function
|
|
115770
|
+
function z61(e21) {
|
|
115771
115771
|
if (this.uninterpretedOption = [], e21) for(var t21 = Object.keys(e21), n21 = 0; n21 < t21.length; ++n21)null != e21[t21[n21]] && (this[t21[n21]] = e21[t21[n21]]);
|
|
115772
115772
|
}
|
|
115773
115773
|
function P1(e21) {
|
|
@@ -117262,23 +117262,23 @@ var require_iam_service = __commonJS({
|
|
|
117262
117262
|
return (t21 = t21 || {}).defaults && (n21.start = 0, n21.end = 0), null != e21.start && e21.hasOwnProperty("start") && (n21.start = e21.start), null != e21.end && e21.hasOwnProperty("end") && (n21.end = e21.end), n21;
|
|
117263
117263
|
}, Y1.prototype.toJSON = function() {
|
|
117264
117264
|
return this.constructor.toObject(this, o1.util.toJSONOptions);
|
|
117265
|
-
}, Y1), O1), n3.ExtensionRangeOptions = (
|
|
117266
|
-
return new
|
|
117267
|
-
},
|
|
117265
|
+
}, Y1), O1), n3.ExtensionRangeOptions = (z61.prototype.uninterpretedOption = p3.emptyArray, z61.create = function(e21) {
|
|
117266
|
+
return new z61(e21);
|
|
117267
|
+
}, z61.encode = function(e21, t21) {
|
|
117268
117268
|
if (t21 = t21 || i1.create(), null != e21.uninterpretedOption && e21.uninterpretedOption.length) for(var n21 = 0; n21 < e21.uninterpretedOption.length; ++n21)l1.google.protobuf.UninterpretedOption.encode(e21.uninterpretedOption[n21], t21.uint32(7994).fork()).ldelim();
|
|
117269
117269
|
return t21;
|
|
117270
|
-
},
|
|
117270
|
+
}, z61.encodeDelimited = function(e21, t21) {
|
|
117271
117271
|
return this.encode(e21, t21).ldelim();
|
|
117272
|
-
},
|
|
117272
|
+
}, z61.decode = function(e21, t21) {
|
|
117273
117273
|
_instanceof(e21, a1) || (e21 = a1.create(e21));
|
|
117274
117274
|
for(var n21 = void 0 === t21 ? e21.len : e21.pos + t21, o21 = new l1.google.protobuf.ExtensionRangeOptions(); e21.pos < n21;){
|
|
117275
117275
|
var r21 = e21.uint32();
|
|
117276
117276
|
r21 >>> 3 == 999 ? (o21.uninterpretedOption && o21.uninterpretedOption.length || (o21.uninterpretedOption = []), o21.uninterpretedOption.push(l1.google.protobuf.UninterpretedOption.decode(e21, e21.uint32()))) : e21.skipType(7 & r21);
|
|
117277
117277
|
}
|
|
117278
117278
|
return o21;
|
|
117279
|
-
},
|
|
117279
|
+
}, z61.decodeDelimited = function(e21) {
|
|
117280
117280
|
return _instanceof(e21, a1) || (e21 = new a1(e21)), this.decode(e21, e21.uint32());
|
|
117281
|
-
},
|
|
117281
|
+
}, z61.verify = function(e21) {
|
|
117282
117282
|
if ("object" != typeof e21 || null === e21) return "object expected";
|
|
117283
117283
|
if (null != e21.uninterpretedOption && e21.hasOwnProperty("uninterpretedOption")) {
|
|
117284
117284
|
if (!Array.isArray(e21.uninterpretedOption)) return "uninterpretedOption: array expected";
|
|
@@ -117288,7 +117288,7 @@ var require_iam_service = __commonJS({
|
|
|
117288
117288
|
}
|
|
117289
117289
|
}
|
|
117290
117290
|
return null;
|
|
117291
|
-
},
|
|
117291
|
+
}, z61.fromObject = function(e21) {
|
|
117292
117292
|
if (_instanceof(e21, l1.google.protobuf.ExtensionRangeOptions)) return e21;
|
|
117293
117293
|
var t21 = new l1.google.protobuf.ExtensionRangeOptions();
|
|
117294
117294
|
if (e21.uninterpretedOption) {
|
|
@@ -117300,16 +117300,16 @@ var require_iam_service = __commonJS({
|
|
|
117300
117300
|
}
|
|
117301
117301
|
}
|
|
117302
117302
|
return t21;
|
|
117303
|
-
},
|
|
117303
|
+
}, z61.toObject = function(e21, t21) {
|
|
117304
117304
|
var n21 = {};
|
|
117305
117305
|
if (((t21 = t21 || {}).arrays || t21.defaults) && (n21.uninterpretedOption = []), e21.uninterpretedOption && e21.uninterpretedOption.length) {
|
|
117306
117306
|
n21.uninterpretedOption = [];
|
|
117307
117307
|
for(var o21 = 0; o21 < e21.uninterpretedOption.length; ++o21)n21.uninterpretedOption[o21] = l1.google.protobuf.UninterpretedOption.toObject(e21.uninterpretedOption[o21], t21);
|
|
117308
117308
|
}
|
|
117309
117309
|
return n21;
|
|
117310
|
-
},
|
|
117310
|
+
}, z61.prototype.toJSON = function() {
|
|
117311
117311
|
return this.constructor.toObject(this, o1.util.toJSONOptions);
|
|
117312
|
-
},
|
|
117312
|
+
}, z61), n3.FieldDescriptorProto = (P1.prototype.name = "", P1.prototype.number = 0, P1.prototype.label = 1, P1.prototype.type = 1, P1.prototype.typeName = "", P1.prototype.extendee = "", P1.prototype.defaultValue = "", P1.prototype.oneofIndex = 0, P1.prototype.jsonName = "", P1.prototype.options = null, P1.prototype.proto3Optional = false, P1.create = function(e21) {
|
|
117313
117313
|
return new P1(e21);
|
|
117314
117314
|
}, P1.encode = function(e21, t21) {
|
|
117315
117315
|
return t21 = t21 || i1.create(), null != e21.name && Object.hasOwnProperty.call(e21, "name") && t21.uint32(10).string(e21.name), null != e21.extendee && Object.hasOwnProperty.call(e21, "extendee") && t21.uint32(18).string(e21.extendee), null != e21.number && Object.hasOwnProperty.call(e21, "number") && t21.uint32(24).int32(e21.number), null != e21.label && Object.hasOwnProperty.call(e21, "label") && t21.uint32(32).int32(e21.label), null != e21.type && Object.hasOwnProperty.call(e21, "type") && t21.uint32(40).int32(e21.type), null != e21.typeName && Object.hasOwnProperty.call(e21, "typeName") && t21.uint32(50).string(e21.typeName), null != e21.defaultValue && Object.hasOwnProperty.call(e21, "defaultValue") && t21.uint32(58).string(e21.defaultValue), null != e21.options && Object.hasOwnProperty.call(e21, "options") && l1.google.protobuf.FieldOptions.encode(e21.options, t21.uint32(66).fork()).ldelim(), null != e21.oneofIndex && Object.hasOwnProperty.call(e21, "oneofIndex") && t21.uint32(72).int32(e21.oneofIndex), null != e21.jsonName && Object.hasOwnProperty.call(e21, "jsonName") && t21.uint32(82).string(e21.jsonName), null != e21.proto3Optional && Object.hasOwnProperty.call(e21, "proto3Optional") && t21.uint32(136).bool(e21.proto3Optional), t21;
|
|
@@ -131697,7 +131697,7 @@ var require_rbtree = __commonJS({
|
|
|
131697
131697
|
n3._count = v6._count;
|
|
131698
131698
|
}
|
|
131699
131699
|
function fixDoubleBlack1(stack1) {
|
|
131700
|
-
var n3, p3, s1,
|
|
131700
|
+
var n3, p3, s1, z61;
|
|
131701
131701
|
for(var i1 = stack1.length - 1; i1 >= 0; --i1){
|
|
131702
131702
|
n3 = stack1[i1];
|
|
131703
131703
|
if (i1 === 0) {
|
|
@@ -131709,14 +131709,14 @@ var require_rbtree = __commonJS({
|
|
|
131709
131709
|
s1 = p3.right;
|
|
131710
131710
|
if (s1.right && s1.right._color === RED1) {
|
|
131711
131711
|
s1 = p3.right = cloneNode1(s1);
|
|
131712
|
-
|
|
131712
|
+
z61 = s1.right = cloneNode1(s1.right);
|
|
131713
131713
|
p3.right = s1.left;
|
|
131714
131714
|
s1.left = p3;
|
|
131715
|
-
s1.right =
|
|
131715
|
+
s1.right = z61;
|
|
131716
131716
|
s1._color = p3._color;
|
|
131717
131717
|
n3._color = BLACK1;
|
|
131718
131718
|
p3._color = BLACK1;
|
|
131719
|
-
|
|
131719
|
+
z61._color = BLACK1;
|
|
131720
131720
|
recount1(p3);
|
|
131721
131721
|
recount1(s1);
|
|
131722
131722
|
if (i1 > 1) {
|
|
@@ -131731,27 +131731,27 @@ var require_rbtree = __commonJS({
|
|
|
131731
131731
|
return;
|
|
131732
131732
|
} else if (s1.left && s1.left._color === RED1) {
|
|
131733
131733
|
s1 = p3.right = cloneNode1(s1);
|
|
131734
|
-
|
|
131735
|
-
p3.right =
|
|
131736
|
-
s1.left =
|
|
131737
|
-
|
|
131738
|
-
|
|
131739
|
-
|
|
131734
|
+
z61 = s1.left = cloneNode1(s1.left);
|
|
131735
|
+
p3.right = z61.left;
|
|
131736
|
+
s1.left = z61.right;
|
|
131737
|
+
z61.left = p3;
|
|
131738
|
+
z61.right = s1;
|
|
131739
|
+
z61._color = p3._color;
|
|
131740
131740
|
p3._color = BLACK1;
|
|
131741
131741
|
s1._color = BLACK1;
|
|
131742
131742
|
n3._color = BLACK1;
|
|
131743
131743
|
recount1(p3);
|
|
131744
131744
|
recount1(s1);
|
|
131745
|
-
recount1(
|
|
131745
|
+
recount1(z61);
|
|
131746
131746
|
if (i1 > 1) {
|
|
131747
131747
|
var pp1 = stack1[i1 - 2];
|
|
131748
131748
|
if (pp1.left === p3) {
|
|
131749
|
-
pp1.left =
|
|
131749
|
+
pp1.left = z61;
|
|
131750
131750
|
} else {
|
|
131751
|
-
pp1.right =
|
|
131751
|
+
pp1.right = z61;
|
|
131752
131752
|
}
|
|
131753
131753
|
}
|
|
131754
|
-
stack1[i1 - 1] =
|
|
131754
|
+
stack1[i1 - 1] = z61;
|
|
131755
131755
|
return;
|
|
131756
131756
|
}
|
|
131757
131757
|
if (s1._color === BLACK1) {
|
|
@@ -131792,14 +131792,14 @@ var require_rbtree = __commonJS({
|
|
|
131792
131792
|
s1 = p3.left;
|
|
131793
131793
|
if (s1.left && s1.left._color === RED1) {
|
|
131794
131794
|
s1 = p3.left = cloneNode1(s1);
|
|
131795
|
-
|
|
131795
|
+
z61 = s1.left = cloneNode1(s1.left);
|
|
131796
131796
|
p3.left = s1.right;
|
|
131797
131797
|
s1.right = p3;
|
|
131798
|
-
s1.left =
|
|
131798
|
+
s1.left = z61;
|
|
131799
131799
|
s1._color = p3._color;
|
|
131800
131800
|
n3._color = BLACK1;
|
|
131801
131801
|
p3._color = BLACK1;
|
|
131802
|
-
|
|
131802
|
+
z61._color = BLACK1;
|
|
131803
131803
|
recount1(p3);
|
|
131804
131804
|
recount1(s1);
|
|
131805
131805
|
if (i1 > 1) {
|
|
@@ -131814,27 +131814,27 @@ var require_rbtree = __commonJS({
|
|
|
131814
131814
|
return;
|
|
131815
131815
|
} else if (s1.right && s1.right._color === RED1) {
|
|
131816
131816
|
s1 = p3.left = cloneNode1(s1);
|
|
131817
|
-
|
|
131818
|
-
p3.left =
|
|
131819
|
-
s1.right =
|
|
131820
|
-
|
|
131821
|
-
|
|
131822
|
-
|
|
131817
|
+
z61 = s1.right = cloneNode1(s1.right);
|
|
131818
|
+
p3.left = z61.right;
|
|
131819
|
+
s1.right = z61.left;
|
|
131820
|
+
z61.right = p3;
|
|
131821
|
+
z61.left = s1;
|
|
131822
|
+
z61._color = p3._color;
|
|
131823
131823
|
p3._color = BLACK1;
|
|
131824
131824
|
s1._color = BLACK1;
|
|
131825
131825
|
n3._color = BLACK1;
|
|
131826
131826
|
recount1(p3);
|
|
131827
131827
|
recount1(s1);
|
|
131828
|
-
recount1(
|
|
131828
|
+
recount1(z61);
|
|
131829
131829
|
if (i1 > 1) {
|
|
131830
131830
|
var pp1 = stack1[i1 - 2];
|
|
131831
131831
|
if (pp1.right === p3) {
|
|
131832
|
-
pp1.right =
|
|
131832
|
+
pp1.right = z61;
|
|
131833
131833
|
} else {
|
|
131834
|
-
pp1.left =
|
|
131834
|
+
pp1.left = z61;
|
|
131835
131835
|
}
|
|
131836
131836
|
}
|
|
131837
|
-
stack1[i1 - 1] =
|
|
131837
|
+
stack1[i1 - 1] = z61;
|
|
131838
131838
|
return;
|
|
131839
131839
|
}
|
|
131840
131840
|
if (s1._color === BLACK1) {
|
|
@@ -159722,7 +159722,7 @@ var require_firestore_v1_proto_api = __commonJS({
|
|
|
159722
159722
|
function W1(e21) {
|
|
159723
159723
|
if (e21) for(var t21 = Object.keys(e21), o21 = 0; o21 < t21.length; ++o21)null != e21[t21[o21]] && (this[t21[o21]] = e21[t21[o21]]);
|
|
159724
159724
|
}
|
|
159725
|
-
function
|
|
159725
|
+
function z61(e21) {
|
|
159726
159726
|
if (this.fieldPaths = [], e21) for(var t21 = Object.keys(e21), o21 = 0; o21 < t21.length; ++o21)null != e21[t21[o21]] && (this[t21[o21]] = e21[t21[o21]]);
|
|
159727
159727
|
}
|
|
159728
159728
|
function H1(e21) {
|
|
@@ -160453,7 +160453,7 @@ var require_firestore_v1_proto_api = __commonJS({
|
|
|
160453
160453
|
return this.constructor.toObject(this, r3.util.toJSONOptions);
|
|
160454
160454
|
}, W1.getTypeUrl = function(e21) {
|
|
160455
160455
|
return (e21 = void 0 === e21 ? "type.googleapis.com" : e21) + "/google.firestore.v1.BloomFilter";
|
|
160456
|
-
}, W1), o1.DocumentMask = (
|
|
160456
|
+
}, W1), o1.DocumentMask = (z61.prototype.fieldPaths = i1.emptyArray, z61.fromObject = function(e21) {
|
|
160457
160457
|
if (_instanceof(e21, a1.google.firestore.v1.DocumentMask)) return e21;
|
|
160458
160458
|
var t21 = new a1.google.firestore.v1.DocumentMask();
|
|
160459
160459
|
if (e21.fieldPaths) {
|
|
@@ -160462,18 +160462,18 @@ var require_firestore_v1_proto_api = __commonJS({
|
|
|
160462
160462
|
for(var o21 = 0; o21 < e21.fieldPaths.length; ++o21)t21.fieldPaths[o21] = String(e21.fieldPaths[o21]);
|
|
160463
160463
|
}
|
|
160464
160464
|
return t21;
|
|
160465
|
-
},
|
|
160465
|
+
}, z61.toObject = function(e21, t21) {
|
|
160466
160466
|
var o21 = {};
|
|
160467
160467
|
if (((t21 = t21 || {}).arrays || t21.defaults) && (o21.fieldPaths = []), e21.fieldPaths && e21.fieldPaths.length) {
|
|
160468
160468
|
o21.fieldPaths = [];
|
|
160469
160469
|
for(var r21 = 0; r21 < e21.fieldPaths.length; ++r21)o21.fieldPaths[r21] = e21.fieldPaths[r21];
|
|
160470
160470
|
}
|
|
160471
160471
|
return o21;
|
|
160472
|
-
},
|
|
160472
|
+
}, z61.prototype.toJSON = function() {
|
|
160473
160473
|
return this.constructor.toObject(this, r3.util.toJSONOptions);
|
|
160474
|
-
},
|
|
160474
|
+
}, z61.getTypeUrl = function(e21) {
|
|
160475
160475
|
return (e21 = void 0 === e21 ? "type.googleapis.com" : e21) + "/google.firestore.v1.DocumentMask";
|
|
160476
|
-
},
|
|
160476
|
+
}, z61), o1.Precondition = (H1.prototype.exists = null, H1.prototype.updateTime = null, Object.defineProperty(H1.prototype, "conditionType", {
|
|
160477
160477
|
get: i1.oneOfGetter(n3 = [
|
|
160478
160478
|
"exists",
|
|
160479
160479
|
"updateTime"
|
|
@@ -186959,9 +186959,12 @@ var UserSchema = ModelSchema.extend({
|
|
|
186959
186959
|
phone: import_zod4.z.string().optional()
|
|
186960
186960
|
}).merge(EnabledSchema);
|
|
186961
186961
|
// src/model/subscription.model.ts
|
|
186962
|
+
var import_zod5 = require("zod");
|
|
186962
186963
|
var SubscriptionSchema = ModelSchema.extend({
|
|
186963
186964
|
invoice: IuguInvoiceSchema,
|
|
186964
|
-
user: UserSchema
|
|
186965
|
+
user: UserSchema,
|
|
186966
|
+
coupon: import_zod5.z.string().nullish().optional(),
|
|
186967
|
+
portalEmail: import_zod5.z.string().nullish().optional()
|
|
186965
186968
|
});
|
|
186966
186969
|
// Annotate the CommonJS export names for ESM import in node:
|
|
186967
186970
|
0 && (module.exports = {
|