@aepstore-dev/contracts 1.55.0 → 1.57.0
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/gen/activity.js +1 -1
- package/gen/activity.ts +1 -1
- package/gen/auth.js +1 -1
- package/gen/auth.ts +1 -1
- package/gen/mail.js +1 -1
- package/gen/mail.ts +1 -1
- package/gen/payments.js +1 -1
- package/gen/payments.ts +1 -1
- package/gen/products.js +1 -1
- package/gen/products.ts +1 -1
- package/gen/support.js +1 -1
- package/gen/support.ts +1 -1
- package/gen/taxonomy.js +1 -1
- package/gen/taxonomy.ts +1 -1
- package/gen/upload.js +1 -1
- package/gen/upload.ts +1 -1
- package/gen/users.d.ts +26 -5
- package/gen/users.js +1 -1
- package/gen/users.ts +31 -6
- package/package.json +35 -35
- package/proto/activity.proto +200 -200
- package/proto/auth.proto +198 -198
- package/proto/mail.proto +54 -54
- package/proto/payments.proto +445 -445
- package/proto/products.proto +402 -402
- package/proto/support.proto +144 -144
- package/proto/taxonomy.proto +105 -105
- package/proto/upload.proto +171 -171
- package/proto/users.proto +718 -700
package/gen/activity.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: activity.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.ACTIVITY_SERVICE_NAME = exports.ACTIVITY_V1_PACKAGE_NAME = exports.ReportStatus = exports.ReportType = exports.protobufPackage = void 0;
|
package/gen/activity.ts
CHANGED
package/gen/auth.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: auth.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.AUTH_SERVICE_NAME = exports.AUTH_V1_PACKAGE_NAME = exports.TwoFactorType = exports.protobufPackage = void 0;
|
package/gen/auth.ts
CHANGED
package/gen/mail.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: mail.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.MAIL_SERVICE_NAME = exports.MAIL_V1_PACKAGE_NAME = exports.protobufPackage = void 0;
|
package/gen/mail.ts
CHANGED
package/gen/payments.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: payments.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.PAYMENTS_SERVICE_NAME = exports.PAYMENTS_V1_PACKAGE_NAME = exports.protobufPackage = void 0;
|
package/gen/payments.ts
CHANGED
package/gen/products.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: products.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.PRODUCTS_SERVICE_NAME = exports.PRODUCTS_V1_PACKAGE_NAME = exports.MediaType = exports.ModerationStatus = exports.ProductStatus = exports.protobufPackage = void 0;
|
package/gen/products.ts
CHANGED
package/gen/support.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: support.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.SUPPORT_SERVICE_NAME = exports.SUPPORT_V1_PACKAGE_NAME = exports.protobufPackage = void 0;
|
package/gen/support.ts
CHANGED
package/gen/taxonomy.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: taxonomy.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.TAXONOMY_SERVICE_NAME = exports.TAXONOMY_V1_PACKAGE_NAME = exports.protobufPackage = void 0;
|
package/gen/taxonomy.ts
CHANGED
package/gen/upload.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: upload.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.UPLOAD_SERVICE_NAME = exports.UPLOAD_V1_PACKAGE_NAME = exports.UploadKind = exports.protobufPackage = void 0;
|
package/gen/upload.ts
CHANGED
package/gen/users.d.ts
CHANGED
|
@@ -505,6 +505,31 @@ export interface CollectUserExportDataResponse {
|
|
|
505
505
|
export interface GetAccountSettingsRequest {
|
|
506
506
|
userId: string;
|
|
507
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* Current premium plan the user holds. Mirrors a PremiumPlan catalog entry.
|
|
510
|
+
* Absent (null) when the user has no active subscription.
|
|
511
|
+
*/
|
|
512
|
+
export interface PremiumPlanInfo {
|
|
513
|
+
/** MONTH_1 | MONTH_3 | MONTH_6 | MONTH_12 */
|
|
514
|
+
period: string;
|
|
515
|
+
months: number;
|
|
516
|
+
/** total for the period, Decimal-as-string */
|
|
517
|
+
price: string;
|
|
518
|
+
/** ≈ X ₽/month */
|
|
519
|
+
monthlyPrice: string;
|
|
520
|
+
discountPercent: string;
|
|
521
|
+
currency: string;
|
|
522
|
+
}
|
|
523
|
+
export interface PremiumInfo {
|
|
524
|
+
/** status==ACTIVE AND not past expires_at */
|
|
525
|
+
isActive: boolean;
|
|
526
|
+
/** ACTIVE | EXPIRED | CANCELED | '' (never had) */
|
|
527
|
+
status: string;
|
|
528
|
+
expiresAt: string;
|
|
529
|
+
autoRenew: boolean;
|
|
530
|
+
/** null when not active */
|
|
531
|
+
plan: PremiumPlanInfo | undefined;
|
|
532
|
+
}
|
|
508
533
|
export interface AccountSettingsResponse {
|
|
509
534
|
/** Identity */
|
|
510
535
|
id: string;
|
|
@@ -534,11 +559,7 @@ export interface AccountSettingsResponse {
|
|
|
534
559
|
/** Payout defaults */
|
|
535
560
|
payoutMethod: string;
|
|
536
561
|
payoutDetails: string;
|
|
537
|
-
|
|
538
|
-
premiumIsActive: boolean;
|
|
539
|
-
premiumStatus: string;
|
|
540
|
-
premiumExpiresAt: string;
|
|
541
|
-
premiumAutoRenew: boolean;
|
|
562
|
+
premium: PremiumInfo | undefined;
|
|
542
563
|
/** Soft-delete state */
|
|
543
564
|
deletedAt: string;
|
|
544
565
|
scheduledForHardDelete: string;
|
package/gen/users.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: users.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.USERS_SERVICE_NAME = exports.USERS_V1_PACKAGE_NAME = exports.PremiumPeriod = exports.UserFieldsType = exports.protobufPackage = void 0;
|
package/gen/users.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
3
|
// protoc-gen-ts_proto v2.10.1
|
|
4
|
-
// protoc v7.35.
|
|
4
|
+
// protoc v7.35.1
|
|
5
5
|
// source: users.proto
|
|
6
6
|
|
|
7
7
|
/* eslint-disable */
|
|
@@ -590,6 +590,33 @@ export interface GetAccountSettingsRequest {
|
|
|
590
590
|
userId: string;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
+
/**
|
|
594
|
+
* Current premium plan the user holds. Mirrors a PremiumPlan catalog entry.
|
|
595
|
+
* Absent (null) when the user has no active subscription.
|
|
596
|
+
*/
|
|
597
|
+
export interface PremiumPlanInfo {
|
|
598
|
+
/** MONTH_1 | MONTH_3 | MONTH_6 | MONTH_12 */
|
|
599
|
+
period: string;
|
|
600
|
+
months: number;
|
|
601
|
+
/** total for the period, Decimal-as-string */
|
|
602
|
+
price: string;
|
|
603
|
+
/** ≈ X ₽/month */
|
|
604
|
+
monthlyPrice: string;
|
|
605
|
+
discountPercent: string;
|
|
606
|
+
currency: string;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
export interface PremiumInfo {
|
|
610
|
+
/** status==ACTIVE AND not past expires_at */
|
|
611
|
+
isActive: boolean;
|
|
612
|
+
/** ACTIVE | EXPIRED | CANCELED | '' (never had) */
|
|
613
|
+
status: string;
|
|
614
|
+
expiresAt: string;
|
|
615
|
+
autoRenew: boolean;
|
|
616
|
+
/** null when not active */
|
|
617
|
+
plan: PremiumPlanInfo | undefined;
|
|
618
|
+
}
|
|
619
|
+
|
|
593
620
|
export interface AccountSettingsResponse {
|
|
594
621
|
/** Identity */
|
|
595
622
|
id: string;
|
|
@@ -619,11 +646,9 @@ export interface AccountSettingsResponse {
|
|
|
619
646
|
/** Payout defaults */
|
|
620
647
|
payoutMethod: string;
|
|
621
648
|
payoutDetails: string;
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
premiumExpiresAt: string;
|
|
626
|
-
premiumAutoRenew: boolean;
|
|
649
|
+
premium:
|
|
650
|
+
| PremiumInfo
|
|
651
|
+
| undefined;
|
|
627
652
|
/** Soft-delete state */
|
|
628
653
|
deletedAt: string;
|
|
629
654
|
scheduledForHardDelete: string;
|
package/package.json
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@aepstore-dev/contracts",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Protobuf definitions for aepstore microservices",
|
|
5
|
-
"main": "./dist/index.js",
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"generate": "node scripts/generate.cjs",
|
|
9
|
-
"build": "tsc -p tsconfig.build.json && tsc -p tsconfig.gen.json"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"dist",
|
|
13
|
-
"proto",
|
|
14
|
-
"gen"
|
|
15
|
-
],
|
|
16
|
-
"publishConfig": {
|
|
17
|
-
"access": "public"
|
|
18
|
-
},
|
|
19
|
-
"author": {
|
|
20
|
-
"name": "torroixq",
|
|
21
|
-
"email": "cato.ixq@gmail.com"
|
|
22
|
-
},
|
|
23
|
-
"peerDependencies": {
|
|
24
|
-
"@nestjs/microservices": "^11.1.11",
|
|
25
|
-
"rxjs": "^7.8.2"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@nestjs/microservices": "^11.1.11",
|
|
29
|
-
"@protobuf-ts/protoc": "^2.9.4",
|
|
30
|
-
"@types/node": "^25.0.3",
|
|
31
|
-
"rxjs": "^7.8.2",
|
|
32
|
-
"ts-proto": "^2.10.1",
|
|
33
|
-
"typescript": "^5.9.3"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@aepstore-dev/contracts",
|
|
3
|
+
"version": "1.57.0",
|
|
4
|
+
"description": "Protobuf definitions for aepstore microservices",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"generate": "node scripts/generate.cjs",
|
|
9
|
+
"build": "tsc -p tsconfig.build.json && tsc -p tsconfig.gen.json"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"proto",
|
|
14
|
+
"gen"
|
|
15
|
+
],
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"author": {
|
|
20
|
+
"name": "torroixq",
|
|
21
|
+
"email": "cato.ixq@gmail.com"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@nestjs/microservices": "^11.1.11",
|
|
25
|
+
"rxjs": "^7.8.2"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@nestjs/microservices": "^11.1.11",
|
|
29
|
+
"@protobuf-ts/protoc": "^2.9.4",
|
|
30
|
+
"@types/node": "^25.0.3",
|
|
31
|
+
"rxjs": "^7.8.2",
|
|
32
|
+
"ts-proto": "^2.10.1",
|
|
33
|
+
"typescript": "^5.9.3"
|
|
34
|
+
}
|
|
35
|
+
}
|