televerse-shared-schema 0.0.2-alpha.0 → 0.0.2-alpha.2

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/enums.d.ts CHANGED
@@ -1,13 +1,88 @@
1
- export type EscrowState = "NOEXIST" | "PENDING" | "INITIATED" | "COMPLETED" | "CANCELED";
2
- export type ContractState = "CREATED" | "FUNDED" | "INITIATED" | "DELIVERING" | "PAUSED" | "COMPLETED" | "CANCELED";
3
- export type EndpointType = "LOCATION" | "NETWORK_DEVICE" | "NETWORK_ZONE" | "NNI" | "PORT" | "UNKNOWN";
4
- export type ChargeFrequency = "DAILY" | "WEEKLY" | "MONTHLY" | "SEMIANNUALLY" | "ANNUALLY";
5
- export type InterpolationType = "LINEAR" | "STEPWISE" | "MONOTONICCUBIC";
6
- export type EndorseStatus = "PROPOSED" | "ENDORSED" | "DEPRECATED" | "REJECTED" | "NOT_PROPOSED";
7
- export type QuoteStatus = "PENDING" | "ACCEPTED" | "ACTIVE" | "EXPIRED";
8
- export type PortType = "ACCESSMODE" | "QINQTRUNKMODE" | "EIGHTZEROTWOTRUNKMODE" | "OPTIONALMODE";
9
- export type DuplexType = "FULL" | "HALFDUPLEX";
10
- export type EndType = "A" | "B";
11
- export type EventType = "LIBP2P_RFQ" | "LIBP2P_QUOTE";
12
- export type UserType = "MASTER" | "WHITE_LABELER";
13
- export type ServiceType = "POINT_TO_POINT" | "INTERNET";
1
+ export declare const EscrowState: {
2
+ readonly NOEXIST: "NOEXIST";
3
+ readonly PENDING: "PENDING";
4
+ readonly INITIATED: "INITIATED";
5
+ readonly COMPLETED: "COMPLETED";
6
+ readonly CANCELED: "CANCELED";
7
+ };
8
+ export type EscrowState = typeof EscrowState[keyof typeof EscrowState];
9
+ export declare const ContractState: {
10
+ readonly CREATED: "CREATED";
11
+ readonly FUNDED: "FUNDED";
12
+ readonly INITIATED: "INITIATED";
13
+ readonly DELIVERING: "DELIVERING";
14
+ readonly PAUSED: "PAUSED";
15
+ readonly COMPLETED: "COMPLETED";
16
+ readonly CANCELED: "CANCELED";
17
+ };
18
+ export type ContractState = typeof ContractState[keyof typeof ContractState];
19
+ export declare const EndpointType: {
20
+ readonly LOCATION: "LOCATION";
21
+ readonly NETWORK_DEVICE: "NETWORK_DEVICE";
22
+ readonly NETWORK_ZONE: "NETWORK_ZONE";
23
+ readonly NNI: "NNI";
24
+ readonly PORT: "PORT";
25
+ readonly UNKNOWN: "UNKNOWN";
26
+ };
27
+ export type EndpointType = typeof EndpointType[keyof typeof EndpointType];
28
+ export declare const ChargeFrequency: {
29
+ readonly DAILY: "DAILY";
30
+ readonly WEEKLY: "WEEKLY";
31
+ readonly MONTHLY: "MONTHLY";
32
+ readonly SEMIANNUALLY: "SEMIANNUALLY";
33
+ readonly ANNUALLY: "ANNUALLY";
34
+ };
35
+ export type ChargeFrequency = typeof ChargeFrequency[keyof typeof ChargeFrequency];
36
+ export declare const InterpolationType: {
37
+ readonly LINEAR: "LINEAR";
38
+ readonly STEPWISE: "STEPWISE";
39
+ readonly MONOTONICCUBIC: "MONOTONICCUBIC";
40
+ };
41
+ export type InterpolationType = typeof InterpolationType[keyof typeof InterpolationType];
42
+ export declare const EndorseStatus: {
43
+ readonly PROPOSED: "PROPOSED";
44
+ readonly ENDORSED: "ENDORSED";
45
+ readonly DEPRECATED: "DEPRECATED";
46
+ readonly REJECTED: "REJECTED";
47
+ readonly NOT_PROPOSED: "NOT_PROPOSED";
48
+ };
49
+ export type EndorseStatus = typeof EndorseStatus[keyof typeof EndorseStatus];
50
+ export declare const QuoteStatus: {
51
+ readonly PENDING: "PENDING";
52
+ readonly ACCEPTED: "ACCEPTED";
53
+ readonly ACTIVE: "ACTIVE";
54
+ readonly EXPIRED: "EXPIRED";
55
+ };
56
+ export type QuoteStatus = typeof QuoteStatus[keyof typeof QuoteStatus];
57
+ export declare const PortType: {
58
+ readonly ACCESSMODE: "ACCESSMODE";
59
+ readonly QINQTRUNKMODE: "QINQTRUNKMODE";
60
+ readonly EIGHTZEROTWOTRUNKMODE: "EIGHTZEROTWOTRUNKMODE";
61
+ readonly OPTIONALMODE: "OPTIONALMODE";
62
+ };
63
+ export type PortType = typeof PortType[keyof typeof PortType];
64
+ export declare const DuplexType: {
65
+ readonly FULL: "FULL";
66
+ readonly HALFDUPLEX: "HALFDUPLEX";
67
+ };
68
+ export type DuplexType = typeof DuplexType[keyof typeof DuplexType];
69
+ export declare const EndType: {
70
+ readonly A: "A";
71
+ readonly B: "B";
72
+ };
73
+ export type EndType = typeof EndType[keyof typeof EndType];
74
+ export declare const EventType: {
75
+ readonly LIBP2P_RFQ: "LIBP2P_RFQ";
76
+ readonly LIBP2P_QUOTE: "LIBP2P_QUOTE";
77
+ };
78
+ export type EventType = typeof EventType[keyof typeof EventType];
79
+ export declare const UserType: {
80
+ readonly MASTER: "MASTER";
81
+ readonly WHITE_LABELER: "WHITE_LABELER";
82
+ };
83
+ export type UserType = typeof UserType[keyof typeof UserType];
84
+ export declare const ServiceType: {
85
+ readonly POINT_TO_POINT: "POINT_TO_POINT";
86
+ readonly INTERNET: "INTERNET";
87
+ };
88
+ export type ServiceType = typeof ServiceType[keyof typeof ServiceType];
package/dist/enums.js CHANGED
@@ -1,3 +1,77 @@
1
- // Auto-generated enum types from Prisma schema
1
+ // Auto-generated enum types and runtime values from Prisma schema
2
2
  // Do not edit manually
3
- export {};
3
+ export const EscrowState = {
4
+ NOEXIST: "NOEXIST",
5
+ PENDING: "PENDING",
6
+ INITIATED: "INITIATED",
7
+ COMPLETED: "COMPLETED",
8
+ CANCELED: "CANCELED"
9
+ };
10
+ export const ContractState = {
11
+ CREATED: "CREATED",
12
+ FUNDED: "FUNDED",
13
+ INITIATED: "INITIATED",
14
+ DELIVERING: "DELIVERING",
15
+ PAUSED: "PAUSED",
16
+ COMPLETED: "COMPLETED",
17
+ CANCELED: "CANCELED"
18
+ };
19
+ export const EndpointType = {
20
+ LOCATION: "LOCATION",
21
+ NETWORK_DEVICE: "NETWORK_DEVICE",
22
+ NETWORK_ZONE: "NETWORK_ZONE",
23
+ NNI: "NNI",
24
+ PORT: "PORT",
25
+ UNKNOWN: "UNKNOWN"
26
+ };
27
+ export const ChargeFrequency = {
28
+ DAILY: "DAILY",
29
+ WEEKLY: "WEEKLY",
30
+ MONTHLY: "MONTHLY",
31
+ SEMIANNUALLY: "SEMIANNUALLY",
32
+ ANNUALLY: "ANNUALLY"
33
+ };
34
+ export const InterpolationType = {
35
+ LINEAR: "LINEAR",
36
+ STEPWISE: "STEPWISE",
37
+ MONOTONICCUBIC: "MONOTONICCUBIC"
38
+ };
39
+ export const EndorseStatus = {
40
+ PROPOSED: "PROPOSED",
41
+ ENDORSED: "ENDORSED",
42
+ DEPRECATED: "DEPRECATED",
43
+ REJECTED: "REJECTED",
44
+ NOT_PROPOSED: "NOT_PROPOSED"
45
+ };
46
+ export const QuoteStatus = {
47
+ PENDING: "PENDING",
48
+ ACCEPTED: "ACCEPTED",
49
+ ACTIVE: "ACTIVE",
50
+ EXPIRED: "EXPIRED"
51
+ };
52
+ export const PortType = {
53
+ ACCESSMODE: "ACCESSMODE",
54
+ QINQTRUNKMODE: "QINQTRUNKMODE",
55
+ EIGHTZEROTWOTRUNKMODE: "EIGHTZEROTWOTRUNKMODE",
56
+ OPTIONALMODE: "OPTIONALMODE"
57
+ };
58
+ export const DuplexType = {
59
+ FULL: "FULL",
60
+ HALFDUPLEX: "HALFDUPLEX"
61
+ };
62
+ export const EndType = {
63
+ A: "A",
64
+ B: "B"
65
+ };
66
+ export const EventType = {
67
+ LIBP2P_RFQ: "LIBP2P_RFQ",
68
+ LIBP2P_QUOTE: "LIBP2P_QUOTE"
69
+ };
70
+ export const UserType = {
71
+ MASTER: "MASTER",
72
+ WHITE_LABELER: "WHITE_LABELER"
73
+ };
74
+ export const ServiceType = {
75
+ POINT_TO_POINT: "POINT_TO_POINT",
76
+ INTERNET: "INTERNET"
77
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "televerse-shared-schema",
3
- "version": "0.0.2-alpha.0",
3
+ "version": "0.0.2-alpha.2",
4
4
  "description": "Shared prisma enum types for Televerse TSPN.",
5
5
  "license": "MIT",
6
6
  "type": "module",