@cheqd/studio 3.0.0-develop.1 → 3.0.0
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/README.md +1 -1
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +1 -7
- package/dist/app.js.map +1 -1
- package/dist/controllers/admin/api-key.d.ts +2 -2
- package/dist/controllers/admin/api-key.js +2 -2
- package/dist/controllers/admin/prices.d.ts +1 -1
- package/dist/controllers/admin/prices.js +1 -1
- package/dist/controllers/admin/product.d.ts +0 -4
- package/dist/controllers/admin/product.d.ts.map +1 -1
- package/dist/controllers/admin/product.js +0 -4
- package/dist/controllers/admin/product.js.map +1 -1
- package/dist/controllers/admin/subscriptions.d.ts +21 -21
- package/dist/controllers/admin/subscriptions.js +21 -21
- package/dist/controllers/api/account.d.ts +4 -4
- package/dist/controllers/api/account.js +4 -4
- package/dist/middleware/auth/auth-gaurd.d.ts.map +1 -1
- package/dist/middleware/auth/auth-gaurd.js +1 -1
- package/dist/middleware/auth/auth-gaurd.js.map +1 -1
- package/dist/middleware/auth/user-info-fetcher/swagger-ui.js +1 -1
- package/dist/middleware/auth/user-info-fetcher/swagger-ui.js.map +1 -1
- package/dist/static/swagger-admin.json +873 -859
- package/dist/static/swagger-api.json +3044 -3011
- package/dist/types/swagger-admin-types.d.ts +10 -15
- package/dist/types/swagger-admin-types.d.ts.map +1 -1
- package/dist/types/swagger-admin-types.js +10 -15
- package/dist/types/swagger-admin-types.js.map +1 -1
- package/dist/types/swagger-api-types.d.ts +21 -8
- package/dist/types/swagger-api-types.d.ts.map +1 -1
- package/dist/types/swagger-api-types.js +21 -8
- package/dist/types/swagger-api-types.js.map +1 -1
- package/example.env +6 -0
- package/package.json +1 -1
|
@@ -213,10 +213,9 @@
|
|
|
213
213
|
* required:
|
|
214
214
|
* - name
|
|
215
215
|
* APIKeyCreateResponseBody:
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* ref: '#/components/schemas/APIKeyResponse'
|
|
216
|
+
* allOf:
|
|
217
|
+
* - $ref: '#/components/schemas/APIKeyResponse'
|
|
218
|
+
* - description: The response body for creating an API key
|
|
220
219
|
* APIKeyCreateUnsuccessfulResponseBody:
|
|
221
220
|
* description: The response body for an unsuccessful API key creation
|
|
222
221
|
* type: object
|
|
@@ -249,10 +248,9 @@
|
|
|
249
248
|
* required:
|
|
250
249
|
* - apiKey
|
|
251
250
|
* APIKeyUpdateResponseBody:
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
* ref: '#/components/schemas/APIKeyResponse'
|
|
251
|
+
* allOf:
|
|
252
|
+
* - $ref: '#/components/schemas/APIKeyResponse'
|
|
253
|
+
* - description: The response body for an successful API key update
|
|
256
254
|
* APIKeyUpdateUnsuccessfulResponseBody:
|
|
257
255
|
* description: The response body for an unsuccessful API key update
|
|
258
256
|
* type: object
|
|
@@ -298,9 +296,7 @@
|
|
|
298
296
|
* apiKeys:
|
|
299
297
|
* type: array
|
|
300
298
|
* items:
|
|
301
|
-
*
|
|
302
|
-
* schema:
|
|
303
|
-
* ref: '#/components/schemas/APIKeyResponse'
|
|
299
|
+
* $ref: '#/components/schemas/APIKeyResponse'
|
|
304
300
|
* APIKeyGetRequestBody:
|
|
305
301
|
* description: The request body for getting an API key
|
|
306
302
|
* type: object
|
|
@@ -312,10 +308,9 @@
|
|
|
312
308
|
* required:
|
|
313
309
|
* - apiKey
|
|
314
310
|
* APIKeyGetResponseBody:
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
* ref: '#/components/schemas/APIKeyResponse'
|
|
311
|
+
* allOf:
|
|
312
|
+
* - $ref: '#/components/schemas/APIKeyResponse'
|
|
313
|
+
* - description: The response body for getting an API key
|
|
319
314
|
* OrganisationResponseBody:
|
|
320
315
|
* description: The response body for an organisation
|
|
321
316
|
* type: object
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swagger-admin-types.d.ts","sourceRoot":"","sources":["../../src/types/swagger-admin-types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"swagger-admin-types.d.ts","sourceRoot":"","sources":["../../src/types/swagger-admin-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyVG"}
|
|
@@ -214,10 +214,9 @@
|
|
|
214
214
|
* required:
|
|
215
215
|
* - name
|
|
216
216
|
* APIKeyCreateResponseBody:
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
* ref: '#/components/schemas/APIKeyResponse'
|
|
217
|
+
* allOf:
|
|
218
|
+
* - $ref: '#/components/schemas/APIKeyResponse'
|
|
219
|
+
* - description: The response body for creating an API key
|
|
221
220
|
* APIKeyCreateUnsuccessfulResponseBody:
|
|
222
221
|
* description: The response body for an unsuccessful API key creation
|
|
223
222
|
* type: object
|
|
@@ -250,10 +249,9 @@
|
|
|
250
249
|
* required:
|
|
251
250
|
* - apiKey
|
|
252
251
|
* APIKeyUpdateResponseBody:
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
* ref: '#/components/schemas/APIKeyResponse'
|
|
252
|
+
* allOf:
|
|
253
|
+
* - $ref: '#/components/schemas/APIKeyResponse'
|
|
254
|
+
* - description: The response body for an successful API key update
|
|
257
255
|
* APIKeyUpdateUnsuccessfulResponseBody:
|
|
258
256
|
* description: The response body for an unsuccessful API key update
|
|
259
257
|
* type: object
|
|
@@ -299,9 +297,7 @@
|
|
|
299
297
|
* apiKeys:
|
|
300
298
|
* type: array
|
|
301
299
|
* items:
|
|
302
|
-
*
|
|
303
|
-
* schema:
|
|
304
|
-
* ref: '#/components/schemas/APIKeyResponse'
|
|
300
|
+
* $ref: '#/components/schemas/APIKeyResponse'
|
|
305
301
|
* APIKeyGetRequestBody:
|
|
306
302
|
* description: The request body for getting an API key
|
|
307
303
|
* type: object
|
|
@@ -313,10 +309,9 @@
|
|
|
313
309
|
* required:
|
|
314
310
|
* - apiKey
|
|
315
311
|
* APIKeyGetResponseBody:
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
* ref: '#/components/schemas/APIKeyResponse'
|
|
312
|
+
* allOf:
|
|
313
|
+
* - $ref: '#/components/schemas/APIKeyResponse'
|
|
314
|
+
* - description: The response body for getting an API key
|
|
320
315
|
* OrganisationResponseBody:
|
|
321
316
|
* description: The response body for an organisation
|
|
322
317
|
* type: object
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swagger-admin-types.js","sourceRoot":"","sources":["../../src/types/swagger-admin-types.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"swagger-admin-types.js","sourceRoot":"","sources":["../../src/types/swagger-admin-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyVG"}
|
|
@@ -916,13 +916,15 @@
|
|
|
916
916
|
* type: string
|
|
917
917
|
* description: DID to be imported
|
|
918
918
|
* format: uri
|
|
919
|
-
* required: true
|
|
920
919
|
* keys:
|
|
921
920
|
* type: array
|
|
922
921
|
* description: List of keys required to import the DID
|
|
923
|
-
* required: true
|
|
924
922
|
* items:
|
|
925
923
|
* $ref: '#/components/schemas/KeyImportRequest'
|
|
924
|
+
*
|
|
925
|
+
* required:
|
|
926
|
+
* - did
|
|
927
|
+
* - keys
|
|
926
928
|
* PresentationCreateResult:
|
|
927
929
|
* type: object
|
|
928
930
|
* properties:
|
|
@@ -1273,12 +1275,23 @@
|
|
|
1273
1275
|
* Customer:
|
|
1274
1276
|
* type: object
|
|
1275
1277
|
* properties:
|
|
1276
|
-
*
|
|
1277
|
-
* type:
|
|
1278
|
-
*
|
|
1279
|
-
*
|
|
1280
|
-
*
|
|
1281
|
-
*
|
|
1278
|
+
* customer:
|
|
1279
|
+
* type: object
|
|
1280
|
+
* properties:
|
|
1281
|
+
* customerId:
|
|
1282
|
+
* type: string
|
|
1283
|
+
* name:
|
|
1284
|
+
* type: string
|
|
1285
|
+
* paymentAccount:
|
|
1286
|
+
* type: object
|
|
1287
|
+
* properties:
|
|
1288
|
+
* address:
|
|
1289
|
+
* type: string
|
|
1290
|
+
* QueryIdTokenResponseBody:
|
|
1291
|
+
* type: object
|
|
1292
|
+
* properties:
|
|
1293
|
+
* idToken:
|
|
1294
|
+
* type: string
|
|
1282
1295
|
* AccountCreateRequest:
|
|
1283
1296
|
* type: object
|
|
1284
1297
|
* properties:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swagger-api-types.d.ts","sourceRoot":"","sources":["../../src/types/swagger-api-types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"swagger-api-types.d.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2yCG"}
|
|
@@ -917,13 +917,15 @@
|
|
|
917
917
|
* type: string
|
|
918
918
|
* description: DID to be imported
|
|
919
919
|
* format: uri
|
|
920
|
-
* required: true
|
|
921
920
|
* keys:
|
|
922
921
|
* type: array
|
|
923
922
|
* description: List of keys required to import the DID
|
|
924
|
-
* required: true
|
|
925
923
|
* items:
|
|
926
924
|
* $ref: '#/components/schemas/KeyImportRequest'
|
|
925
|
+
*
|
|
926
|
+
* required:
|
|
927
|
+
* - did
|
|
928
|
+
* - keys
|
|
927
929
|
* PresentationCreateResult:
|
|
928
930
|
* type: object
|
|
929
931
|
* properties:
|
|
@@ -1274,12 +1276,23 @@
|
|
|
1274
1276
|
* Customer:
|
|
1275
1277
|
* type: object
|
|
1276
1278
|
* properties:
|
|
1277
|
-
*
|
|
1278
|
-
* type:
|
|
1279
|
-
*
|
|
1280
|
-
*
|
|
1281
|
-
*
|
|
1282
|
-
*
|
|
1279
|
+
* customer:
|
|
1280
|
+
* type: object
|
|
1281
|
+
* properties:
|
|
1282
|
+
* customerId:
|
|
1283
|
+
* type: string
|
|
1284
|
+
* name:
|
|
1285
|
+
* type: string
|
|
1286
|
+
* paymentAccount:
|
|
1287
|
+
* type: object
|
|
1288
|
+
* properties:
|
|
1289
|
+
* address:
|
|
1290
|
+
* type: string
|
|
1291
|
+
* QueryIdTokenResponseBody:
|
|
1292
|
+
* type: object
|
|
1293
|
+
* properties:
|
|
1294
|
+
* idToken:
|
|
1295
|
+
* type: string
|
|
1283
1296
|
* AccountCreateRequest:
|
|
1284
1297
|
* type: object
|
|
1285
1298
|
* properties:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swagger-api-types.js","sourceRoot":"","sources":["../../src/types/swagger-api-types.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"swagger-api-types.js","sourceRoot":"","sources":["../../src/types/swagger-api-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2yCG"}
|
package/example.env
CHANGED
|
@@ -41,3 +41,9 @@ ISSUER_PRIVATE_KEY_HEX="akjvncanv....avoa"
|
|
|
41
41
|
ISSUER_PUBLIC_KEY_HEX="alnvca...dvncioa"
|
|
42
42
|
ISSUER_DID="did:cheqd:testnet:afcnoa...adv"
|
|
43
43
|
DEFAULT_FEE_PAYER_MNEMONIC="sketch mountain ....."
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# TEST_RUNNER
|
|
47
|
+
TEST_USER_EMAIL='test@cheqd.io'
|
|
48
|
+
TEST_USER_PASSWORD='...'
|
|
49
|
+
TEST_USER_API_KEY='caas_...'
|