@kittycad/lib 0.0.14 → 0.0.15

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 (111) hide show
  1. package/README.md +38 -0
  2. package/package.json +22 -7
  3. package/dist/index.es.js +0 -3
  4. package/dist/index.js +0 -3
  5. package/dist/index.umd.js +0 -3
  6. package/dist/types/__tests__/main.test.d.ts +0 -2
  7. package/dist/types/__tests__/main.test.d.ts.map +0 -1
  8. package/dist/types/src/api/api-calls/get_api_call.d.ts +0 -8
  9. package/dist/types/src/api/api-calls/get_api_call.d.ts.map +0 -1
  10. package/dist/types/src/api/api-calls/get_api_call_for_user.d.ts +0 -8
  11. package/dist/types/src/api/api-calls/get_api_call_for_user.d.ts.map +0 -1
  12. package/dist/types/src/api/api-calls/get_api_call_metrics.d.ts +0 -8
  13. package/dist/types/src/api/api-calls/get_api_call_metrics.d.ts.map +0 -1
  14. package/dist/types/src/api/api-calls/get_async_operation.d.ts +0 -8
  15. package/dist/types/src/api/api-calls/get_async_operation.d.ts.map +0 -1
  16. package/dist/types/src/api/api-calls/list_api_calls.d.ts +0 -10
  17. package/dist/types/src/api/api-calls/list_api_calls.d.ts.map +0 -1
  18. package/dist/types/src/api/api-calls/list_api_calls_for_user.d.ts +0 -11
  19. package/dist/types/src/api/api-calls/list_api_calls_for_user.d.ts.map +0 -1
  20. package/dist/types/src/api/api-calls/list_async_operations.d.ts +0 -11
  21. package/dist/types/src/api/api-calls/list_async_operations.d.ts.map +0 -1
  22. package/dist/types/src/api/api-calls/user_list_api_calls.d.ts +0 -10
  23. package/dist/types/src/api/api-calls/user_list_api_calls.d.ts.map +0 -1
  24. package/dist/types/src/api/api-tokens/create_api_token_for_user.d.ts +0 -5
  25. package/dist/types/src/api/api-tokens/create_api_token_for_user.d.ts.map +0 -1
  26. package/dist/types/src/api/api-tokens/delete_api_token_for_user.d.ts +0 -8
  27. package/dist/types/src/api/api-tokens/delete_api_token_for_user.d.ts.map +0 -1
  28. package/dist/types/src/api/api-tokens/get_api_token_for_user.d.ts +0 -8
  29. package/dist/types/src/api/api-tokens/get_api_token_for_user.d.ts.map +0 -1
  30. package/dist/types/src/api/api-tokens/list_api_tokens_for_user.d.ts +0 -10
  31. package/dist/types/src/api/api-tokens/list_api_tokens_for_user.d.ts.map +0 -1
  32. package/dist/types/src/api/file/create_file_conversion.d.ts +0 -10
  33. package/dist/types/src/api/file/create_file_conversion.d.ts.map +0 -1
  34. package/dist/types/src/api/file/create_file_density.d.ts +0 -10
  35. package/dist/types/src/api/file/create_file_density.d.ts.map +0 -1
  36. package/dist/types/src/api/file/create_file_execution.d.ts +0 -10
  37. package/dist/types/src/api/file/create_file_execution.d.ts.map +0 -1
  38. package/dist/types/src/api/file/create_file_mass.d.ts +0 -10
  39. package/dist/types/src/api/file/create_file_mass.d.ts.map +0 -1
  40. package/dist/types/src/api/file/create_file_volume.d.ts +0 -9
  41. package/dist/types/src/api/file/create_file_volume.d.ts.map +0 -1
  42. package/dist/types/src/api/file/get_file_conversion.d.ts +0 -8
  43. package/dist/types/src/api/file/get_file_conversion.d.ts.map +0 -1
  44. package/dist/types/src/api/file/get_file_conversion_for_user.d.ts +0 -8
  45. package/dist/types/src/api/file/get_file_conversion_for_user.d.ts.map +0 -1
  46. package/dist/types/src/api/meta/get_metadata.d.ts +0 -5
  47. package/dist/types/src/api/meta/get_metadata.d.ts.map +0 -1
  48. package/dist/types/src/api/meta/get_schema.d.ts +0 -5
  49. package/dist/types/src/api/meta/get_schema.d.ts.map +0 -1
  50. package/dist/types/src/api/meta/ping.d.ts +0 -5
  51. package/dist/types/src/api/meta/ping.d.ts.map +0 -1
  52. package/dist/types/src/api/oauth2/device_access_token.d.ts +0 -4
  53. package/dist/types/src/api/oauth2/device_access_token.d.ts.map +0 -1
  54. package/dist/types/src/api/oauth2/device_auth_confirm.d.ts +0 -5
  55. package/dist/types/src/api/oauth2/device_auth_confirm.d.ts.map +0 -1
  56. package/dist/types/src/api/oauth2/device_auth_request.d.ts +0 -4
  57. package/dist/types/src/api/oauth2/device_auth_request.d.ts.map +0 -1
  58. package/dist/types/src/api/oauth2/device_auth_verify.d.ts +0 -8
  59. package/dist/types/src/api/oauth2/device_auth_verify.d.ts.map +0 -1
  60. package/dist/types/src/api/oauth2/listen_oauth2_provider_callback.d.ts +0 -10
  61. package/dist/types/src/api/oauth2/listen_oauth2_provider_callback.d.ts.map +0 -1
  62. package/dist/types/src/api/oauth2/listen_oauth2_provider_consent.d.ts +0 -9
  63. package/dist/types/src/api/oauth2/listen_oauth2_provider_consent.d.ts.map +0 -1
  64. package/dist/types/src/api/payments/create_payment_information_for_user.d.ts +0 -5
  65. package/dist/types/src/api/payments/create_payment_information_for_user.d.ts.map +0 -1
  66. package/dist/types/src/api/payments/create_payment_intent_for_user.d.ts +0 -5
  67. package/dist/types/src/api/payments/create_payment_intent_for_user.d.ts.map +0 -1
  68. package/dist/types/src/api/payments/delete_payment_information_for_user.d.ts +0 -5
  69. package/dist/types/src/api/payments/delete_payment_information_for_user.d.ts.map +0 -1
  70. package/dist/types/src/api/payments/delete_payment_method_for_user.d.ts +0 -8
  71. package/dist/types/src/api/payments/delete_payment_method_for_user.d.ts.map +0 -1
  72. package/dist/types/src/api/payments/get_payment_balance_for_user.d.ts +0 -5
  73. package/dist/types/src/api/payments/get_payment_balance_for_user.d.ts.map +0 -1
  74. package/dist/types/src/api/payments/get_payment_information_for_user.d.ts +0 -5
  75. package/dist/types/src/api/payments/get_payment_information_for_user.d.ts.map +0 -1
  76. package/dist/types/src/api/payments/list_invoices_for_user.d.ts +0 -5
  77. package/dist/types/src/api/payments/list_invoices_for_user.d.ts.map +0 -1
  78. package/dist/types/src/api/payments/list_payment_methods_for_user.d.ts +0 -5
  79. package/dist/types/src/api/payments/list_payment_methods_for_user.d.ts.map +0 -1
  80. package/dist/types/src/api/payments/update_payment_information_for_user.d.ts +0 -5
  81. package/dist/types/src/api/payments/update_payment_information_for_user.d.ts.map +0 -1
  82. package/dist/types/src/api/sessions/get_session_for_user.d.ts +0 -8
  83. package/dist/types/src/api/sessions/get_session_for_user.d.ts.map +0 -1
  84. package/dist/types/src/api/unit/create_unit_conversion.d.ts +0 -10
  85. package/dist/types/src/api/unit/create_unit_conversion.d.ts.map +0 -1
  86. package/dist/types/src/api/users/delete_user_self.d.ts +0 -5
  87. package/dist/types/src/api/users/delete_user_self.d.ts.map +0 -1
  88. package/dist/types/src/api/users/get_user.d.ts +0 -8
  89. package/dist/types/src/api/users/get_user.d.ts.map +0 -1
  90. package/dist/types/src/api/users/get_user_extended.d.ts +0 -8
  91. package/dist/types/src/api/users/get_user_extended.d.ts.map +0 -1
  92. package/dist/types/src/api/users/get_user_self.d.ts +0 -5
  93. package/dist/types/src/api/users/get_user_self.d.ts.map +0 -1
  94. package/dist/types/src/api/users/get_user_self_extended.d.ts +0 -5
  95. package/dist/types/src/api/users/get_user_self_extended.d.ts.map +0 -1
  96. package/dist/types/src/api/users/list_users.d.ts +0 -10
  97. package/dist/types/src/api/users/list_users.d.ts.map +0 -1
  98. package/dist/types/src/api/users/list_users_extended.d.ts +0 -10
  99. package/dist/types/src/api/users/list_users_extended.d.ts.map +0 -1
  100. package/dist/types/src/api/users/update_user_self.d.ts +0 -5
  101. package/dist/types/src/api/users/update_user_self.d.ts.map +0 -1
  102. package/dist/types/src/apiGen.d.ts +0 -3
  103. package/dist/types/src/apiGen.d.ts.map +0 -1
  104. package/dist/types/src/index.d.ts +0 -114
  105. package/dist/types/src/index.d.ts.map +0 -1
  106. package/dist/types/src/models.d.ts +0 -713
  107. package/dist/types/src/models.d.ts.map +0 -1
  108. package/dist/types/src/modelsGen.d.ts +0 -2
  109. package/dist/types/src/modelsGen.d.ts.map +0 -1
  110. package/dist/types/src/modelsWrap.d.ts +0 -3
  111. package/dist/types/src/modelsWrap.d.ts.map +0 -1
@@ -1,713 +0,0 @@
1
- export declare type AccountProvider_type = 'google' | 'github';
2
- export interface Address_type {
3
- city: string;
4
- country: string;
5
- created_at: string;
6
- id: Uuid_type;
7
- state: string;
8
- street1: string;
9
- street2: string;
10
- updated_at: string;
11
- user_id: string;
12
- zip: string;
13
- }
14
- export interface ApiCallQueryGroup_type {
15
- count: number;
16
- query: string;
17
- }
18
- export declare type ApiCallQueryGroupBy_type = 'email' | 'method' | 'endpoint' | 'user_id' | 'origin' | 'ip_address';
19
- export declare type ApiCallStatus_type = 'Queued' | 'Uploaded' | 'In Progress' | 'Completed' | 'Failed';
20
- export interface ApiCallWithPrice_type {
21
- completed_at?: string;
22
- created_at: string;
23
- duration?: number;
24
- email: string;
25
- endpoint: string;
26
- id: Uuid_type;
27
- ip_address: string;
28
- method: Method_type;
29
- minutes?: number;
30
- origin: string;
31
- price?: number;
32
- request_body?: string;
33
- request_query_params: string;
34
- response_body?: string;
35
- started_at?: string;
36
- status_code?: number;
37
- stripe_invoice_item_id: string;
38
- token: Uuid_type;
39
- updated_at: string;
40
- user_agent: string;
41
- user_id: string;
42
- }
43
- export interface ApiCallWithPriceResultsPage_type {
44
- items: ApiCallWithPrice_type[];
45
- next_page?: string;
46
- }
47
- export interface ApiToken_type {
48
- created_at: string;
49
- id: string;
50
- is_valid: boolean;
51
- token: Uuid_type;
52
- updated_at: string;
53
- user_id: string;
54
- }
55
- export interface ApiTokenResultsPage_type {
56
- items: ApiToken_type[];
57
- next_page?: string;
58
- }
59
- export interface AsyncApiCall_type {
60
- completed_at?: string;
61
- created_at: string;
62
- error?: string;
63
- id: Uuid_type;
64
- input: string;
65
- output?: string;
66
- started_at?: string;
67
- status: ApiCallStatus_type;
68
- type: AsyncApiCallType_type;
69
- updated_at: string;
70
- user_id: string;
71
- worker: string;
72
- }
73
- export declare type AsyncApiCallOutput_type = {
74
- completed_at?: string;
75
- created_at: string;
76
- error?: string;
77
- id: Uuid_type;
78
- output?: string;
79
- output_format: FileOutputFormat_type;
80
- src_format: FileSourceFormat_type;
81
- started_at?: string;
82
- status: ApiCallStatus_type;
83
- type: 'FileConversion';
84
- updated_at: string;
85
- user_id: string;
86
- } | {
87
- completed_at?: string;
88
- created_at: string;
89
- error?: string;
90
- id: Uuid_type;
91
- mass?: number;
92
- material_density: number;
93
- src_format: FileSourceFormat_type;
94
- started_at?: string;
95
- status: ApiCallStatus_type;
96
- type: 'FileMass';
97
- updated_at: string;
98
- user_id: string;
99
- } | {
100
- completed_at?: string;
101
- created_at: string;
102
- error?: string;
103
- id: Uuid_type;
104
- src_format: FileSourceFormat_type;
105
- started_at?: string;
106
- status: ApiCallStatus_type;
107
- type: 'FileVolume';
108
- updated_at: string;
109
- user_id: string;
110
- volume?: number;
111
- } | {
112
- completed_at?: string;
113
- created_at: string;
114
- density?: number;
115
- error?: string;
116
- id: Uuid_type;
117
- material_mass: number;
118
- src_format: FileSourceFormat_type;
119
- started_at?: string;
120
- status: ApiCallStatus_type;
121
- type: 'FileDensity';
122
- updated_at: string;
123
- user_id: string;
124
- };
125
- export interface AsyncApiCallResultsPage_type {
126
- items: AsyncApiCall_type[];
127
- next_page?: string;
128
- }
129
- export declare type AsyncApiCallType_type = 'FileConversion' | 'FileVolume' | 'FileMass' | 'FileDensity';
130
- export interface BillingInfo_type {
131
- address: Address_type;
132
- name: string;
133
- phone: string;
134
- }
135
- export interface CacheMetadata_type {
136
- ok: boolean;
137
- }
138
- export interface CardDetails_type {
139
- brand: string;
140
- checks: PaymentMethodCardChecks_type;
141
- country: string;
142
- exp_month: number;
143
- exp_year: number;
144
- fingerprint: string;
145
- funding: string;
146
- last4: string;
147
- }
148
- export interface Cluster_type {
149
- addr?: string;
150
- auth_timeout: number;
151
- cluster_port: number;
152
- name: string;
153
- tls_timeout: number;
154
- urls: string[];
155
- }
156
- export declare type CodeLanguage_type = 'go' | 'python' | 'node';
157
- export interface CodeOutput_type {
158
- output_files: OutputFile_type[];
159
- stderr: string;
160
- stdout: string;
161
- }
162
- export interface Commit_type {
163
- expected?: string;
164
- id?: string;
165
- }
166
- export interface Connection_type {
167
- auth_timeout: number;
168
- cluster: Cluster_type;
169
- config_load_time: string;
170
- connections: number;
171
- cores: number;
172
- cpu?: number;
173
- gateway: Gateway_type;
174
- git_commit: string;
175
- go: string;
176
- gomaxprocs: number;
177
- host: string;
178
- http_base_path: string;
179
- http_host: string;
180
- http_port: number;
181
- http_req_stats: {
182
- [key: string]: number;
183
- };
184
- https_port: number;
185
- in_bytes: number;
186
- in_msgs: number;
187
- jetstream: Jetstream_type;
188
- leaf: LeafNode_type;
189
- leafnodes: number;
190
- max_connections: number;
191
- max_control_line: number;
192
- max_payload: number;
193
- max_pending: number;
194
- mem: number;
195
- now: string;
196
- out_bytes: number;
197
- out_msgs: number;
198
- ping_interval: number;
199
- ping_max: number;
200
- port: number;
201
- proto: number;
202
- remotes: number;
203
- routes: number;
204
- server_id: string;
205
- server_name: string;
206
- slow_consumers: number;
207
- start: string;
208
- subscriptions: number;
209
- system_account: string;
210
- tls_timeout: number;
211
- total_connections: number;
212
- uptime: string;
213
- version: string;
214
- write_deadline: number;
215
- }
216
- export declare type CreatedAtSortMode_type = 'created-at-ascending' | 'created-at-descending';
217
- export declare type Currency_type = 'aed' | 'afn' | 'all' | 'amd' | 'ang' | 'aoa' | 'ars' | 'aud' | 'awg' | 'azn' | 'bam' | 'bbd' | 'bdt' | 'bgn' | 'bif' | 'bmd' | 'bnd' | 'bob' | 'brl' | 'bsd' | 'bwp' | 'bzd' | 'cad' | 'cdf' | 'chf' | 'clp' | 'cny' | 'cop' | 'crc' | 'cve' | 'czk' | 'djf' | 'dkk' | 'dop' | 'dzd' | 'eek' | 'egp' | 'etb' | 'eur' | 'fjd' | 'fkp' | 'gbp' | 'gel' | 'gip' | 'gmd' | 'gnf' | 'gtq' | 'gyd' | 'hkd' | 'hnl' | 'hrk' | 'htg' | 'huf' | 'idr' | 'ils' | 'inr' | 'isk' | 'jmd' | 'jpy' | 'kes' | 'kgs' | 'khr' | 'kmf' | 'krw' | 'kyd' | 'kzt' | 'lak' | 'lbp' | 'lkr' | 'lrd' | 'lsl' | 'ltl' | 'lvl' | 'mad' | 'mdl' | 'mga' | 'mkd' | 'mnt' | 'mop' | 'mro' | 'mur' | 'mvr' | 'mwk' | 'mxn' | 'myr' | 'mzn' | 'nad' | 'ngn' | 'nio' | 'nok' | 'npr' | 'nzd' | 'pab' | 'pen' | 'pgk' | 'php' | 'pkr' | 'pln' | 'pyg' | 'qar' | 'ron' | 'rsd' | 'rub' | 'rwf' | 'sar' | 'sbd' | 'scr' | 'sek' | 'sgd' | 'shp' | 'sll' | 'sos' | 'srd' | 'std' | 'svc' | 'szl' | 'thb' | 'tjs' | 'top' | 'try' | 'ttd' | 'twd' | 'tzs' | 'uah' | 'ugx' | 'usd' | 'uyu' | 'uzs' | 'vef' | 'vnd' | 'vuv' | 'wst' | 'xaf' | 'xcd' | 'xof' | 'xpf' | 'yer' | 'zar' | 'zmw';
218
- export interface Customer_type {
219
- address: Address_type;
220
- balance: number;
221
- created_at: string;
222
- currency: Currency_type;
223
- delinquent: boolean;
224
- email: string;
225
- id: string;
226
- metadata: {
227
- [key: string]: string;
228
- };
229
- name: string;
230
- phone: string;
231
- }
232
- export interface CustomerBalance_type {
233
- created_at: string;
234
- id: Uuid_type;
235
- monthly_credits_remaining: number;
236
- pre_pay_cash_remaining: number;
237
- pre_pay_credits_remaining: number;
238
- total_due: number;
239
- updated_at: string;
240
- user_id: string;
241
- }
242
- export interface DeviceAccessTokenRequestForm_type {
243
- client_id: string;
244
- device_code: string;
245
- grant_type: OAuth2GrantType_type;
246
- }
247
- export interface DeviceAuthRequestForm_type {
248
- client_id: string;
249
- }
250
- export interface DeviceAuthVerifyParams_type {
251
- user_code: string;
252
- }
253
- export interface DockerSystemInfo_type {
254
- architecture?: string;
255
- bridge_nf_ip6tables?: boolean;
256
- bridge_nf_iptables?: boolean;
257
- cgroup_driver: SystemInfoCgroupDriverEnum_type;
258
- cgroup_version: SystemInfoCgroupVersionEnum_type;
259
- cluster_advertise?: string;
260
- cluster_store?: string;
261
- containerd_commit: Commit_type;
262
- containers?: number;
263
- containers_paused?: number;
264
- containers_running?: number;
265
- containers_stopped?: number;
266
- cpu_cfs_period?: boolean;
267
- cpu_cfs_quota?: boolean;
268
- cpu_set?: boolean;
269
- cpu_shares?: boolean;
270
- debug?: boolean;
271
- default_address_pools: SystemInfoDefaultAddressPools_type[];
272
- default_runtime?: string;
273
- docker_root_dir?: string;
274
- driver?: string;
275
- driver_status: string[][];
276
- experimental_build?: boolean;
277
- http_proxy?: string;
278
- https_proxy?: string;
279
- id?: string;
280
- images?: number;
281
- index_server_address?: string;
282
- init_binary?: string;
283
- init_commit: Commit_type;
284
- ipv4_forwarding?: boolean;
285
- isolation: SystemInfoIsolationEnum_type;
286
- kernel_memory?: boolean;
287
- kernel_memory_tcp?: boolean;
288
- kernel_version?: string;
289
- labels: string[];
290
- live_restore_enabled?: boolean;
291
- logging_driver?: string;
292
- mem_total?: number;
293
- memory_limit?: boolean;
294
- n_events_listener?: number;
295
- n_fd?: number;
296
- name?: string;
297
- ncpu?: number;
298
- no_proxy?: string;
299
- oom_kill_disable?: boolean;
300
- operating_system?: string;
301
- os_type?: string;
302
- os_version?: string;
303
- pids_limit?: boolean;
304
- plugins: PluginsInfo_type;
305
- product_license?: string;
306
- registry_config: RegistryServiceConfig_type;
307
- runc_commit: Commit_type;
308
- runtimes: {
309
- [key: string]: Runtime_type;
310
- };
311
- security_options: string[];
312
- server_version?: string;
313
- swap_limit?: boolean;
314
- system_time?: string;
315
- warnings: string[];
316
- }
317
- export interface EmailAuthenticationForm_type {
318
- callback_url?: string;
319
- email: string;
320
- }
321
- export interface EngineMetadata_type {
322
- async_jobs_running: boolean;
323
- cache: CacheMetadata_type;
324
- environment: Environment_type;
325
- fs: FileSystemMetadata_type;
326
- git_hash: string;
327
- pubsub: Connection_type;
328
- }
329
- export declare type Environment_type = 'DEVELOPMENT' | 'PREVIEW' | 'PRODUCTION';
330
- export interface Error_type {
331
- error_code: string;
332
- message: string;
333
- request_id: string;
334
- }
335
- export interface ExecutorMetadata_type {
336
- docker_info: DockerSystemInfo_type;
337
- environment: Environment_type;
338
- git_hash: string;
339
- }
340
- export interface ExtendedUser_type {
341
- company: string;
342
- created_at: string;
343
- discord: string;
344
- email: string;
345
- email_verified?: string;
346
- first_name: string;
347
- github: string;
348
- id: string;
349
- image: string;
350
- last_name: string;
351
- mailchimp_id?: string;
352
- name: string;
353
- phone: string;
354
- stripe_id?: string;
355
- updated_at: string;
356
- zendesk_id?: string;
357
- }
358
- export interface ExtendedUserResultsPage_type {
359
- items: ExtendedUser_type[];
360
- next_page?: string;
361
- }
362
- export interface FileConversion_type {
363
- completed_at?: string;
364
- created_at: string;
365
- error?: string;
366
- id: Uuid_type;
367
- output?: string;
368
- output_format: FileOutputFormat_type;
369
- src_format: FileSourceFormat_type;
370
- started_at?: string;
371
- status: ApiCallStatus_type;
372
- updated_at: string;
373
- user_id: string;
374
- }
375
- export interface FileDensity_type {
376
- completed_at?: string;
377
- created_at: string;
378
- density?: number;
379
- error?: string;
380
- id: Uuid_type;
381
- material_mass: number;
382
- src_format: FileSourceFormat_type;
383
- started_at?: string;
384
- status: ApiCallStatus_type;
385
- updated_at: string;
386
- user_id: string;
387
- }
388
- export interface FileMass_type {
389
- completed_at?: string;
390
- created_at: string;
391
- error?: string;
392
- id: Uuid_type;
393
- mass?: number;
394
- material_density: number;
395
- src_format: FileSourceFormat_type;
396
- started_at?: string;
397
- status: ApiCallStatus_type;
398
- updated_at: string;
399
- user_id: string;
400
- }
401
- export declare type FileOutputFormat_type = 'stl' | 'obj' | 'dae' | 'step' | 'fbx' | 'fbxb';
402
- export declare type FileSourceFormat_type = 'stl' | 'obj' | 'dae' | 'step' | 'fbx';
403
- export interface FileSystemMetadata_type {
404
- ok: boolean;
405
- }
406
- export interface FileVolume_type {
407
- completed_at?: string;
408
- created_at: string;
409
- error?: string;
410
- id: Uuid_type;
411
- src_format: FileSourceFormat_type;
412
- started_at?: string;
413
- status: ApiCallStatus_type;
414
- updated_at: string;
415
- user_id: string;
416
- volume?: number;
417
- }
418
- export interface Gateway_type {
419
- auth_timeout: number;
420
- host: string;
421
- name: string;
422
- port: number;
423
- tls_timeout: number;
424
- }
425
- export interface IndexInfo_type {
426
- mirrors: string[];
427
- name?: string;
428
- official?: boolean;
429
- secure?: boolean;
430
- }
431
- export interface Invoice_type {
432
- amount_due: number;
433
- amount_paid: number;
434
- amount_remaining: number;
435
- attempt_count: number;
436
- attempted: boolean;
437
- created_at: string;
438
- currency: Currency_type;
439
- customer_email: string;
440
- customer_id: string;
441
- default_payment_method: string;
442
- description: string;
443
- id: string;
444
- lines: InvoiceLineItem_type[];
445
- metadata: {
446
- [key: string]: string;
447
- };
448
- number: string;
449
- paid: boolean;
450
- pdf?: string;
451
- receipt_number: string;
452
- statement_descriptor: string;
453
- status: InvoiceStatus_type;
454
- subtotal: number;
455
- tax: number;
456
- total: number;
457
- url?: string;
458
- }
459
- export interface InvoiceLineItem_type {
460
- amount: number;
461
- currency: Currency_type;
462
- description: string;
463
- id: string;
464
- invoice_item: string;
465
- metadata: {
466
- [key: string]: string;
467
- };
468
- }
469
- export declare type InvoiceStatus_type = 'deleted' | 'draft' | 'open' | 'paid' | 'uncollectible' | 'void';
470
- export interface Jetstream_type {
471
- config: JetstreamConfig_type;
472
- meta: MetaClusterInfo_type;
473
- stats: JetstreamStats_type;
474
- }
475
- export interface JetstreamApiStats_type {
476
- errors: number;
477
- inflight: number;
478
- total: number;
479
- }
480
- export interface JetstreamConfig_type {
481
- domain: string;
482
- max_memory: number;
483
- max_storage: number;
484
- store_dir: string;
485
- }
486
- export interface JetstreamStats_type {
487
- accounts: number;
488
- api: JetstreamApiStats_type;
489
- ha_assets: number;
490
- memory: number;
491
- reserved_memory: number;
492
- reserved_store: number;
493
- store: number;
494
- }
495
- export interface LeafNode_type {
496
- auth_timeout: number;
497
- host: string;
498
- port: number;
499
- tls_timeout: number;
500
- }
501
- export interface MetaClusterInfo_type {
502
- cluster_size: number;
503
- leader: string;
504
- name: string;
505
- }
506
- export interface Metadata_type {
507
- cache: CacheMetadata_type;
508
- engine: EngineMetadata_type;
509
- environment: Environment_type;
510
- executor: ExecutorMetadata_type;
511
- fs: FileSystemMetadata_type;
512
- git_hash: string;
513
- pubsub: Connection_type;
514
- }
515
- export declare type Method_type = 'OPTIONS' | 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'TRACE' | 'CONNECT' | 'PATCH' | 'EXTENSION';
516
- export interface OAuth2ClientInfo_type {
517
- csrf_token: string;
518
- pkce_code_verifier?: string;
519
- url: string;
520
- }
521
- export declare type OAuth2GrantType_type = 'urn:ietf:params:oauth:grant-type:device_code';
522
- export interface OutputFile_type {
523
- contents?: string;
524
- name: string;
525
- }
526
- export interface PaymentIntent_type {
527
- client_secret: string;
528
- }
529
- export interface PaymentMethod_type {
530
- billing_info: BillingInfo_type;
531
- card: CardDetails_type;
532
- created_at: string;
533
- id: string;
534
- metadata: {
535
- [key: string]: string;
536
- };
537
- type: PaymentMethodType_type;
538
- }
539
- export interface PaymentMethodCardChecks_type {
540
- address_line1_check: string;
541
- address_postal_code_check: string;
542
- cvc_check: string;
543
- }
544
- export declare type PaymentMethodType_type = 'card';
545
- export interface PluginsInfo_type {
546
- authorization: string[];
547
- log: string[];
548
- network: string[];
549
- volume: string[];
550
- }
551
- export interface Pong_type {
552
- message: string;
553
- }
554
- export interface RegistryServiceConfig_type {
555
- allow_nondistributable_artifacts_cid_rs: string[];
556
- allow_nondistributable_artifacts_hostnames: string[];
557
- index_configs: {
558
- [key: string]: IndexInfo_type;
559
- };
560
- insecure_registry_cid_rs: string[];
561
- mirrors: string[];
562
- }
563
- export interface Runtime_type {
564
- path?: string;
565
- runtime_args: string[];
566
- }
567
- export interface Session_type {
568
- created_at: string;
569
- expires: string;
570
- id: string;
571
- session_token: Uuid_type;
572
- updated_at: string;
573
- user_id: string;
574
- }
575
- export declare type SystemInfoCgroupDriverEnum_type = '' | 'cgroupfs' | 'systemd' | 'none';
576
- export declare type SystemInfoCgroupVersionEnum_type = '' | '1' | '2';
577
- export interface SystemInfoDefaultAddressPools_type {
578
- base?: string;
579
- size?: number;
580
- }
581
- export declare type SystemInfoIsolationEnum_type = '' | 'default' | 'hyperv' | 'process';
582
- export interface UnitConversion_type {
583
- completed_at?: string;
584
- created_at: string;
585
- error?: string;
586
- id: Uuid_type;
587
- input: number;
588
- output?: number;
589
- output_format: UnitMetricFormat_type;
590
- src_format: UnitMetricFormat_type;
591
- started_at?: string;
592
- status: ApiCallStatus_type;
593
- updated_at: string;
594
- user_id: string;
595
- }
596
- export declare type UnitMetricFormat_type = 'atto' | 'femto' | 'pico' | 'nano' | 'micro' | 'milli' | 'centi' | 'deci' | 'metric_unit' | 'deca' | 'hecto' | 'kilo' | 'mega' | 'giga' | 'tera' | 'peta' | 'exa';
597
- export interface UpdateUser_type {
598
- company: string;
599
- discord: string;
600
- first_name: string;
601
- github: string;
602
- last_name: string;
603
- phone: string;
604
- }
605
- export interface User_type {
606
- company: string;
607
- created_at: string;
608
- discord: string;
609
- email: string;
610
- email_verified?: string;
611
- first_name: string;
612
- github: string;
613
- id: string;
614
- image: string;
615
- last_name: string;
616
- name: string;
617
- phone: string;
618
- updated_at: string;
619
- }
620
- export interface UserResultsPage_type {
621
- items: User_type[];
622
- next_page?: string;
623
- }
624
- export declare type Uuid_type = string;
625
- export interface VerificationToken_type {
626
- created_at: string;
627
- expires: string;
628
- id: string;
629
- identifier: string;
630
- updated_at: string;
631
- }
632
- export interface Models {
633
- AccountProvider_type: AccountProvider_type;
634
- Address_type: Address_type;
635
- ApiCallQueryGroup_type: ApiCallQueryGroup_type;
636
- ApiCallQueryGroupBy_type: ApiCallQueryGroupBy_type;
637
- ApiCallStatus_type: ApiCallStatus_type;
638
- ApiCallWithPrice_type: ApiCallWithPrice_type;
639
- ApiCallWithPriceResultsPage_type: ApiCallWithPriceResultsPage_type;
640
- ApiToken_type: ApiToken_type;
641
- ApiTokenResultsPage_type: ApiTokenResultsPage_type;
642
- AsyncApiCall_type: AsyncApiCall_type;
643
- AsyncApiCallOutput_type: AsyncApiCallOutput_type;
644
- AsyncApiCallResultsPage_type: AsyncApiCallResultsPage_type;
645
- AsyncApiCallType_type: AsyncApiCallType_type;
646
- BillingInfo_type: BillingInfo_type;
647
- CacheMetadata_type: CacheMetadata_type;
648
- CardDetails_type: CardDetails_type;
649
- Cluster_type: Cluster_type;
650
- CodeLanguage_type: CodeLanguage_type;
651
- CodeOutput_type: CodeOutput_type;
652
- Commit_type: Commit_type;
653
- Connection_type: Connection_type;
654
- CreatedAtSortMode_type: CreatedAtSortMode_type;
655
- Currency_type: Currency_type;
656
- Customer_type: Customer_type;
657
- CustomerBalance_type: CustomerBalance_type;
658
- DeviceAccessTokenRequestForm_type: DeviceAccessTokenRequestForm_type;
659
- DeviceAuthRequestForm_type: DeviceAuthRequestForm_type;
660
- DeviceAuthVerifyParams_type: DeviceAuthVerifyParams_type;
661
- DockerSystemInfo_type: DockerSystemInfo_type;
662
- EmailAuthenticationForm_type: EmailAuthenticationForm_type;
663
- EngineMetadata_type: EngineMetadata_type;
664
- Environment_type: Environment_type;
665
- Error_type: Error_type;
666
- ExecutorMetadata_type: ExecutorMetadata_type;
667
- ExtendedUser_type: ExtendedUser_type;
668
- ExtendedUserResultsPage_type: ExtendedUserResultsPage_type;
669
- FileConversion_type: FileConversion_type;
670
- FileDensity_type: FileDensity_type;
671
- FileMass_type: FileMass_type;
672
- FileOutputFormat_type: FileOutputFormat_type;
673
- FileSourceFormat_type: FileSourceFormat_type;
674
- FileSystemMetadata_type: FileSystemMetadata_type;
675
- FileVolume_type: FileVolume_type;
676
- Gateway_type: Gateway_type;
677
- IndexInfo_type: IndexInfo_type;
678
- Invoice_type: Invoice_type;
679
- InvoiceLineItem_type: InvoiceLineItem_type;
680
- InvoiceStatus_type: InvoiceStatus_type;
681
- Jetstream_type: Jetstream_type;
682
- JetstreamApiStats_type: JetstreamApiStats_type;
683
- JetstreamConfig_type: JetstreamConfig_type;
684
- JetstreamStats_type: JetstreamStats_type;
685
- LeafNode_type: LeafNode_type;
686
- MetaClusterInfo_type: MetaClusterInfo_type;
687
- Metadata_type: Metadata_type;
688
- Method_type: Method_type;
689
- OAuth2ClientInfo_type: OAuth2ClientInfo_type;
690
- OAuth2GrantType_type: OAuth2GrantType_type;
691
- OutputFile_type: OutputFile_type;
692
- PaymentIntent_type: PaymentIntent_type;
693
- PaymentMethod_type: PaymentMethod_type;
694
- PaymentMethodCardChecks_type: PaymentMethodCardChecks_type;
695
- PaymentMethodType_type: PaymentMethodType_type;
696
- PluginsInfo_type: PluginsInfo_type;
697
- Pong_type: Pong_type;
698
- RegistryServiceConfig_type: RegistryServiceConfig_type;
699
- Runtime_type: Runtime_type;
700
- Session_type: Session_type;
701
- SystemInfoCgroupDriverEnum_type: SystemInfoCgroupDriverEnum_type;
702
- SystemInfoCgroupVersionEnum_type: SystemInfoCgroupVersionEnum_type;
703
- SystemInfoDefaultAddressPools_type: SystemInfoDefaultAddressPools_type;
704
- SystemInfoIsolationEnum_type: SystemInfoIsolationEnum_type;
705
- UnitConversion_type: UnitConversion_type;
706
- UnitMetricFormat_type: UnitMetricFormat_type;
707
- UpdateUser_type: UpdateUser_type;
708
- User_type: User_type;
709
- UserResultsPage_type: UserResultsPage_type;
710
- Uuid_type: Uuid_type;
711
- VerificationToken_type: VerificationToken_type;
712
- }
713
- //# sourceMappingURL=models.d.ts.map