@funpay-pilot/contracts 0.1.15 → 0.1.16

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/funpay.ts CHANGED
@@ -7,7 +7,6 @@
7
7
  /* eslint-disable */
8
8
  import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
9
9
  import { Observable } from "rxjs";
10
- import { Timestamp } from "./google/protobuf/timestamp";
11
10
 
12
11
  export const protobufPackage = "funpay.v1";
13
12
 
@@ -61,8 +60,8 @@ export interface Account {
61
60
  balance?: number | undefined;
62
61
  status: Status;
63
62
  error?: string | undefined;
64
- createdAt: Timestamp | undefined;
65
- updatedAt: Timestamp | undefined;
63
+ createdAt: string;
64
+ updatedAt: string;
66
65
  }
67
66
 
68
67
  export const FUNPAY_V1_PACKAGE_NAME = "funpay.v1";
@@ -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.11.6
4
- // protoc v6.33.6
4
+ // protoc v7.34.0
5
5
  // source: google/protobuf/timestamp.proto
6
6
 
7
7
  /* eslint-disable */
@@ -81,8 +81,8 @@ export const protobufPackage = "google.protobuf";
81
81
  * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
82
82
  * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
83
83
  * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
84
- * is required. A proto3 JSON serializer should always use UTC (as indicated by
85
- * "Z") when printing the Timestamp type and a proto3 JSON parser should be
84
+ * is required. A ProtoJSON serializer should always use UTC (as indicated by
85
+ * "Z") when printing the Timestamp type and a ProtoJSON parser should be
86
86
  * able to accept both UTC and other timezones (as indicated by an offset).
87
87
  *
88
88
  * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
@@ -102,7 +102,7 @@ export const protobufPackage = "google.protobuf";
102
102
  export interface Timestamp {
103
103
  /**
104
104
  * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
105
- * be between -315576000000 and 315576000000 inclusive (which corresponds to
105
+ * be between -62135596800 and 253402300799 inclusive (which corresponds to
106
106
  * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
107
107
  */
108
108
  seconds: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funpay-pilot/contracts",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -2,8 +2,6 @@ syntax = "proto3";
2
2
 
3
3
  package funpay.v1;
4
4
 
5
- import "google/protobuf/timestamp.proto";
6
-
7
5
  service FunpayService {
8
6
  rpc CreateAccount(CreateAccountRequest) returns (Account);
9
7
  rpc GetAccountsList(GetAccountsListRequest) returns (GetAccountsListResponse);
@@ -56,8 +54,8 @@ message Account {
56
54
  optional float balance = 9;
57
55
  Status status = 10;
58
56
  optional string error = 11;
59
- google.protobuf.Timestamp created_at = 12;
60
- google.protobuf.Timestamp updated_at = 13;
57
+ string created_at = 12;
58
+ string updated_at = 13;
61
59
  }
62
60
 
63
61
  enum Status {