@cheqd/studio 3.9.0-develop.2 → 3.9.0-develop.3

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 (74) hide show
  1. package/dist/app.d.ts.map +1 -1
  2. package/dist/app.js +5 -1
  3. package/dist/app.js.map +1 -1
  4. package/dist/controllers/api/did.d.ts +31 -3
  5. package/dist/controllers/api/did.d.ts.map +1 -1
  6. package/dist/controllers/api/did.js +41 -5
  7. package/dist/controllers/api/did.js.map +1 -1
  8. package/dist/controllers/api/operation.d.ts +87 -0
  9. package/dist/controllers/api/operation.d.ts.map +1 -0
  10. package/dist/controllers/api/operation.js +130 -0
  11. package/dist/controllers/api/operation.js.map +1 -0
  12. package/dist/controllers/api/resource.d.ts +77 -0
  13. package/dist/controllers/api/resource.d.ts.map +1 -1
  14. package/dist/controllers/api/resource.js +120 -0
  15. package/dist/controllers/api/resource.js.map +1 -1
  16. package/dist/database/entities/resource.entity.d.ts.map +1 -1
  17. package/dist/database/entities/resource.entity.js.map +1 -1
  18. package/dist/helpers/helpers.d.ts +5 -0
  19. package/dist/helpers/helpers.d.ts.map +1 -1
  20. package/dist/helpers/helpers.js +12 -0
  21. package/dist/helpers/helpers.js.map +1 -1
  22. package/dist/middleware/auth/routes/api/event-auth.d.ts +5 -0
  23. package/dist/middleware/auth/routes/api/event-auth.d.ts.map +1 -0
  24. package/dist/middleware/auth/routes/api/event-auth.js +9 -0
  25. package/dist/middleware/auth/routes/api/event-auth.js.map +1 -0
  26. package/dist/middleware/auth/routes/api/resource-auth.d.ts.map +1 -1
  27. package/dist/middleware/auth/routes/api/resource-auth.js +2 -0
  28. package/dist/middleware/auth/routes/api/resource-auth.js.map +1 -1
  29. package/dist/middleware/authentication.d.ts.map +1 -1
  30. package/dist/middleware/authentication.js +2 -0
  31. package/dist/middleware/authentication.js.map +1 -1
  32. package/dist/services/api/identifier.d.ts +1 -1
  33. package/dist/services/api/identifier.d.ts.map +1 -1
  34. package/dist/services/api/identifier.js +4 -2
  35. package/dist/services/api/identifier.js.map +1 -1
  36. package/dist/services/api/operation.d.ts +1 -1
  37. package/dist/services/api/operation.d.ts.map +1 -1
  38. package/dist/services/api/operation.js +4 -2
  39. package/dist/services/api/operation.js.map +1 -1
  40. package/dist/services/api/resource.d.ts +4 -4
  41. package/dist/services/api/resource.d.ts.map +1 -1
  42. package/dist/services/api/resource.js +8 -6
  43. package/dist/services/api/resource.js.map +1 -1
  44. package/dist/services/identity/abstract.d.ts +6 -1
  45. package/dist/services/identity/abstract.d.ts.map +1 -1
  46. package/dist/services/identity/abstract.js +7 -1
  47. package/dist/services/identity/abstract.js.map +1 -1
  48. package/dist/services/identity/index.d.ts +6 -1
  49. package/dist/services/identity/index.d.ts.map +1 -1
  50. package/dist/services/identity/index.js.map +1 -1
  51. package/dist/services/identity/local.d.ts +4 -1
  52. package/dist/services/identity/local.d.ts.map +1 -1
  53. package/dist/services/identity/local.js +2 -1
  54. package/dist/services/identity/local.js.map +1 -1
  55. package/dist/services/identity/postgres.d.ts +12 -1
  56. package/dist/services/identity/postgres.d.ts.map +1 -1
  57. package/dist/services/identity/postgres.js +61 -3
  58. package/dist/services/identity/postgres.js.map +1 -1
  59. package/dist/services/track/api/resource-subscriber.d.ts.map +1 -1
  60. package/dist/services/track/api/resource-subscriber.js +2 -1
  61. package/dist/services/track/api/resource-subscriber.js.map +1 -1
  62. package/dist/static/swagger-api.json +297 -4
  63. package/dist/types/did.d.ts +13 -2
  64. package/dist/types/did.d.ts.map +1 -1
  65. package/dist/types/resource.d.ts +25 -0
  66. package/dist/types/resource.d.ts.map +1 -1
  67. package/dist/types/swagger-api-types.d.ts +18 -0
  68. package/dist/types/swagger-api-types.d.ts.map +1 -1
  69. package/dist/types/swagger-api-types.js +18 -0
  70. package/dist/types/swagger-api-types.js.map +1 -1
  71. package/dist/types/track.d.ts +9 -0
  72. package/dist/types/track.d.ts.map +1 -1
  73. package/dist/types/track.js.map +1 -1
  74. package/package.json +1 -1
@@ -1908,6 +1908,20 @@
1908
1908
  }
1909
1909
  }
1910
1910
  },
1911
+ "ListDidResult": {
1912
+ "type": "object",
1913
+ "properties": {
1914
+ "total": {
1915
+ "type": "number"
1916
+ },
1917
+ "dids": {
1918
+ "type": "array",
1919
+ "items": {
1920
+ "type": "string"
1921
+ }
1922
+ }
1923
+ }
1924
+ },
1911
1925
  "DidUpdateResponse": {
1912
1926
  "type": "object",
1913
1927
  "properties": {
@@ -2166,6 +2180,20 @@
2166
2180
  }
2167
2181
  }
2168
2182
  },
2183
+ "ListResourceResult": {
2184
+ "type": "object",
2185
+ "properties": {
2186
+ "total": {
2187
+ "type": "number"
2188
+ },
2189
+ "resources": {
2190
+ "type": "array",
2191
+ "items": {
2192
+ "$ref": "#/components/schemas/ResourceMetadata"
2193
+ }
2194
+ }
2195
+ }
2196
+ },
2169
2197
  "DereferencingMetadata": {
2170
2198
  "type": "object",
2171
2199
  "properties": {
@@ -3926,16 +3954,56 @@
3926
3954
  ],
3927
3955
  "summary": "Fetch DIDs associated with an account.",
3928
3956
  "description": "This endpoint returns the list of DIDs controlled by the account.",
3957
+ "parameters": [
3958
+ {
3959
+ "in": "query",
3960
+ "name": "network",
3961
+ "description": "Filter DID by the network published.",
3962
+ "schema": {
3963
+ "type": "string",
3964
+ "enum": [
3965
+ "mainnet",
3966
+ "testnet"
3967
+ ]
3968
+ },
3969
+ "required": false
3970
+ },
3971
+ {
3972
+ "in": "query",
3973
+ "name": "createdAt",
3974
+ "description": "Filter resource by created date",
3975
+ "schema": {
3976
+ "type": "string",
3977
+ "format": "date"
3978
+ },
3979
+ "required": false
3980
+ },
3981
+ {
3982
+ "in": "query",
3983
+ "name": "page",
3984
+ "description": "Page number.",
3985
+ "schema": {
3986
+ "type": "number"
3987
+ },
3988
+ "required": false
3989
+ },
3990
+ {
3991
+ "in": "query",
3992
+ "name": "limit",
3993
+ "description": "Number of items to be listed in a single page.",
3994
+ "schema": {
3995
+ "type": "number"
3996
+ },
3997
+ "required": false
3998
+ }
3999
+ ],
3929
4000
  "responses": {
3930
4001
  "200": {
3931
4002
  "description": "The request was successful.",
3932
4003
  "content": {
3933
4004
  "application/json": {
3934
4005
  "schema": {
3935
- "type": "array",
3936
- "items": {
3937
- "type": "string"
3938
- }
4006
+ "$ref": "#/components/schemas/ListDidResult"
3939
4007
  }
3940
4008
  }
3941
4009
  }
@@ -4242,6 +4310,122 @@
4242
4310
  }
4243
4311
  }
4244
4312
  },
4313
+ "/event/list": {
4314
+ "get": {
4315
+ "tags": [
4316
+ "Event"
4317
+ ],
4318
+ "summary": "Fetch Credential event's triggered by the user.",
4319
+ "description": "This endpoint returns the list of Credential Events controlled by the account.",
4320
+ "parameters": [
4321
+ {
4322
+ "in": "query",
4323
+ "name": "network",
4324
+ "description": "Filter events by the network published.",
4325
+ "schema": {
4326
+ "type": "string",
4327
+ "enum": [
4328
+ "mainnet",
4329
+ "testnet"
4330
+ ]
4331
+ },
4332
+ "required": false
4333
+ },
4334
+ {
4335
+ "in": "query",
4336
+ "name": "category",
4337
+ "description": "Filter events by the category.",
4338
+ "schema": {
4339
+ "type": "string",
4340
+ "enum": [
4341
+ "did",
4342
+ "resource",
4343
+ "credential",
4344
+ "credential-status",
4345
+ "presentation"
4346
+ ]
4347
+ },
4348
+ "required": false
4349
+ },
4350
+ {
4351
+ "in": "query",
4352
+ "name": "name",
4353
+ "description": "Filter events by the name.",
4354
+ "schema": {
4355
+ "type": "string"
4356
+ },
4357
+ "required": false
4358
+ },
4359
+ {
4360
+ "in": "query",
4361
+ "name": "deprecated",
4362
+ "description": "Filter events by the deprecated type",
4363
+ "schema": {
4364
+ "type": "boolean"
4365
+ },
4366
+ "required": false
4367
+ },
4368
+ {
4369
+ "in": "query",
4370
+ "name": "successful",
4371
+ "description": "Filter events by the status",
4372
+ "schema": {
4373
+ "type": "boolean"
4374
+ },
4375
+ "required": false
4376
+ },
4377
+ {
4378
+ "in": "query",
4379
+ "name": "createdAt",
4380
+ "description": "Filter resource by created date",
4381
+ "schema": {
4382
+ "type": "string",
4383
+ "format": "date"
4384
+ },
4385
+ "required": false
4386
+ },
4387
+ {
4388
+ "in": "query",
4389
+ "name": "page",
4390
+ "description": "Page number.",
4391
+ "schema": {
4392
+ "type": "number"
4393
+ },
4394
+ "required": false
4395
+ },
4396
+ {
4397
+ "in": "query",
4398
+ "name": "limit",
4399
+ "description": "Number of items to be listed in a single page.",
4400
+ "schema": {
4401
+ "type": "number"
4402
+ },
4403
+ "required": false
4404
+ }
4405
+ ],
4406
+ "responses": {
4407
+ "200": {
4408
+ "description": "The request was successful.",
4409
+ "content": {
4410
+ "application/json": {
4411
+ "schema": {
4412
+ "$ref": "#/components/schemas/ListResourceResult"
4413
+ }
4414
+ }
4415
+ }
4416
+ },
4417
+ "400": {
4418
+ "$ref": "#/components/schemas/InvalidRequest"
4419
+ },
4420
+ "401": {
4421
+ "$ref": "#/components/schemas/UnauthorizedError"
4422
+ },
4423
+ "500": {
4424
+ "$ref": "#/components/schemas/InternalError"
4425
+ }
4426
+ }
4427
+ }
4428
+ },
4245
4429
  "/presentation/create": {
4246
4430
  "post": {
4247
4431
  "tags": [
@@ -4519,6 +4703,115 @@
4519
4703
  }
4520
4704
  }
4521
4705
  }
4706
+ },
4707
+ "/resource/list": {
4708
+ "get": {
4709
+ "tags": [
4710
+ "Resource"
4711
+ ],
4712
+ "summary": "Fetch Resources created by the user.",
4713
+ "description": "This endpoint returns the list of DID Linked Resources controlled by the account.",
4714
+ "parameters": [
4715
+ {
4716
+ "in": "query",
4717
+ "name": "network",
4718
+ "description": "Filter resources by the network published.",
4719
+ "schema": {
4720
+ "type": "string",
4721
+ "enum": [
4722
+ "mainnet",
4723
+ "testnet"
4724
+ ]
4725
+ },
4726
+ "required": false
4727
+ },
4728
+ {
4729
+ "in": "query",
4730
+ "name": "resourceName",
4731
+ "description": "Filter resources by the resource name",
4732
+ "schema": {
4733
+ "type": "string"
4734
+ },
4735
+ "required": false
4736
+ },
4737
+ {
4738
+ "in": "query",
4739
+ "name": "resourceType",
4740
+ "description": "Filter resources by the resource type",
4741
+ "schema": {
4742
+ "type": "string"
4743
+ },
4744
+ "required": false
4745
+ },
4746
+ {
4747
+ "in": "query",
4748
+ "name": "did",
4749
+ "description": "Filter resources published by a DID",
4750
+ "schema": {
4751
+ "type": "string"
4752
+ },
4753
+ "required": false
4754
+ },
4755
+ {
4756
+ "in": "query",
4757
+ "name": "encrypted",
4758
+ "description": "Filter resource by encryption type",
4759
+ "schema": {
4760
+ "type": "boolean"
4761
+ },
4762
+ "required": false
4763
+ },
4764
+ {
4765
+ "in": "query",
4766
+ "name": "createdAt",
4767
+ "description": "Filter resource by created date",
4768
+ "schema": {
4769
+ "type": "string",
4770
+ "format": "date"
4771
+ },
4772
+ "required": false
4773
+ },
4774
+ {
4775
+ "in": "query",
4776
+ "name": "page",
4777
+ "description": "Page number.",
4778
+ "schema": {
4779
+ "type": "number"
4780
+ },
4781
+ "required": false
4782
+ },
4783
+ {
4784
+ "in": "query",
4785
+ "name": "limit",
4786
+ "description": "Number of items to be listed in a single page.",
4787
+ "schema": {
4788
+ "type": "number"
4789
+ },
4790
+ "required": false
4791
+ }
4792
+ ],
4793
+ "responses": {
4794
+ "200": {
4795
+ "description": "The request was successful.",
4796
+ "content": {
4797
+ "application/json": {
4798
+ "schema": {
4799
+ "$ref": "#/components/schemas/ListResourceResult"
4800
+ }
4801
+ }
4802
+ }
4803
+ },
4804
+ "400": {
4805
+ "$ref": "#/components/schemas/InvalidRequest"
4806
+ },
4807
+ "401": {
4808
+ "$ref": "#/components/schemas/UnauthorizedError"
4809
+ },
4810
+ "500": {
4811
+ "$ref": "#/components/schemas/InternalError"
4812
+ }
4813
+ }
4814
+ }
4522
4815
  }
4523
4816
  }
4524
4817
  }
@@ -38,12 +38,23 @@ export type DeactivateDIDRequestParams = DIDRequest;
38
38
  export type DeactivateDIDRequestBody = {
39
39
  publicKeyHexs?: string[];
40
40
  };
41
- export type GetDIDRequestParams = DIDRequest;
41
+ export type GetDIDRequestParams = {
42
+ did?: string;
43
+ } & ListDIDRequestOptions;
44
+ export type ListDIDRequestOptions = {
45
+ network?: CheqdNetwork;
46
+ page?: number;
47
+ limit?: number;
48
+ createdAt?: number;
49
+ };
42
50
  export type ResolveDIDRequestParams = DIDRequest;
43
51
  export type CreateDidResponseBody = ICheqdIDentifier;
44
52
  export type UpdateDidResponseBody = ICheqdIDentifier;
45
53
  export type DeactivateDidResponseBody = DIDResolutionResult;
46
- export type ListDidsResponseBody = string[];
54
+ export type ListDidsResponseBody = {
55
+ total: number;
56
+ dids: string[];
57
+ };
47
58
  export type QueryDidResponseBody = DIDResolutionResult;
48
59
  export type ResolveDidResponseBody = any;
49
60
  export type UnsuccessfulCreateDidResponseBody = UnsuccessfulResponseBody;
@@ -1 +1 @@
1
- {"version":3,"file":"did.d.ts","sourceRoot":"","sources":["../../src/types/did.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,oBAAoB,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACnG,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACzF,OAAO,KAAK,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAC3F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,MAAM,WAAW,gBAAgB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB;AAID,MAAM,MAAM,UAAU,GAAG;IACxB,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAClC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,oBAAoB,EAAE,oBAAoB,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AAiC,GAAG,wBAAwB,CAAC;AAEzE,MAAM,MAAM,iCAAiC,GAAG,wBAAwB,CAAC;AAEzE,MAAM,MAAM,qCAAqC,GAAG,wBAAwB,GAAG;IAAE,WAAW,EAAE,OAAO,CAAA;CAAE,CAAC;AAExG,MAAM,MAAM,8BAA8B,GAAG,6BAA6B,CAAC;AAE3E,MAAM,MAAM,kCAAkC,GAAG,6BAA6B,CAAC"}
@@ -17,10 +17,35 @@ export type CreateResourceRequestBody = {
17
17
  publicKeyHexs?: string[];
18
18
  };
19
19
  export type SearchResourceRequestParams = DIDRequest;
20
+ export type FilterResourceParams = {
21
+ did?: string;
22
+ encrypted?: boolean;
23
+ createdAt?: string;
24
+ resourceName?: string;
25
+ resourceType?: string;
26
+ network?: CheqdNetwork;
27
+ };
28
+ export type ListResourceOptions = FilterResourceParams & {
29
+ page?: number;
30
+ limit?: number;
31
+ };
20
32
  export type CreateResourceResponseBody = {
21
33
  resource: LinkedResourceMetadataResolutionResult;
22
34
  };
23
35
  export type QueryResourceResponseBody = any;
36
+ export type ListResourceResponse = {
37
+ total: number;
38
+ resources: {
39
+ resourceId: string;
40
+ resourceName: string;
41
+ resourceType: string;
42
+ mediaType: string;
43
+ previousVersionId: string | null;
44
+ nextVersionId: string | null;
45
+ encrypted: boolean;
46
+ did: string;
47
+ }[];
48
+ };
24
49
  export type UnsuccessfulCreateResourceResponseBody = UnsuccessfulResponseBody;
25
50
  export type UnsuccessfulQueryResourceResponseBody = UnsuccessfulQueryResponseBody;
26
51
  //# sourceMappingURL=resource.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../src/types/resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AACpG,OAAO,KAAK,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAC3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAA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AAE,MAAM,GAAG,IAAI,CAAC;QACjC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,SAAS,EAAE,OAAO,CAAC;QACnB,GAAG,EAAE,MAAM,CAAC;KACZ,EAAE,CAAC;CACJ,CAAC;AAIF,MAAM,MAAM,sCAAsC,GAAG,wBAAwB,CAAC;AAE9E,MAAM,MAAM,qCAAqC,GAAG,6BAA6B,CAAC"}
@@ -1257,6 +1257,15 @@
1257
1257
  * type: array
1258
1258
  * items:
1259
1259
  * $ref: '#/components/schemas/Service'
1260
+ * ListDidResult:
1261
+ * type: object
1262
+ * properties:
1263
+ * total:
1264
+ * type: number
1265
+ * dids:
1266
+ * type: array
1267
+ * items:
1268
+ * type: string
1260
1269
  * DidUpdateResponse:
1261
1270
  * type: object
1262
1271
  * properties:
@@ -1442,6 +1451,15 @@
1442
1451
  * type: object
1443
1452
  * dereferencingMetadata:
1444
1453
  * $ref: '#/components/schemas/DereferencingMetadata'
1454
+ * ListResourceResult:
1455
+ * type: object
1456
+ * properties:
1457
+ * total:
1458
+ * type: number
1459
+ * resources:
1460
+ * type: array
1461
+ * items:
1462
+ * $ref: '#/components/schemas/ResourceMetadata'
1445
1463
  * DereferencingMetadata:
1446
1464
  * type: object
1447
1465
  * properties:
@@ -1 +1 @@
1
- {"version":3,"file":"swagger-api-types.d.ts","sourceRoot":"","sources":["../../src/types/swagger-api-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgoDG"}
@@ -1258,6 +1258,15 @@
1258
1258
  * type: array
1259
1259
  * items:
1260
1260
  * $ref: '#/components/schemas/Service'
1261
+ * ListDidResult:
1262
+ * type: object
1263
+ * properties:
1264
+ * total:
1265
+ * type: number
1266
+ * dids:
1267
+ * type: array
1268
+ * items:
1269
+ * type: string
1261
1270
  * DidUpdateResponse:
1262
1271
  * type: object
1263
1272
  * properties:
@@ -1443,6 +1452,15 @@
1443
1452
  * type: object
1444
1453
  * dereferencingMetadata:
1445
1454
  * $ref: '#/components/schemas/DereferencingMetadata'
1455
+ * ListResourceResult:
1456
+ * type: object
1457
+ * properties:
1458
+ * total:
1459
+ * type: number
1460
+ * resources:
1461
+ * type: array
1462
+ * items:
1463
+ * $ref: '#/components/schemas/ResourceMetadata'
1446
1464
  * DereferencingMetadata:
1447
1465
  * type: object
1448
1466
  * properties:
@@ -1 +1 @@
1
- {"version":3,"file":"swagger-api-types.js","sourceRoot":"","sources":["../../src/types/swagger-api-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgoDG"}
@@ -58,6 +58,15 @@ export interface INotifyMessage {
58
58
  message: string;
59
59
  severity?: LogLevelDesc;
60
60
  }
61
+ export interface ListOperationOptions {
62
+ category?: string;
63
+ operationName?: string;
64
+ deprecated?: boolean;
65
+ successful?: boolean;
66
+ createdAt?: string;
67
+ page?: number;
68
+ limit?: number;
69
+ }
61
70
  export declare class TrackOperationWithPayment implements ITrackOperation {
62
71
  name: string;
63
72
  category: string;
@@ -1 +1 @@
1
- {"version":3,"file":"track.d.ts","sourceRoot":"","sources":["../../src/types/track.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,2BAA2B,CAAC;AACxF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAE9E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAG1C,MAAM,MAAM,SAAS,GAClB,cAAc,GACd,sBAAsB,GACtB,gBAAgB,GAChB,SAAS,GACT,kBAAkB,GAClB,SAAS,CAAC;AAEb,MAAM,WAAW,eAAe;IAE/B,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,SAAS,CAAC;IAEhB,QAAQ,EAAE,cAAc,CAAC;IAEzB,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,CAAC;CACzC;AAED,MAAM,WAAW,kBAAkB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,YAAY,CAAC;IACtB,GAAG,EAAE,IAAI,CAAC;IACV,UAAU,EAAE,OAAO,CAAC;IACpB,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;IAEM,QAAQ;QACd,qBAAqB;QACrB,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACpB,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,+CAA+C,EAAE,CAAC;QACpF,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC7B,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,2DAA2D,EAAE,CAAC;QAChG,CAAC;QACD,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;IACvC,CAAC;IAED,KAAK,CAAC,iBAAiB;QACtB,IAAI,IAAI,CAAC,IAAI,IAAI,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnE,OAAO,MAAM,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QAC1E,CAAC;QACD,IAAI,IAAI,CAAC,iBAAiB,IAAI,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC;YACrE,OAAO,MAAM,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QACjF,CAAC;QACD,OAAO,IAAI,CAAC;IACb,CAAC;CACD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cheqd/studio",
3
- "version": "3.9.0-develop.2",
3
+ "version": "3.9.0-develop.3",
4
4
  "description": "cheqd Studio Backend",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",