@kittycad/lib 0.0.7 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/src/apiGen.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +20 -18
- package/dist/types/src/index.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiGen.d.ts","sourceRoot":"","sources":["../../../src/apiGen.ts"],"names":[],"mappings":"AAGA,wBAA8B,MAAM,CAAC,MAAM,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"apiGen.d.ts","sourceRoot":"","sources":["../../../src/apiGen.ts"],"names":[],"mappings":"AAGA,wBAA8B,MAAM,CAAC,MAAM,EAAE,GAAG,iBAqM/C;AAwBD,wBAAgB,KAAK,CAAC,GAAG,EAAE,GAAG,UAO7B"}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import get_schema from './api/meta/get_schema.js';
|
|
2
|
-
import ping from './api/meta/ping.js';
|
|
3
2
|
import get_metadata from './api/meta/get_metadata.js';
|
|
3
|
+
import ping from './api/meta/ping.js';
|
|
4
4
|
export declare const meta: {
|
|
5
5
|
get_schema: typeof get_schema;
|
|
6
|
-
ping: typeof ping;
|
|
7
6
|
get_metadata: typeof get_metadata;
|
|
7
|
+
ping: typeof ping;
|
|
8
8
|
};
|
|
9
9
|
import get_api_call_metrics from './api/api-calls/get_api_call_metrics.js';
|
|
10
|
-
import get_api_call from './api/api-calls/get_api_call.js';
|
|
11
|
-
import get_async_operation from './api/api-calls/get_async_operation.js';
|
|
12
10
|
import list_api_calls from './api/api-calls/list_api_calls.js';
|
|
11
|
+
import get_api_call from './api/api-calls/get_api_call.js';
|
|
13
12
|
import list_async_operations from './api/api-calls/list_async_operations.js';
|
|
13
|
+
import get_async_operation from './api/api-calls/get_async_operation.js';
|
|
14
14
|
import user_list_api_calls from './api/api-calls/user_list_api_calls.js';
|
|
15
15
|
import get_api_call_for_user from './api/api-calls/get_api_call_for_user.js';
|
|
16
16
|
import list_api_calls_for_user from './api/api-calls/list_api_calls_for_user.js';
|
|
17
17
|
export declare const api_calls: {
|
|
18
18
|
get_api_call_metrics: typeof get_api_call_metrics;
|
|
19
|
-
get_api_call: typeof get_api_call;
|
|
20
|
-
get_async_operation: typeof get_async_operation;
|
|
21
19
|
list_api_calls: typeof list_api_calls;
|
|
20
|
+
get_api_call: typeof get_api_call;
|
|
22
21
|
list_async_operations: typeof list_async_operations;
|
|
22
|
+
get_async_operation: typeof get_async_operation;
|
|
23
23
|
user_list_api_calls: typeof user_list_api_calls;
|
|
24
24
|
get_api_call_for_user: typeof get_api_call_for_user;
|
|
25
25
|
list_api_calls_for_user: typeof list_api_calls_for_user;
|
|
26
26
|
};
|
|
27
|
-
import get_file_conversion from './api/file/get_file_conversion.js';
|
|
28
27
|
import create_file_conversion from './api/file/create_file_conversion.js';
|
|
28
|
+
import create_file_density from './api/file/create_file_density.js';
|
|
29
|
+
import get_file_conversion from './api/file/get_file_conversion.js';
|
|
29
30
|
import create_file_execution from './api/file/create_file_execution.js';
|
|
30
31
|
import create_file_mass from './api/file/create_file_mass.js';
|
|
31
32
|
import create_file_volume from './api/file/create_file_volume.js';
|
|
32
|
-
import create_file_density from './api/file/create_file_density.js';
|
|
33
33
|
import get_file_conversion_for_user from './api/file/get_file_conversion_for_user.js';
|
|
34
34
|
export declare const file: {
|
|
35
|
-
get_file_conversion: typeof get_file_conversion;
|
|
36
35
|
create_file_conversion: typeof create_file_conversion;
|
|
36
|
+
create_file_density: typeof create_file_density;
|
|
37
|
+
get_file_conversion: typeof get_file_conversion;
|
|
37
38
|
create_file_execution: typeof create_file_execution;
|
|
38
39
|
create_file_mass: typeof create_file_mass;
|
|
39
40
|
create_file_volume: typeof create_file_volume;
|
|
40
|
-
create_file_density: typeof create_file_density;
|
|
41
41
|
get_file_conversion_for_user: typeof get_file_conversion_for_user;
|
|
42
42
|
};
|
|
43
43
|
import device_auth_request from './api/oauth2/device_auth_request.js';
|
|
@@ -62,52 +62,54 @@ import delete_user_self from './api/users/delete_user_self.js';
|
|
|
62
62
|
import update_user_self from './api/users/update_user_self.js';
|
|
63
63
|
import get_user_self from './api/users/get_user_self.js';
|
|
64
64
|
import get_user_self_extended from './api/users/get_user_self_extended.js';
|
|
65
|
+
import get_user_extended from './api/users/get_user_extended.js';
|
|
65
66
|
import list_users from './api/users/list_users.js';
|
|
66
67
|
import list_users_extended from './api/users/list_users_extended.js';
|
|
67
|
-
import get_user_extended from './api/users/get_user_extended.js';
|
|
68
68
|
import get_user from './api/users/get_user.js';
|
|
69
69
|
export declare const users: {
|
|
70
70
|
delete_user_self: typeof delete_user_self;
|
|
71
71
|
update_user_self: typeof update_user_self;
|
|
72
72
|
get_user_self: typeof get_user_self;
|
|
73
73
|
get_user_self_extended: typeof get_user_self_extended;
|
|
74
|
+
get_user_extended: typeof get_user_extended;
|
|
74
75
|
list_users: typeof list_users;
|
|
75
76
|
list_users_extended: typeof list_users_extended;
|
|
76
|
-
get_user_extended: typeof get_user_extended;
|
|
77
77
|
get_user: typeof get_user;
|
|
78
78
|
};
|
|
79
|
-
import create_api_token_for_user from './api/api-tokens/create_api_token_for_user.js';
|
|
80
79
|
import list_api_tokens_for_user from './api/api-tokens/list_api_tokens_for_user.js';
|
|
80
|
+
import create_api_token_for_user from './api/api-tokens/create_api_token_for_user.js';
|
|
81
81
|
import delete_api_token_for_user from './api/api-tokens/delete_api_token_for_user.js';
|
|
82
82
|
import get_api_token_for_user from './api/api-tokens/get_api_token_for_user.js';
|
|
83
83
|
export declare const api_tokens: {
|
|
84
|
-
create_api_token_for_user: typeof create_api_token_for_user;
|
|
85
84
|
list_api_tokens_for_user: typeof list_api_tokens_for_user;
|
|
85
|
+
create_api_token_for_user: typeof create_api_token_for_user;
|
|
86
86
|
delete_api_token_for_user: typeof delete_api_token_for_user;
|
|
87
87
|
get_api_token_for_user: typeof get_api_token_for_user;
|
|
88
88
|
};
|
|
89
89
|
import delete_payment_information_for_user from './api/payments/delete_payment_information_for_user.js';
|
|
90
90
|
import get_payment_information_for_user from './api/payments/get_payment_information_for_user.js';
|
|
91
|
-
import create_payment_information_for_user from './api/payments/create_payment_information_for_user.js';
|
|
92
91
|
import update_payment_information_for_user from './api/payments/update_payment_information_for_user.js';
|
|
92
|
+
import create_payment_information_for_user from './api/payments/create_payment_information_for_user.js';
|
|
93
|
+
import list_invoices_for_user from './api/payments/list_invoices_for_user.js';
|
|
93
94
|
import create_payment_intent_for_user from './api/payments/create_payment_intent_for_user.js';
|
|
94
95
|
import get_payment_balance_for_user from './api/payments/get_payment_balance_for_user.js';
|
|
95
96
|
import list_payment_methods_for_user from './api/payments/list_payment_methods_for_user.js';
|
|
96
|
-
import list_invoices_for_user from './api/payments/list_invoices_for_user.js';
|
|
97
97
|
import delete_payment_method_for_user from './api/payments/delete_payment_method_for_user.js';
|
|
98
98
|
export declare const payments: {
|
|
99
99
|
delete_payment_information_for_user: typeof delete_payment_information_for_user;
|
|
100
100
|
get_payment_information_for_user: typeof get_payment_information_for_user;
|
|
101
|
-
create_payment_information_for_user: typeof create_payment_information_for_user;
|
|
102
101
|
update_payment_information_for_user: typeof update_payment_information_for_user;
|
|
102
|
+
create_payment_information_for_user: typeof create_payment_information_for_user;
|
|
103
|
+
list_invoices_for_user: typeof list_invoices_for_user;
|
|
103
104
|
create_payment_intent_for_user: typeof create_payment_intent_for_user;
|
|
104
105
|
get_payment_balance_for_user: typeof get_payment_balance_for_user;
|
|
105
106
|
list_payment_methods_for_user: typeof list_payment_methods_for_user;
|
|
106
|
-
list_invoices_for_user: typeof list_invoices_for_user;
|
|
107
107
|
delete_payment_method_for_user: typeof delete_payment_method_for_user;
|
|
108
108
|
};
|
|
109
109
|
import get_session_for_user from './api/sessions/get_session_for_user.js';
|
|
110
110
|
export declare const sessions: {
|
|
111
111
|
get_session_for_user: typeof get_session_for_user;
|
|
112
112
|
};
|
|
113
|
+
import type * as Models from './models.js';
|
|
114
|
+
export type { Models };
|
|
113
115
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAClD,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAClD,OAAO,YAAY,MAAM,4BAA4B,CAAC;AACtD,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,eAAO,MAAM,IAAI;;;;CAAqC,CAAC;AAEvD,OAAO,oBAAoB,MAAM,yCAAyC,CAAC;AAC3E,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAC/D,OAAO,YAAY,MAAM,iCAAiC,CAAC;AAC3D,OAAO,qBAAqB,MAAM,0CAA0C,CAAC;AAC7E,OAAO,mBAAmB,MAAM,wCAAwC,CAAC;AACzE,OAAO,mBAAmB,MAAM,wCAAwC,CAAC;AACzE,OAAO,qBAAqB,MAAM,0CAA0C,CAAC;AAC7E,OAAO,uBAAuB,MAAM,4CAA4C,CAAC;AACjF,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC;AAEF,OAAO,sBAAsB,MAAM,sCAAsC,CAAC;AAC1E,OAAO,mBAAmB,MAAM,mCAAmC,CAAC;AACpE,OAAO,mBAAmB,MAAM,mCAAmC,CAAC;AACpE,OAAO,qBAAqB,MAAM,qCAAqC,CAAC;AACxE,OAAO,gBAAgB,MAAM,gCAAgC,CAAC;AAC9D,OAAO,kBAAkB,MAAM,kCAAkC,CAAC;AAClE,OAAO,4BAA4B,MAAM,4CAA4C,CAAC;AACtF,eAAO,MAAM,IAAI;;;;;;;;CAQhB,CAAC;AAEF,OAAO,mBAAmB,MAAM,qCAAqC,C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iDAAiD,CAAC;AAC5F,OAAO,8BAA8B,MAAM,kDAAkD,CAAC;AAC9F,eAAO,MAAM,QAAQ;;;;;;;;;;CAUpB,CAAC;AAEF,OAAO,oBAAoB,MAAM,wCAAwC,CAAC;AAC1E,eAAO,MAAM,QAAQ;;CAA2B,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,MAAM,aAAa,CAAC;AAC3C,YAAY,EAAE,MAAM,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kittycad/lib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "ts lib",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
"tsc": "tsc",
|
|
51
51
|
"build2": "rimraf dist && npm run build:types && npm run build:js",
|
|
52
52
|
"build:js": "rollup -c",
|
|
53
|
-
"build:types": "tsc --emitDeclarationOnly"
|
|
53
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
54
|
+
"modelsGen": "ts-node --project ./tsconfig.gen.json ./src/modelsGen.ts && prettier --config .prettierrc --write ./src"
|
|
54
55
|
},
|
|
55
56
|
"author": "Kurt Hutten <kurt@kittycad.io>",
|
|
56
57
|
"license": "MIT",
|