@paysponge/sdk 0.1.97 → 0.1.115

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 (64) hide show
  1. package/dist/api/generated/openapi/apis/default-api.d.ts +1165 -5
  2. package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
  3. package/dist/api/generated/openapi/apis/default-api.js +1159 -1
  4. package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
  5. package/dist/api/generated/openapi/models/index.d.ts +5 -0
  6. package/dist/api/generated/openapi/models/index.d.ts.map +1 -1
  7. package/dist/api/generated/openapi/models/index.js +5 -0
  8. package/dist/api/generated/openapi/models/index.js.map +1 -1
  9. package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.d.ts +187 -0
  10. package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.d.ts.map +1 -0
  11. package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.js +125 -0
  12. package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.js.map +1 -0
  13. package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request.d.ts +58 -0
  14. package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request.d.ts.map +1 -0
  15. package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request.js +57 -0
  16. package/dist/api/generated/openapi/models/post-api-agent-requests-plans-request.js.map +1 -0
  17. package/dist/api/generated/openapi/models/post-api-agents-by-id-polymarket-withdraw-request.d.ts +54 -0
  18. package/dist/api/generated/openapi/models/post-api-agents-by-id-polymarket-withdraw-request.d.ts.map +1 -0
  19. package/dist/api/generated/openapi/models/post-api-agents-by-id-polymarket-withdraw-request.js +58 -0
  20. package/dist/api/generated/openapi/models/post-api-agents-by-id-polymarket-withdraw-request.js.map +1 -0
  21. package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-request.d.ts +65 -0
  22. package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-request.d.ts.map +1 -0
  23. package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-request.js +62 -0
  24. package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-request.js.map +1 -0
  25. package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-setup-intent-request.d.ts +53 -0
  26. package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-setup-intent-request.d.ts.map +1 -0
  27. package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-setup-intent-request.js +50 -0
  28. package/dist/api/generated/openapi/models/post-api-agents-by-id-stripe-payment-methods-setup-intent-request.js.map +1 -0
  29. package/dist/api/generated/openapi/models/post-api-cards-request.d.ts +2 -2
  30. package/dist/api/generated/openapi/models/post-api-cards-request.js +2 -2
  31. package/dist/api/generated/openapi/models/post-api-cards-request.js.map +1 -1
  32. package/dist/api/generated/openapi/models/post-api-mpp-session-request-request.d.ts +6 -0
  33. package/dist/api/generated/openapi/models/post-api-mpp-session-request-request.d.ts.map +1 -1
  34. package/dist/api/generated/openapi/models/post-api-mpp-session-request-request.js +2 -0
  35. package/dist/api/generated/openapi/models/post-api-mpp-session-request-request.js.map +1 -1
  36. package/dist/api/http.d.ts +2 -0
  37. package/dist/api/http.d.ts.map +1 -1
  38. package/dist/api/http.js +14 -1
  39. package/dist/api/http.js.map +1 -1
  40. package/dist/api/public-tools.d.ts +60 -3
  41. package/dist/api/public-tools.d.ts.map +1 -1
  42. package/dist/api/public-tools.js +31 -0
  43. package/dist/api/public-tools.js.map +1 -1
  44. package/dist/cli.d.ts.map +1 -1
  45. package/dist/cli.js +108 -18
  46. package/dist/cli.js.map +1 -1
  47. package/dist/client.d.ts +45 -8
  48. package/dist/client.d.ts.map +1 -1
  49. package/dist/client.js +33 -5
  50. package/dist/client.js.map +1 -1
  51. package/dist/index.d.ts +1 -0
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js.map +1 -1
  54. package/dist/tools/definitions.d.ts.map +1 -1
  55. package/dist/tools/definitions.js +96 -22
  56. package/dist/tools/definitions.js.map +1 -1
  57. package/dist/tools/executor.d.ts.map +1 -1
  58. package/dist/tools/executor.js +48 -1
  59. package/dist/tools/executor.js.map +1 -1
  60. package/dist/version.d.ts +1 -1
  61. package/dist/version.d.ts.map +1 -1
  62. package/dist/version.js +1 -1
  63. package/dist/version.js.map +1 -1
  64. package/package.json +2 -1
@@ -1,5 +1,7 @@
1
1
  export * from './get-api-bridge-fiat-customer-force-refresh-parameter.js';
2
2
  export * from './post-api-agent-keys-request.js';
3
+ export * from './post-api-agent-requests-plans-request.js';
4
+ export * from './post-api-agent-requests-plans-request-steps-inner.js';
3
5
  export * from './post-api-agents-by-id-amazon-accounts-copy-request.js';
4
6
  export * from './post-api-agents-by-id-amazon-accounts-request.js';
5
7
  export * from './post-api-agents-by-id-enrollments-by-enrollment-id-verify-method-request.js';
@@ -24,8 +26,11 @@ export * from './post-api-agents-by-id-payment-methods-request-billing-address.j
24
26
  export * from './post-api-agents-by-id-payment-methods-request-shipping-address.js';
25
27
  export * from './post-api-agents-by-id-polymarket-fund-request.js';
26
28
  export * from './post-api-agents-by-id-polymarket-redeem-request.js';
29
+ export * from './post-api-agents-by-id-polymarket-withdraw-request.js';
27
30
  export * from './post-api-agents-by-id-regenerate-key-request.js';
28
31
  export * from './post-api-agents-by-id-shipping-addresses-request.js';
32
+ export * from './post-api-agents-by-id-stripe-payment-methods-request.js';
33
+ export * from './post-api-agents-by-id-stripe-payment-methods-setup-intent-request.js';
29
34
  export * from './post-api-agents-by-id-virtual-card-request.js';
30
35
  export * from './post-api-agents-register-request.js';
31
36
  export * from './post-api-agents-request.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,2DAA2D,CAAC;AAC1E,cAAc,kCAAkC,CAAC;AACjD,cAAc,yDAAyD,CAAC;AACxE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4C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,2DAA2D,CAAC;AAC1E,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,+EAA+E,CAAC;AAC9F,cAAc,4EAA4E,CAAC;AAC3F,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,yDAAyD,CAAC;AACxE,cAAc,yDAAyD,CAAC;AACxE,cAAc,+EAA+E,CAAC;AAC9F,cAAc,wFAAwF,CAAC;AACvG,cAAc,8FAA8F,CAAC;AAC7G,cAAc,gGAAgG,CAAC;AAC/G,cAAc,kFAAkF,CAAC;AACjG,cAAc,iDAAiD,CAAC;AAChE,cAAc,oEAAoE,CAAC;AACnF,cAAc,8DAA8D,CAAC;AAC7E,cAAc,yDAAyD,CAAC;AACxE,cAAc,iEAAiE,CAAC;AAChF,cAAc,oDAAoD,CAAC;AACnE,cAAc,oEAAoE,CAAC;AACnF,cAAc,qEAAqE,CAAC;AACpF,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,wDAAwD,CAAC;AACvE,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,wEAAwE,CAAC;AACvF,cAAc,iDAAiD,CAAC;AAChE,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qDAAqD,CAAC;AACpE,cAAc,uCAAuC,CAAC;AACtD,cAAc,wDAAwD,CAAC;AACvE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,c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;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mDAAmD,CAAC;AAClE,cAAc,mDAAmD,CAAC;AAClE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC"}
@@ -2,6 +2,8 @@
2
2
  /* eslint-disable */
3
3
  export * from './get-api-bridge-fiat-customer-force-refresh-parameter.js';
4
4
  export * from './post-api-agent-keys-request.js';
5
+ export * from './post-api-agent-requests-plans-request.js';
6
+ export * from './post-api-agent-requests-plans-request-steps-inner.js';
5
7
  export * from './post-api-agents-by-id-amazon-accounts-copy-request.js';
6
8
  export * from './post-api-agents-by-id-amazon-accounts-request.js';
7
9
  export * from './post-api-agents-by-id-enrollments-by-enrollment-id-verify-method-request.js';
@@ -26,8 +28,11 @@ export * from './post-api-agents-by-id-payment-methods-request-billing-address.j
26
28
  export * from './post-api-agents-by-id-payment-methods-request-shipping-address.js';
27
29
  export * from './post-api-agents-by-id-polymarket-fund-request.js';
28
30
  export * from './post-api-agents-by-id-polymarket-redeem-request.js';
31
+ export * from './post-api-agents-by-id-polymarket-withdraw-request.js';
29
32
  export * from './post-api-agents-by-id-regenerate-key-request.js';
30
33
  export * from './post-api-agents-by-id-shipping-addresses-request.js';
34
+ export * from './post-api-agents-by-id-stripe-payment-methods-request.js';
35
+ export * from './post-api-agents-by-id-stripe-payment-methods-setup-intent-request.js';
31
36
  export * from './post-api-agents-by-id-virtual-card-request.js';
32
37
  export * from './post-api-agents-register-request.js';
33
38
  export * from './post-api-agents-request.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AAC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AAClE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,2DAA2D,CAAC;AAC1E,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,+EAA+E,CAAC;AAC9F,cAAc,4EAA4E,CAAC;AAC3F,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,yDAAyD,CAAC;AACxE,cAAc,yDAAyD,CAAC;AACxE,cAAc,+EAA+E,CAAC;AAC9F,cAAc,wFAAwF,CAAC;AACvG,cAAc,8FAA8F,CAAC;AAC7G,cAAc,gGAAgG,CAAC;AAC/G,cAAc,kFAAkF,CAAC;AACjG,cAAc,iDAAiD,CAAC;AAChE,cAAc,oEAAoE,CAAC;AACnF,cAAc,8DAA8D,CAAC;AAC7E,cAAc,yDAAyD,CAAC;AACxE,cAAc,iEAAiE,CAAC;AAChF,cAAc,oDAAoD,CAAC;AACnE,cAAc,oEAAoE,CAAC;AACnF,cAAc,qEAAqE,CAAC;AACpF,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,wDAAwD,CAAC;AACvE,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,wEAAwE,CAAC;AACvF,cAAc,iDAAiD,CAAC;AAChE,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qDAAqD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,wDAAwD,CAAC;AACvE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,sCAAsC,CAAC;AACrD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mDAAmD,CAAC;AAClE,cAAc,mDAAmD,CAAC;AAClE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC"}
@@ -0,0 +1,187 @@
1
+ /**
2
+ * Sponge Wallet API
3
+ * REST API for the Sponge Wallet agent platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostApiAgentRequestsPlansRequestStepsInner
16
+ */
17
+ export interface PostApiAgentRequestsPlansRequestStepsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
22
+ */
23
+ type: string;
24
+ /**
25
+ *
26
+ * @type {PostApiAgentRequestsPlansRequestStepsInnerActionEnum}
27
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
28
+ */
29
+ action: PostApiAgentRequestsPlansRequestStepsInnerActionEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
34
+ */
35
+ reason: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
40
+ */
41
+ symbol?: string;
42
+ /**
43
+ *
44
+ * @type {PostApiAgentRequestsPlansRequestStepsInnerSideEnum}
45
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
46
+ */
47
+ side?: PostApiAgentRequestsPlansRequestStepsInnerSideEnum;
48
+ /**
49
+ *
50
+ * @type {PostApiAgentRequestsPlansRequestStepsInnerOrderTypeEnum}
51
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
52
+ */
53
+ order_type?: PostApiAgentRequestsPlansRequestStepsInnerOrderTypeEnum;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
58
+ */
59
+ amount?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
64
+ */
65
+ price?: string;
66
+ /**
67
+ *
68
+ * @type {boolean}
69
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
70
+ */
71
+ reduce_only?: boolean;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
76
+ */
77
+ percent?: number;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
82
+ */
83
+ reduce_percent?: number;
84
+ /**
85
+ *
86
+ * @type {boolean}
87
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
88
+ */
89
+ max?: boolean;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
94
+ */
95
+ trigger_price?: string;
96
+ /**
97
+ *
98
+ * @type {PostApiAgentRequestsPlansRequestStepsInnerTpSlEnum}
99
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
100
+ */
101
+ tp_sl?: PostApiAgentRequestsPlansRequestStepsInnerTpSlEnum;
102
+ /**
103
+ *
104
+ * @type {PostApiAgentRequestsPlansRequestStepsInnerTifEnum}
105
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
106
+ */
107
+ tif?: PostApiAgentRequestsPlansRequestStepsInnerTifEnum;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
112
+ */
113
+ order_id?: string;
114
+ /**
115
+ *
116
+ * @type {number}
117
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
118
+ */
119
+ leverage?: number;
120
+ /**
121
+ *
122
+ * @type {string}
123
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
124
+ */
125
+ destination?: string;
126
+ /**
127
+ *
128
+ * @type {boolean}
129
+ * @memberof PostApiAgentRequestsPlansRequestStepsInner
130
+ */
131
+ to_perp?: boolean;
132
+ }
133
+ /**
134
+ * @export
135
+ */
136
+ export declare const PostApiAgentRequestsPlansRequestStepsInnerActionEnum: {
137
+ readonly Order: "order";
138
+ readonly ReducePosition: "reduce_position";
139
+ readonly Cancel: "cancel";
140
+ readonly CancelAll: "cancel_all";
141
+ readonly SetLeverage: "set_leverage";
142
+ readonly Withdraw: "withdraw";
143
+ readonly Transfer: "transfer";
144
+ };
145
+ export type PostApiAgentRequestsPlansRequestStepsInnerActionEnum = typeof PostApiAgentRequestsPlansRequestStepsInnerActionEnum[keyof typeof PostApiAgentRequestsPlansRequestStepsInnerActionEnum];
146
+ /**
147
+ * @export
148
+ */
149
+ export declare const PostApiAgentRequestsPlansRequestStepsInnerSideEnum: {
150
+ readonly Buy: "buy";
151
+ readonly Sell: "sell";
152
+ };
153
+ export type PostApiAgentRequestsPlansRequestStepsInnerSideEnum = typeof PostApiAgentRequestsPlansRequestStepsInnerSideEnum[keyof typeof PostApiAgentRequestsPlansRequestStepsInnerSideEnum];
154
+ /**
155
+ * @export
156
+ */
157
+ export declare const PostApiAgentRequestsPlansRequestStepsInnerOrderTypeEnum: {
158
+ readonly Limit: "limit";
159
+ readonly Market: "market";
160
+ };
161
+ export type PostApiAgentRequestsPlansRequestStepsInnerOrderTypeEnum = typeof PostApiAgentRequestsPlansRequestStepsInnerOrderTypeEnum[keyof typeof PostApiAgentRequestsPlansRequestStepsInnerOrderTypeEnum];
162
+ /**
163
+ * @export
164
+ */
165
+ export declare const PostApiAgentRequestsPlansRequestStepsInnerTpSlEnum: {
166
+ readonly Tp: "tp";
167
+ readonly Sl: "sl";
168
+ };
169
+ export type PostApiAgentRequestsPlansRequestStepsInnerTpSlEnum = typeof PostApiAgentRequestsPlansRequestStepsInnerTpSlEnum[keyof typeof PostApiAgentRequestsPlansRequestStepsInnerTpSlEnum];
170
+ /**
171
+ * @export
172
+ */
173
+ export declare const PostApiAgentRequestsPlansRequestStepsInnerTifEnum: {
174
+ readonly Gtc: "GTC";
175
+ readonly Ioc: "IOC";
176
+ readonly Po: "PO";
177
+ };
178
+ export type PostApiAgentRequestsPlansRequestStepsInnerTifEnum = typeof PostApiAgentRequestsPlansRequestStepsInnerTifEnum[keyof typeof PostApiAgentRequestsPlansRequestStepsInnerTifEnum];
179
+ /**
180
+ * Check if a given object implements the PostApiAgentRequestsPlansRequestStepsInner interface.
181
+ */
182
+ export declare function instanceOfPostApiAgentRequestsPlansRequestStepsInner(value: object): value is PostApiAgentRequestsPlansRequestStepsInner;
183
+ export declare function PostApiAgentRequestsPlansRequestStepsInnerFromJSON(json: any): PostApiAgentRequestsPlansRequestStepsInner;
184
+ export declare function PostApiAgentRequestsPlansRequestStepsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostApiAgentRequestsPlansRequestStepsInner;
185
+ export declare function PostApiAgentRequestsPlansRequestStepsInnerToJSON(json: any): PostApiAgentRequestsPlansRequestStepsInner;
186
+ export declare function PostApiAgentRequestsPlansRequestStepsInnerToJSONTyped(value?: PostApiAgentRequestsPlansRequestStepsInner | null, ignoreDiscriminator?: boolean): any;
187
+ //# sourceMappingURL=post-api-agent-requests-plans-request-steps-inner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-api-agent-requests-plans-request-steps-inner.d.ts","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAG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O,kDAAkD,CAAC,MAAM,OAAO,kDAAkD,CAAC,CAAC;AAE5L;;GAEG;AACH,eAAO,MAAM,uDAAuD;;;CAG1D,CAAC;AACX,MAAM,MAAM,uDAAuD,GAAG,OAAO,uDAAuD,CAAC,MAAM,OAAO,uDAAuD,CAAC,CAAC;AAE3M;;GAEG;AACH,eAAO,MAAM,kDAAkD;;;CAGrD,CAAC;AACX,MAAM,MAAM,kDAAkD,GAAG,OAAO,kDAAkD,CAAC,MAAM,OAAO,kDAAkD,CAAC,CAAC;AAE5L;;GAEG;AACH,eAAO,MAAM,iDAAiD;;;;CAIpD,CAAC;AACX,MAAM,MAAM,iDAAiD,GAAG,OAAO,iDAAiD,CAAC,MAAM,OAAO,iDAAiD,CAAC,CAAC;AAGzL;;GAEG;AACH,wBAAgB,oDAAoD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0CAA0C,CAKvI;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAExH;AAED,wBAAgB,uDAAuD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0CAA0C,CA0B3J;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAEtH;AAED,wBAAgB,qDAAqD,CAAC,KAAK,CAAC,EAAE,0CAA0C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CA2B1K"}
@@ -0,0 +1,125 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sponge Wallet API
5
+ * REST API for the Sponge Wallet agent platform
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const PostApiAgentRequestsPlansRequestStepsInnerActionEnum = {
18
+ Order: 'order',
19
+ ReducePosition: 'reduce_position',
20
+ Cancel: 'cancel',
21
+ CancelAll: 'cancel_all',
22
+ SetLeverage: 'set_leverage',
23
+ Withdraw: 'withdraw',
24
+ Transfer: 'transfer'
25
+ };
26
+ /**
27
+ * @export
28
+ */
29
+ export const PostApiAgentRequestsPlansRequestStepsInnerSideEnum = {
30
+ Buy: 'buy',
31
+ Sell: 'sell'
32
+ };
33
+ /**
34
+ * @export
35
+ */
36
+ export const PostApiAgentRequestsPlansRequestStepsInnerOrderTypeEnum = {
37
+ Limit: 'limit',
38
+ Market: 'market'
39
+ };
40
+ /**
41
+ * @export
42
+ */
43
+ export const PostApiAgentRequestsPlansRequestStepsInnerTpSlEnum = {
44
+ Tp: 'tp',
45
+ Sl: 'sl'
46
+ };
47
+ /**
48
+ * @export
49
+ */
50
+ export const PostApiAgentRequestsPlansRequestStepsInnerTifEnum = {
51
+ Gtc: 'GTC',
52
+ Ioc: 'IOC',
53
+ Po: 'PO'
54
+ };
55
+ /**
56
+ * Check if a given object implements the PostApiAgentRequestsPlansRequestStepsInner interface.
57
+ */
58
+ export function instanceOfPostApiAgentRequestsPlansRequestStepsInner(value) {
59
+ if (!('type' in value) || value['type'] === undefined)
60
+ return false;
61
+ if (!('action' in value) || value['action'] === undefined)
62
+ return false;
63
+ if (!('reason' in value) || value['reason'] === undefined)
64
+ return false;
65
+ return true;
66
+ }
67
+ export function PostApiAgentRequestsPlansRequestStepsInnerFromJSON(json) {
68
+ return PostApiAgentRequestsPlansRequestStepsInnerFromJSONTyped(json, false);
69
+ }
70
+ export function PostApiAgentRequestsPlansRequestStepsInnerFromJSONTyped(json, ignoreDiscriminator) {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+ 'type': json['type'],
76
+ 'action': json['action'],
77
+ 'reason': json['reason'],
78
+ 'symbol': json['symbol'] == null ? undefined : json['symbol'],
79
+ 'side': json['side'] == null ? undefined : json['side'],
80
+ 'order_type': json['order_type'] == null ? undefined : json['order_type'],
81
+ 'amount': json['amount'] == null ? undefined : json['amount'],
82
+ 'price': json['price'] == null ? undefined : json['price'],
83
+ 'reduce_only': json['reduce_only'] == null ? undefined : json['reduce_only'],
84
+ 'percent': json['percent'] == null ? undefined : json['percent'],
85
+ 'reduce_percent': json['reduce_percent'] == null ? undefined : json['reduce_percent'],
86
+ 'max': json['max'] == null ? undefined : json['max'],
87
+ 'trigger_price': json['trigger_price'] == null ? undefined : json['trigger_price'],
88
+ 'tp_sl': json['tp_sl'] == null ? undefined : json['tp_sl'],
89
+ 'tif': json['tif'] == null ? undefined : json['tif'],
90
+ 'order_id': json['order_id'] == null ? undefined : json['order_id'],
91
+ 'leverage': json['leverage'] == null ? undefined : json['leverage'],
92
+ 'destination': json['destination'] == null ? undefined : json['destination'],
93
+ 'to_perp': json['to_perp'] == null ? undefined : json['to_perp'],
94
+ };
95
+ }
96
+ export function PostApiAgentRequestsPlansRequestStepsInnerToJSON(json) {
97
+ return PostApiAgentRequestsPlansRequestStepsInnerToJSONTyped(json, false);
98
+ }
99
+ export function PostApiAgentRequestsPlansRequestStepsInnerToJSONTyped(value, ignoreDiscriminator = false) {
100
+ if (value == null) {
101
+ return value;
102
+ }
103
+ return {
104
+ 'type': value['type'],
105
+ 'action': value['action'],
106
+ 'reason': value['reason'],
107
+ 'symbol': value['symbol'],
108
+ 'side': value['side'],
109
+ 'order_type': value['order_type'],
110
+ 'amount': value['amount'],
111
+ 'price': value['price'],
112
+ 'reduce_only': value['reduce_only'],
113
+ 'percent': value['percent'],
114
+ 'reduce_percent': value['reduce_percent'],
115
+ 'max': value['max'],
116
+ 'trigger_price': value['trigger_price'],
117
+ 'tp_sl': value['tp_sl'],
118
+ 'tif': value['tif'],
119
+ 'order_id': value['order_id'],
120
+ 'leverage': value['leverage'],
121
+ 'destination': value['destination'],
122
+ 'to_perp': value['to_perp'],
123
+ };
124
+ }
125
+ //# sourceMappingURL=post-api-agent-requests-plans-request-steps-inner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-api-agent-requests-plans-request-steps-inner.js","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/post-api-agent-requests-plans-request-steps-inner.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA8HH;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAG;IAChE,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,iBAAiB;IACjC,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,YAAY;IACvB,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACd,CAAC;AAGX;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAG;IAC9D,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACN,CAAC;AAGX;;GAEG;AACH,MAAM,CAAC,MAAM,uDAAuD,GAAG;IACnE,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACV,CAAC;AAGX;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAG;IAC9D,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;CACF,CAAC;AAGX;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAG;IAC7D,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;CACF,CAAC;AAIX;;GAEG;AACH,MAAM,UAAU,oDAAoD,CAAC,KAAa;IAC9E,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,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ACtE,OAAO,qDAAqD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,MAAM,UAAU,qDAAqD,CAAC,KAAyD,EAAE,sBAA+B,KAAK;IACjK,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Sponge Wallet API
3
+ * REST API for the Sponge Wallet agent platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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 type { PostApiAgentRequestsPlansRequestStepsInner } from './post-api-agent-requests-plans-request-steps-inner.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PostApiAgentRequestsPlansRequest
17
+ */
18
+ export interface PostApiAgentRequestsPlansRequest {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof PostApiAgentRequestsPlansRequest
23
+ */
24
+ agentId: string;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof PostApiAgentRequestsPlansRequest
29
+ */
30
+ isTestMode?: boolean;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof PostApiAgentRequestsPlansRequest
35
+ */
36
+ title: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof PostApiAgentRequestsPlansRequest
41
+ */
42
+ reasoning?: string;
43
+ /**
44
+ *
45
+ * @type {Array<PostApiAgentRequestsPlansRequestStepsInner>}
46
+ * @memberof PostApiAgentRequestsPlansRequest
47
+ */
48
+ steps: Array<PostApiAgentRequestsPlansRequestStepsInner>;
49
+ }
50
+ /**
51
+ * Check if a given object implements the PostApiAgentRequestsPlansRequest interface.
52
+ */
53
+ export declare function instanceOfPostApiAgentRequestsPlansRequest(value: object): value is PostApiAgentRequestsPlansRequest;
54
+ export declare function PostApiAgentRequestsPlansRequestFromJSON(json: any): PostApiAgentRequestsPlansRequest;
55
+ export declare function PostApiAgentRequestsPlansRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostApiAgentRequestsPlansRequest;
56
+ export declare function PostApiAgentRequestsPlansRequestToJSON(json: any): PostApiAgentRequestsPlansRequest;
57
+ export declare function PostApiAgentRequestsPlansRequestToJSONTyped(value?: PostApiAgentRequestsPlansRequest | null, ignoreDiscriminator?: boolean): any;
58
+ //# sourceMappingURL=post-api-agent-requests-plans-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-api-agent-requests-plans-request.d.ts","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/post-api-agent-requests-plans-request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,wDAAwD,CAAC;AAQzH;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,0CAA0C,CAAC,CAAC;CAC5D;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAKnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAYvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAatJ"}
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sponge Wallet API
5
+ * REST API for the Sponge Wallet agent platform
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { PostApiAgentRequestsPlansRequestStepsInnerFromJSON, PostApiAgentRequestsPlansRequestStepsInnerToJSON, } from './post-api-agent-requests-plans-request-steps-inner.js';
15
+ /**
16
+ * Check if a given object implements the PostApiAgentRequestsPlansRequest interface.
17
+ */
18
+ export function instanceOfPostApiAgentRequestsPlansRequest(value) {
19
+ if (!('agentId' in value) || value['agentId'] === undefined)
20
+ return false;
21
+ if (!('title' in value) || value['title'] === undefined)
22
+ return false;
23
+ if (!('steps' in value) || value['steps'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function PostApiAgentRequestsPlansRequestFromJSON(json) {
28
+ return PostApiAgentRequestsPlansRequestFromJSONTyped(json, false);
29
+ }
30
+ export function PostApiAgentRequestsPlansRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'agentId': json['agentId'],
36
+ 'isTestMode': json['isTestMode'] == null ? undefined : json['isTestMode'],
37
+ 'title': json['title'],
38
+ 'reasoning': json['reasoning'] == null ? undefined : json['reasoning'],
39
+ 'steps': (json['steps'].map(PostApiAgentRequestsPlansRequestStepsInnerFromJSON)),
40
+ };
41
+ }
42
+ export function PostApiAgentRequestsPlansRequestToJSON(json) {
43
+ return PostApiAgentRequestsPlansRequestToJSONTyped(json, false);
44
+ }
45
+ export function PostApiAgentRequestsPlansRequestToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'agentId': value['agentId'],
51
+ 'isTestMode': value['isTestMode'],
52
+ 'title': value['title'],
53
+ 'reasoning': value['reasoning'],
54
+ 'steps': (value['steps'].map(PostApiAgentRequestsPlansRequestStepsInnerToJSON)),
55
+ };
56
+ }
57
+ //# sourceMappingURL=post-api-agent-requests-plans-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-api-agent-requests-plans-request.js","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/post-api-agent-requests-plans-request.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,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AAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,2CAA2C,CAAC,KAA+C,EAAE,sBAA+B,KAAK;IAC7I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,OAAO,EAAE,CAAE,KAAK,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,gDAAgD,CAAC,CAAC;KAClG,CAAC;AACN,CAAC"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Sponge Wallet API
3
+ * REST API for the Sponge Wallet agent platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostApiAgentsByIdPolymarketWithdrawRequest
16
+ */
17
+ export interface PostApiAgentsByIdPolymarketWithdrawRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostApiAgentsByIdPolymarketWithdrawRequest
22
+ */
23
+ toAddress: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostApiAgentsByIdPolymarketWithdrawRequest
28
+ */
29
+ amount: string;
30
+ /**
31
+ *
32
+ * @type {PostApiAgentsByIdPolymarketWithdrawRequestTokenEnum}
33
+ * @memberof PostApiAgentsByIdPolymarketWithdrawRequest
34
+ */
35
+ token?: PostApiAgentsByIdPolymarketWithdrawRequestTokenEnum;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const PostApiAgentsByIdPolymarketWithdrawRequestTokenEnum: {
41
+ readonly Pusd: "pusd";
42
+ readonly Usdce: "usdce";
43
+ readonly NativeUsdc: "native_usdc";
44
+ };
45
+ export type PostApiAgentsByIdPolymarketWithdrawRequestTokenEnum = typeof PostApiAgentsByIdPolymarketWithdrawRequestTokenEnum[keyof typeof PostApiAgentsByIdPolymarketWithdrawRequestTokenEnum];
46
+ /**
47
+ * Check if a given object implements the PostApiAgentsByIdPolymarketWithdrawRequest interface.
48
+ */
49
+ export declare function instanceOfPostApiAgentsByIdPolymarketWithdrawRequest(value: object): value is PostApiAgentsByIdPolymarketWithdrawRequest;
50
+ export declare function PostApiAgentsByIdPolymarketWithdrawRequestFromJSON(json: any): PostApiAgentsByIdPolymarketWithdrawRequest;
51
+ export declare function PostApiAgentsByIdPolymarketWithdrawRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostApiAgentsByIdPolymarketWithdrawRequest;
52
+ export declare function PostApiAgentsByIdPolymarketWithdrawRequestToJSON(json: any): PostApiAgentsByIdPolymarketWithdrawRequest;
53
+ export declare function PostApiAgentsByIdPolymarketWithdrawRequestToJSONTyped(value?: PostApiAgentsByIdPolymarketWithdrawRequest | null, ignoreDiscriminator?: boolean): any;
54
+ //# sourceMappingURL=post-api-agents-by-id-polymarket-withdraw-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-api-agents-by-id-polymarket-withdraw-request.d.ts","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/post-api-agents-by-id-polymarket-withdraw-request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0CAA0C;IACvD;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,mDAAmD,CAAC;CAC/D;AAGD;;GAEG;AACH,eAAO,MAAM,mDAAmD;;;;CAItD,CAAC;AACX,MAAM,MAAM,mDAAmD,GAAG,OAAO,mDAAmD,CAAC,MAAM,OAAO,mDAAmD,CAAC,CAAC;AAG/L;;GAEG;AACH,wBAAgB,oDAAoD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0CAA0C,CAIvI;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAExH;AAED,wBAAgB,uDAAuD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0CAA0C,CAU3J;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAEtH;AAED,wBAAgB,qDAAqD,CAAC,KAAK,CAAC,EAAE,0CAA0C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1K"}
@@ -0,0 +1,58 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sponge Wallet API
5
+ * REST API for the Sponge Wallet agent platform
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const PostApiAgentsByIdPolymarketWithdrawRequestTokenEnum = {
18
+ Pusd: 'pusd',
19
+ Usdce: 'usdce',
20
+ NativeUsdc: 'native_usdc'
21
+ };
22
+ /**
23
+ * Check if a given object implements the PostApiAgentsByIdPolymarketWithdrawRequest interface.
24
+ */
25
+ export function instanceOfPostApiAgentsByIdPolymarketWithdrawRequest(value) {
26
+ if (!('toAddress' in value) || value['toAddress'] === undefined)
27
+ return false;
28
+ if (!('amount' in value) || value['amount'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ export function PostApiAgentsByIdPolymarketWithdrawRequestFromJSON(json) {
33
+ return PostApiAgentsByIdPolymarketWithdrawRequestFromJSONTyped(json, false);
34
+ }
35
+ export function PostApiAgentsByIdPolymarketWithdrawRequestFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'toAddress': json['toAddress'],
41
+ 'amount': json['amount'],
42
+ 'token': json['token'] == null ? undefined : json['token'],
43
+ };
44
+ }
45
+ export function PostApiAgentsByIdPolymarketWithdrawRequestToJSON(json) {
46
+ return PostApiAgentsByIdPolymarketWithdrawRequestToJSONTyped(json, false);
47
+ }
48
+ export function PostApiAgentsByIdPolymarketWithdrawRequestToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'toAddress': value['toAddress'],
54
+ 'amount': value['amount'],
55
+ 'token': value['token'],
56
+ };
57
+ }
58
+ //# sourceMappingURL=post-api-agents-by-id-polymarket-withdraw-request.js.map