@openfort/openfort-node 0.2.7 → 0.2.9

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 (99) hide show
  1. package/dist/api/accountsApi.d.ts +113 -0
  2. package/dist/api/accountsApi.js +493 -0
  3. package/dist/api/accountsApi.js.map +1 -0
  4. package/dist/api/apis.d.ts +3 -3
  5. package/dist/api/apis.js +3 -3
  6. package/dist/api/apis.js.map +1 -1
  7. package/dist/api/contractsApi.d.ts +18 -4
  8. package/dist/api/contractsApi.js +77 -3
  9. package/dist/api/contractsApi.js.map +1 -1
  10. package/dist/api/defaultApi.d.ts +7 -79
  11. package/dist/api/defaultApi.js +24 -406
  12. package/dist/api/defaultApi.js.map +1 -1
  13. package/dist/api/logsApi.js.map +1 -1
  14. package/dist/api/playersApi.d.ts +27 -8
  15. package/dist/api/playersApi.js +121 -19
  16. package/dist/api/playersApi.js.map +1 -1
  17. package/dist/api/policiesApi.d.ts +27 -10
  18. package/dist/api/policiesApi.js +110 -12
  19. package/dist/api/policiesApi.js.map +1 -1
  20. package/dist/api/sessionsApi.d.ts +35 -1
  21. package/dist/api/sessionsApi.js +189 -1
  22. package/dist/api/sessionsApi.js.map +1 -1
  23. package/dist/api/transactionIntentsApi.d.ts +6 -5
  24. package/dist/api/transactionIntentsApi.js +12 -8
  25. package/dist/api/transactionIntentsApi.js.map +1 -1
  26. package/dist/index.d.ts +3 -0
  27. package/dist/index.js +8 -0
  28. package/dist/index.js.map +1 -1
  29. package/dist/model/accountResponse.d.ts +3 -3
  30. package/dist/model/accountResponse.js +6 -6
  31. package/dist/model/accountResponse.js.map +1 -1
  32. package/dist/model/contractDeleteResponse.d.ts +27 -0
  33. package/dist/model/contractDeleteResponse.js +39 -0
  34. package/dist/model/contractDeleteResponse.js.map +1 -0
  35. package/dist/model/contractResponse.d.ts +3 -3
  36. package/dist/model/contractResponse.js +6 -6
  37. package/dist/model/contractResponse.js.map +1 -1
  38. package/dist/model/models.d.ts +13 -7
  39. package/dist/model/models.js +39 -21
  40. package/dist/model/models.js.map +1 -1
  41. package/dist/model/playerResponse.d.ts +5 -5
  42. package/dist/model/playerResponse.js +7 -7
  43. package/dist/model/playerResponse.js.map +1 -1
  44. package/dist/model/playerResponseAccounts.d.ts +24 -0
  45. package/dist/model/playerResponseAccounts.js +23 -0
  46. package/dist/model/playerResponseAccounts.js.map +1 -0
  47. package/dist/model/policyDeleteResponse.d.ts +27 -0
  48. package/dist/model/policyDeleteResponse.js +39 -0
  49. package/dist/model/policyDeleteResponse.js.map +1 -0
  50. package/dist/model/policyResponse.d.ts +6 -6
  51. package/dist/model/policyResponse.js +8 -8
  52. package/dist/model/policyResponse.js.map +1 -1
  53. package/dist/model/policyResponsePolicyRules.d.ts +24 -0
  54. package/dist/model/policyResponsePolicyRules.js +23 -0
  55. package/dist/model/policyResponsePolicyRules.js.map +1 -0
  56. package/dist/model/policyResponseTransactionIntents.d.ts +24 -0
  57. package/dist/model/policyResponseTransactionIntents.js +23 -0
  58. package/dist/model/policyResponseTransactionIntents.js.map +1 -0
  59. package/dist/model/policyRuleResponse.d.ts +6 -4
  60. package/dist/model/policyRuleResponse.js +6 -6
  61. package/dist/model/policyRuleResponse.js.map +1 -1
  62. package/dist/model/policySchema.d.ts +15 -0
  63. package/dist/model/policySchema.js +20 -0
  64. package/dist/model/policySchema.js.map +1 -0
  65. package/dist/model/prismaJsonValue.d.ts +27 -0
  66. package/dist/model/prismaJsonValue.js +26 -0
  67. package/dist/model/prismaJsonValue.js.map +1 -0
  68. package/dist/model/projectResponse.d.ts +3 -3
  69. package/dist/model/projectResponse.js +6 -6
  70. package/dist/model/projectResponse.js.map +1 -1
  71. package/dist/model/projectResponseApikeys.d.ts +24 -0
  72. package/dist/model/projectResponseApikeys.js +23 -0
  73. package/dist/model/projectResponseApikeys.js.map +1 -0
  74. package/dist/model/responseResponse.d.ts +6 -5
  75. package/dist/model/responseResponse.js +2 -2
  76. package/dist/model/responseResponse.js.map +1 -1
  77. package/dist/model/sessionResponse.d.ts +6 -1
  78. package/dist/model/sessionResponse.js +22 -2
  79. package/dist/model/sessionResponse.js.map +1 -1
  80. package/dist/model/sessionResponseTransactionIntents.d.ts +24 -0
  81. package/dist/model/sessionResponseTransactionIntents.js +23 -0
  82. package/dist/model/sessionResponseTransactionIntents.js.map +1 -0
  83. package/dist/model/sessionsResponse.d.ts +28 -0
  84. package/dist/model/sessionsResponse.js +39 -0
  85. package/dist/model/sessionsResponse.js.map +1 -0
  86. package/dist/model/transactionIntentResponse.d.ts +11 -8
  87. package/dist/model/transactionIntentResponse.js +11 -11
  88. package/dist/model/transactionIntentResponse.js.map +1 -1
  89. package/dist/model/transactionIntentResponseAccount.d.ts +33 -0
  90. package/dist/model/transactionIntentResponseAccount.js +64 -0
  91. package/dist/model/transactionIntentResponseAccount.js.map +1 -0
  92. package/dist/model/transactionIntentResponsePlayer.d.ts +36 -0
  93. package/dist/model/transactionIntentResponsePlayer.js +74 -0
  94. package/dist/model/transactionIntentResponsePlayer.js.map +1 -0
  95. package/dist/model/transactionIntentResponsePolicy.d.ts +34 -0
  96. package/dist/model/transactionIntentResponsePolicy.js +64 -0
  97. package/dist/model/transactionIntentResponsePolicy.js.map +1 -0
  98. package/package.json +1 -1
  99. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: founders@openfort.xyz
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class ProjectResponseApikeys {
13
+ static discriminator: string | undefined;
14
+ static attributeTypeMap: Array<{
15
+ name: string;
16
+ baseName: string;
17
+ type: string;
18
+ }>;
19
+ static getAttributeTypeMap(): {
20
+ name: string;
21
+ baseName: string;
22
+ type: string;
23
+ }[];
24
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ * Contact: founders@openfort.xyz
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.ProjectResponseApikeys = void 0;
15
+ class ProjectResponseApikeys {
16
+ static getAttributeTypeMap() {
17
+ return ProjectResponseApikeys.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.ProjectResponseApikeys = ProjectResponseApikeys;
21
+ ProjectResponseApikeys.discriminator = undefined;
22
+ ProjectResponseApikeys.attributeTypeMap = [];
23
+ //# sourceMappingURL=projectResponseApikeys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectResponseApikeys.js","sourceRoot":"","sources":["../../src/model/projectResponseApikeys.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,sBAAsB;IASjC,MAAM,CAAC,mBAAmB;QACxB,OAAO,sBAAsB,CAAC,gBAAgB,CAAC;IACjD,CAAC;;AAXH,wDAYC;AAXQ,oCAAa,GAAuB,SAAS,CAAC;AAE9C,uCAAgB,GAIlB,EAAE,CAAC"}
@@ -9,15 +9,16 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { PrismaJsonValue } from "./prismaJsonValue";
12
13
  export declare class ResponseResponse {
13
14
  "createdAt": Date;
14
15
  "blockNumber": number | null;
15
16
  "transactionHash": string | null;
16
- "gasUsed": number;
17
- "status": number;
18
- "logs": Array<string>;
19
- "to": string;
20
- "error": string;
17
+ "gasUsed"?: number | null;
18
+ "status"?: number | null;
19
+ "logs"?: PrismaJsonValue | null;
20
+ "to"?: string | null;
21
+ "error"?: PrismaJsonValue | null;
21
22
  static discriminator: string | undefined;
22
23
  static attributeTypeMap: Array<{
23
24
  name: string;
@@ -48,7 +48,7 @@ ResponseResponse.attributeTypeMap = [
48
48
  {
49
49
  name: "logs",
50
50
  baseName: "logs",
51
- type: "Array<string>",
51
+ type: "PrismaJsonValue",
52
52
  },
53
53
  {
54
54
  name: "to",
@@ -58,7 +58,7 @@ ResponseResponse.attributeTypeMap = [
58
58
  {
59
59
  name: "error",
60
60
  baseName: "error",
61
- type: "string",
61
+ type: "PrismaJsonValue",
62
62
  },
63
63
  ];
64
64
  //# sourceMappingURL=responseResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"responseResponse.js","sourceRoot":"","sources":["../../src/model/responseResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIH,MAAa,gBAAgB;IA2D3B,MAAM,CAAC,mBAAmB;QACxB,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;IAC3C,CAAC;;AA7DH,4CA8DC;AApDQ,8BAAa,GAAuB,SAAS,CAAC;AAE9C,iCAAgB,GAIlB;IACH;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,kBAAkB;QAC5B,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,eAAe;KACtB;IACD;QACE,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,QAAQ;KACf;CACF,CAAC"}
1
+ {"version":3,"file":"responseResponse.js","sourceRoot":"","sources":["../../src/model/responseResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,gBAAgB;IA2D3B,MAAM,CAAC,mBAAmB;QACxB,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;IAC3C,CAAC;;AA7DH,4CA8DC;AApDQ,8BAAa,GAAuB,SAAS,CAAC;AAE9C,iCAAgB,GAIlB;IACH;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,kBAAkB;QAC5B,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,iBAAiB;KACxB;IACD;QACE,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,iBAAiB;KACxB;CACF,CAAC"}
@@ -9,15 +9,20 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { SessionResponseTransactionIntents } from "./sessionResponseTransactionIntents";
12
13
  export declare class SessionResponse {
13
14
  "id": string;
14
- "createdAt": Date;
15
15
  "object": string;
16
+ "createdAt": Date;
17
+ "updatedAt": Date;
18
+ "isActive"?: boolean;
19
+ "address": string;
16
20
  "validAfter"?: string;
17
21
  "validUntil"?: string;
18
22
  "whitelist"?: Array<string>;
19
23
  "limit"?: number;
20
24
  "nextAction": object | null;
25
+ "transactionIntents": SessionResponseTransactionIntents | null;
21
26
  static discriminator: string | undefined;
22
27
  static attributeTypeMap: Array<{
23
28
  name: string;
@@ -25,14 +25,29 @@ SessionResponse.attributeTypeMap = [
25
25
  baseName: "id",
26
26
  type: "string",
27
27
  },
28
+ {
29
+ name: "object",
30
+ baseName: "object",
31
+ type: "string",
32
+ },
28
33
  {
29
34
  name: "createdAt",
30
35
  baseName: "created_at",
31
36
  type: "Date",
32
37
  },
33
38
  {
34
- name: "object",
35
- baseName: "object",
39
+ name: "updatedAt",
40
+ baseName: "updated_at",
41
+ type: "Date",
42
+ },
43
+ {
44
+ name: "isActive",
45
+ baseName: "is_active",
46
+ type: "boolean",
47
+ },
48
+ {
49
+ name: "address",
50
+ baseName: "address",
36
51
  type: "string",
37
52
  },
38
53
  {
@@ -60,5 +75,10 @@ SessionResponse.attributeTypeMap = [
60
75
  baseName: "next_action",
61
76
  type: "object",
62
77
  },
78
+ {
79
+ name: "transactionIntents",
80
+ baseName: "transaction_intents",
81
+ type: "SessionResponseTransactionIntents",
82
+ },
63
83
  ];
64
84
  //# sourceMappingURL=sessionResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sessionResponse.js","sourceRoot":"","sources":["../../src/model/sessionResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAIH,MAAa,eAAe;IA2D1B,MAAM,CAAC,mBAAmB;QACxB,OAAO,eAAe,CAAC,gBAAgB,CAAC;IAC1C,CAAC;;AA7DH,0CA8DC;AApDQ,6BAAa,GAAuB,SAAS,CAAC;AAE9C,gCAAgB,GAIlB;IACH;QACE,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,eAAe;KACtB;IACD;QACE,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;CACF,CAAC"}
1
+ {"version":3,"file":"sessionResponse.js","sourceRoot":"","sources":["../../src/model/sessionResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,eAAe;IAmF1B,MAAM,CAAC,mBAAmB;QACxB,OAAO,eAAe,CAAC,gBAAgB,CAAC;IAC1C,CAAC;;AArFH,0CAsFC;AAxEQ,6BAAa,GAAuB,SAAS,CAAC;AAE9C,gCAAgB,GAIlB;IACH;QACE,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,eAAe;KACtB;IACD;QACE,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,QAAQ,EAAE,qBAAqB;QAC/B,IAAI,EAAE,mCAAmC;KAC1C;CACF,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: founders@openfort.xyz
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class SessionResponseTransactionIntents {
13
+ static discriminator: string | undefined;
14
+ static attributeTypeMap: Array<{
15
+ name: string;
16
+ baseName: string;
17
+ type: string;
18
+ }>;
19
+ static getAttributeTypeMap(): {
20
+ name: string;
21
+ baseName: string;
22
+ type: string;
23
+ }[];
24
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ * Contact: founders@openfort.xyz
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.SessionResponseTransactionIntents = void 0;
15
+ class SessionResponseTransactionIntents {
16
+ static getAttributeTypeMap() {
17
+ return SessionResponseTransactionIntents.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.SessionResponseTransactionIntents = SessionResponseTransactionIntents;
21
+ SessionResponseTransactionIntents.discriminator = undefined;
22
+ SessionResponseTransactionIntents.attributeTypeMap = [];
23
+ //# sourceMappingURL=sessionResponseTransactionIntents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sessionResponseTransactionIntents.js","sourceRoot":"","sources":["../../src/model/sessionResponseTransactionIntents.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,iCAAiC;IAS5C,MAAM,CAAC,mBAAmB;QACxB,OAAO,iCAAiC,CAAC,gBAAgB,CAAC;IAC5D,CAAC;;AAXH,8EAYC;AAXQ,+CAAa,GAAuB,SAAS,CAAC;AAE9C,kDAAgB,GAIlB,EAAE,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: founders@openfort.xyz
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { SessionResponse } from "./sessionResponse";
13
+ export declare class SessionsResponse {
14
+ "object": string;
15
+ "url": string;
16
+ "data": Array<SessionResponse>;
17
+ static discriminator: string | undefined;
18
+ static attributeTypeMap: Array<{
19
+ name: string;
20
+ baseName: string;
21
+ type: string;
22
+ }>;
23
+ static getAttributeTypeMap(): {
24
+ name: string;
25
+ baseName: string;
26
+ type: string;
27
+ }[];
28
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ * Contact: founders@openfort.xyz
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.SessionsResponse = void 0;
15
+ class SessionsResponse {
16
+ static getAttributeTypeMap() {
17
+ return SessionsResponse.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.SessionsResponse = SessionsResponse;
21
+ SessionsResponse.discriminator = undefined;
22
+ SessionsResponse.attributeTypeMap = [
23
+ {
24
+ name: "object",
25
+ baseName: "object",
26
+ type: "string",
27
+ },
28
+ {
29
+ name: "url",
30
+ baseName: "url",
31
+ type: "string",
32
+ },
33
+ {
34
+ name: "data",
35
+ baseName: "data",
36
+ type: "Array<SessionResponse>",
37
+ },
38
+ ];
39
+ //# sourceMappingURL=sessionsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sessionsResponse.js","sourceRoot":"","sources":["../../src/model/sessionsResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAKH,MAAa,gBAAgB;IA6B3B,MAAM,CAAC,mBAAmB;QACxB,OAAO,gBAAgB,CAAC,gBAAgB,CAAC;IAC3C,CAAC;;AA/BH,4CAgCC;AA3BQ,8BAAa,GAAuB,SAAS,CAAC;AAE9C,iCAAgB,GAIlB;IACH;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,KAAK;QACX,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,wBAAwB;KAC/B;CACF,CAAC"}
@@ -10,22 +10,25 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { Interaction } from "./interaction";
13
+ import { PrismaJsonValue } from "./prismaJsonValue";
13
14
  import { ResponseResponse } from "./responseResponse";
14
- import { UserOpResult } from "./userOpResult";
15
+ import { TransactionIntentResponseAccount } from "./transactionIntentResponseAccount";
16
+ import { TransactionIntentResponsePlayer } from "./transactionIntentResponsePlayer";
17
+ import { TransactionIntentResponsePolicy } from "./transactionIntentResponsePolicy";
15
18
  export declare class TransactionIntentResponse {
16
19
  "id": string;
20
+ "object": string;
17
21
  "createdAt": Date;
18
22
  "updatedAt": Date;
19
23
  "chainId": number;
20
24
  "userOperationHash": string | null;
21
- "userOperation"?: UserOpResult;
22
- "policy": string | null;
23
- "player": string;
24
- "nextAction": object | null;
25
- "account"?: string;
26
- "transactions": Array<Interaction>;
25
+ "userOperation"?: PrismaJsonValue | null;
26
+ "policy": TransactionIntentResponsePolicy | null;
27
+ "player"?: TransactionIntentResponsePlayer;
28
+ "nextAction"?: object | null;
29
+ "account"?: TransactionIntentResponseAccount;
30
+ "interactions": Array<Interaction> | null;
27
31
  "response": ResponseResponse | null;
28
- "object": string;
29
32
  static discriminator: string | undefined;
30
33
  static attributeTypeMap: Array<{
31
34
  name: string;
@@ -25,6 +25,11 @@ TransactionIntentResponse.attributeTypeMap = [
25
25
  baseName: "id",
26
26
  type: "string",
27
27
  },
28
+ {
29
+ name: "object",
30
+ baseName: "object",
31
+ type: "string",
32
+ },
28
33
  {
29
34
  name: "createdAt",
30
35
  baseName: "created_at",
@@ -48,17 +53,17 @@ TransactionIntentResponse.attributeTypeMap = [
48
53
  {
49
54
  name: "userOperation",
50
55
  baseName: "user_operation",
51
- type: "UserOpResult",
56
+ type: "PrismaJsonValue",
52
57
  },
53
58
  {
54
59
  name: "policy",
55
60
  baseName: "policy",
56
- type: "string",
61
+ type: "TransactionIntentResponsePolicy",
57
62
  },
58
63
  {
59
64
  name: "player",
60
65
  baseName: "player",
61
- type: "string",
66
+ type: "TransactionIntentResponsePlayer",
62
67
  },
63
68
  {
64
69
  name: "nextAction",
@@ -68,11 +73,11 @@ TransactionIntentResponse.attributeTypeMap = [
68
73
  {
69
74
  name: "account",
70
75
  baseName: "account",
71
- type: "string",
76
+ type: "TransactionIntentResponseAccount",
72
77
  },
73
78
  {
74
- name: "transactions",
75
- baseName: "transactions",
79
+ name: "interactions",
80
+ baseName: "interactions",
76
81
  type: "Array<Interaction>",
77
82
  },
78
83
  {
@@ -80,10 +85,5 @@ TransactionIntentResponse.attributeTypeMap = [
80
85
  baseName: "response",
81
86
  type: "ResponseResponse",
82
87
  },
83
- {
84
- name: "object",
85
- baseName: "object",
86
- type: "string",
87
- },
88
88
  ];
89
89
  //# sourceMappingURL=transactionIntentResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"transactionIntentResponse.js","sourceRoot":"","sources":["../../src/model/transactionIntentResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAOH,MAAa,yBAAyB;IAyFpC,MAAM,CAAC,mBAAmB;QACxB,OAAO,yBAAyB,CAAC,gBAAgB,CAAC;IACpD,CAAC;;AA3FH,8DA4FC;AA7EQ,uCAAa,GAAuB,SAAS,CAAC;AAE9C,0CAAgB,GAIlB;IACH;QACE,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,qBAAqB;QAC/B,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE,gBAAgB;QAC1B,IAAI,EAAE,cAAc;KACrB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,oBAAoB;KAC3B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,kBAAkB;KACzB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;CACF,CAAC"}
1
+ {"version":3,"file":"transactionIntentResponse.js","sourceRoot":"","sources":["../../src/model/transactionIntentResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAUH,MAAa,yBAAyB;IAyFpC,MAAM,CAAC,mBAAmB;QACxB,OAAO,yBAAyB,CAAC,gBAAgB,CAAC;IACpD,CAAC;;AA3FH,8DA4FC;AA7EQ,uCAAa,GAAuB,SAAS,CAAC;AAE9C,0CAAgB,GAIlB;IACH;QACE,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,qBAAqB;QAC/B,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,eAAe;QACrB,QAAQ,EAAE,gBAAgB;QAC1B,IAAI,EAAE,iBAAiB;KACxB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,iCAAiC;KACxC;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,iCAAiC;KACxC;IACD;QACE,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,kCAAkC;KACzC;IACD;QACE,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,cAAc;QACxB,IAAI,EAAE,oBAAoB;KAC3B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,kBAAkB;KACzB;CACF,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: founders@openfort.xyz
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PolicyResponseTransactionIntents } from "./policyResponseTransactionIntents";
13
+ export declare class TransactionIntentResponseAccount {
14
+ "id": string;
15
+ "object": string;
16
+ "createdAt": Date;
17
+ "address": string;
18
+ "deployed": boolean;
19
+ "custodial": boolean;
20
+ "chainId": number;
21
+ "transactionIntents"?: PolicyResponseTransactionIntents;
22
+ static discriminator: string | undefined;
23
+ static attributeTypeMap: Array<{
24
+ name: string;
25
+ baseName: string;
26
+ type: string;
27
+ }>;
28
+ static getAttributeTypeMap(): {
29
+ name: string;
30
+ baseName: string;
31
+ type: string;
32
+ }[];
33
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ * Contact: founders@openfort.xyz
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.TransactionIntentResponseAccount = void 0;
15
+ class TransactionIntentResponseAccount {
16
+ static getAttributeTypeMap() {
17
+ return TransactionIntentResponseAccount.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.TransactionIntentResponseAccount = TransactionIntentResponseAccount;
21
+ TransactionIntentResponseAccount.discriminator = undefined;
22
+ TransactionIntentResponseAccount.attributeTypeMap = [
23
+ {
24
+ name: "id",
25
+ baseName: "id",
26
+ type: "string",
27
+ },
28
+ {
29
+ name: "object",
30
+ baseName: "object",
31
+ type: "string",
32
+ },
33
+ {
34
+ name: "createdAt",
35
+ baseName: "created_at",
36
+ type: "Date",
37
+ },
38
+ {
39
+ name: "address",
40
+ baseName: "address",
41
+ type: "string",
42
+ },
43
+ {
44
+ name: "deployed",
45
+ baseName: "deployed",
46
+ type: "boolean",
47
+ },
48
+ {
49
+ name: "custodial",
50
+ baseName: "custodial",
51
+ type: "boolean",
52
+ },
53
+ {
54
+ name: "chainId",
55
+ baseName: "chain_id",
56
+ type: "number",
57
+ },
58
+ {
59
+ name: "transactionIntents",
60
+ baseName: "transaction_intents",
61
+ type: "PolicyResponseTransactionIntents",
62
+ },
63
+ ];
64
+ //# sourceMappingURL=transactionIntentResponseAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactionIntentResponseAccount.js","sourceRoot":"","sources":["../../src/model/transactionIntentResponseAccount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAMH,MAAa,gCAAgC;IA2D3C,MAAM,CAAC,mBAAmB;QACxB,OAAO,gCAAgC,CAAC,gBAAgB,CAAC;IAC3D,CAAC;;AA7DH,4EA8DC;AApDQ,8CAAa,GAAuB,SAAS,CAAC;AAE9C,iDAAgB,GAIlB;IACH;QACE,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,WAAW;QACrB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,QAAQ,EAAE,qBAAqB;QAC/B,IAAI,EAAE,kCAAkC;KACzC;CACF,CAAC"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: founders@openfort.xyz
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PlayerResponseAccounts } from "./playerResponseAccounts";
13
+ import { PolicyResponseTransactionIntents } from "./policyResponseTransactionIntents";
14
+ export declare class TransactionIntentResponsePlayer {
15
+ "id": string;
16
+ "object": string;
17
+ "createdAt": Date;
18
+ "name": string | null;
19
+ "livemode": boolean;
20
+ "email": string | null;
21
+ "description": string | null;
22
+ "metadata": string;
23
+ "transactionIntents"?: PolicyResponseTransactionIntents;
24
+ "accounts"?: PlayerResponseAccounts;
25
+ static discriminator: string | undefined;
26
+ static attributeTypeMap: Array<{
27
+ name: string;
28
+ baseName: string;
29
+ type: string;
30
+ }>;
31
+ static getAttributeTypeMap(): {
32
+ name: string;
33
+ baseName: string;
34
+ type: string;
35
+ }[];
36
+ }
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /**
3
+ * Openfort API
4
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ * Contact: founders@openfort.xyz
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.TransactionIntentResponsePlayer = void 0;
15
+ class TransactionIntentResponsePlayer {
16
+ static getAttributeTypeMap() {
17
+ return TransactionIntentResponsePlayer.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.TransactionIntentResponsePlayer = TransactionIntentResponsePlayer;
21
+ TransactionIntentResponsePlayer.discriminator = undefined;
22
+ TransactionIntentResponsePlayer.attributeTypeMap = [
23
+ {
24
+ name: "id",
25
+ baseName: "id",
26
+ type: "string",
27
+ },
28
+ {
29
+ name: "object",
30
+ baseName: "object",
31
+ type: "string",
32
+ },
33
+ {
34
+ name: "createdAt",
35
+ baseName: "created_at",
36
+ type: "Date",
37
+ },
38
+ {
39
+ name: "name",
40
+ baseName: "name",
41
+ type: "string",
42
+ },
43
+ {
44
+ name: "livemode",
45
+ baseName: "livemode",
46
+ type: "boolean",
47
+ },
48
+ {
49
+ name: "email",
50
+ baseName: "email",
51
+ type: "string",
52
+ },
53
+ {
54
+ name: "description",
55
+ baseName: "description",
56
+ type: "string",
57
+ },
58
+ {
59
+ name: "metadata",
60
+ baseName: "metadata",
61
+ type: "string",
62
+ },
63
+ {
64
+ name: "transactionIntents",
65
+ baseName: "transaction_intents",
66
+ type: "PolicyResponseTransactionIntents",
67
+ },
68
+ {
69
+ name: "accounts",
70
+ baseName: "accounts",
71
+ type: "PlayerResponseAccounts",
72
+ },
73
+ ];
74
+ //# sourceMappingURL=transactionIntentResponsePlayer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactionIntentResponsePlayer.js","sourceRoot":"","sources":["../../src/model/transactionIntentResponsePlayer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAOH,MAAa,+BAA+B;IAuE1C,MAAM,CAAC,mBAAmB;QACxB,OAAO,+BAA+B,CAAC,gBAAgB,CAAC;IAC1D,CAAC;;AAzEH,0EA0EC;AA9DQ,6CAAa,GAAuB,SAAS,CAAC;AAE9C,gDAAgB,GAIlB;IACH;QACE,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,YAAY;QACtB,IAAI,EAAE,MAAM;KACb;IACD;QACE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,SAAS;KAChB;IACD;QACE,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,aAAa;QACnB,QAAQ,EAAE,aAAa;QACvB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,QAAQ,EAAE,qBAAqB;QAC/B,IAAI,EAAE,kCAAkC;KACzC;IACD;QACE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,wBAAwB;KAC/B;CACF,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Openfort API
3
+ * Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: founders@openfort.xyz
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PolicyResponsePolicyRules } from "./policyResponsePolicyRules";
13
+ import { PolicyResponseTransactionIntents } from "./policyResponseTransactionIntents";
14
+ export declare class TransactionIntentResponsePolicy {
15
+ "id": string;
16
+ "object": string;
17
+ "createdAt": Date;
18
+ "name": string | null;
19
+ "chainId": number;
20
+ "strategy": any | null;
21
+ "transactionIntents"?: PolicyResponseTransactionIntents;
22
+ "policyRules"?: PolicyResponsePolicyRules;
23
+ static discriminator: string | undefined;
24
+ static attributeTypeMap: Array<{
25
+ name: string;
26
+ baseName: string;
27
+ type: string;
28
+ }>;
29
+ static getAttributeTypeMap(): {
30
+ name: string;
31
+ baseName: string;
32
+ type: string;
33
+ }[];
34
+ }