@lumeweb/pinner 0.1.12 → 0.1.14

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 (93) hide show
  1. package/dist/esm/adapters/pinata/index.d.ts +1 -1
  2. package/dist/esm/adapters/pinata/shared/index.d.ts +1 -1
  3. package/dist/esm/adapters/pinata/shared/types.d.ts +41 -1
  4. package/dist/esm/adapters/pinata/v2/adapter-interface.d.ts +4 -1
  5. package/dist/esm/adapters/pinata/v2/index.d.ts +1 -1
  6. package/dist/esm/adapters/pinata/v2/types.d.ts +58 -1
  7. package/dist/esm/api/client.d.ts +21 -0
  8. package/dist/esm/api/client.js +54 -0
  9. package/dist/esm/api/client.js.map +1 -0
  10. package/dist/esm/api/generated/content/content.msw.js +30 -37
  11. package/dist/esm/api/generated/content/content.msw.js.map +1 -1
  12. package/dist/esm/api/generated/dns/dns.msw.js +30 -44
  13. package/dist/esm/api/generated/dns/dns.msw.js.map +1 -1
  14. package/dist/esm/api/generated/files/files.msw.js +30 -33
  15. package/dist/esm/api/generated/files/files.msw.js.map +1 -1
  16. package/dist/esm/api/generated/gateway/gateway.msw.js +30 -32
  17. package/dist/esm/api/generated/gateway/gateway.msw.js.map +1 -1
  18. package/dist/esm/api/generated/internal/internal.msw.js +30 -31
  19. package/dist/esm/api/generated/internal/internal.msw.js.map +1 -1
  20. package/dist/esm/api/generated/ipns/ipns.msw.js +30 -37
  21. package/dist/esm/api/generated/ipns/ipns.msw.js.map +1 -1
  22. package/dist/esm/api/generated/pinning/pinning.msw.js +30 -35
  23. package/dist/esm/api/generated/pinning/pinning.msw.js.map +1 -1
  24. package/dist/esm/api/generated/schemas/blockMetaResponse.d.ts +29 -29
  25. package/dist/esm/api/generated/schemas/component.d.ts +29 -29
  26. package/dist/esm/api/generated/schemas/errorResponse.d.ts +29 -29
  27. package/dist/esm/api/generated/schemas/fileManagerItem.d.ts +29 -29
  28. package/dist/esm/api/generated/schemas/gatewayWebsiteResponse.d.ts +29 -29
  29. package/dist/esm/api/generated/schemas/gatewayWebsiteStatusResponse.d.ts +29 -29
  30. package/dist/esm/api/generated/schemas/getBlockMetaBatchRequest.d.ts +42 -0
  31. package/dist/esm/api/generated/schemas/iPNSKeyListResponse.d.ts +29 -29
  32. package/dist/esm/api/generated/schemas/iPNSKeyRequest.d.ts +29 -29
  33. package/dist/esm/api/generated/schemas/iPNSKeyResponse.d.ts +29 -29
  34. package/dist/esm/api/generated/schemas/iPNSPublishRequest.d.ts +29 -29
  35. package/dist/esm/api/generated/schemas/iPNSPublishResponse.d.ts +29 -29
  36. package/dist/esm/api/generated/schemas/iPNSRepublishResponse.d.ts +29 -29
  37. package/dist/esm/api/generated/schemas/iPNSResolveResponse.d.ts +29 -29
  38. package/dist/esm/api/generated/schemas/infoResponse.d.ts +29 -29
  39. package/dist/esm/api/generated/schemas/pinRequestMeta.d.ts +29 -29
  40. package/dist/esm/api/generated/schemas/pinStatusResponseInfo.d.ts +29 -29
  41. package/dist/esm/api/generated/schemas/postApiUploadBody.d.ts +42 -0
  42. package/dist/esm/api/generated/schemas/postUploadResponse.d.ts +29 -29
  43. package/dist/esm/api/generated/schemas/recordResponse.d.ts +29 -29
  44. package/dist/esm/api/generated/schemas/recordResult.d.ts +29 -29
  45. package/dist/esm/api/generated/schemas/sSLStatusInfo.d.ts +29 -29
  46. package/dist/esm/api/generated/schemas/sSLStatusUpdateRequest.d.ts +44 -0
  47. package/dist/esm/api/generated/schemas/uploadResultResponse.d.ts +29 -29
  48. package/dist/esm/api/generated/schemas/validationResponse.d.ts +29 -29
  49. package/dist/esm/api/generated/schemas/websiteConfigResponse.d.ts +29 -29
  50. package/dist/esm/api/generated/schemas/websiteRequest.d.ts +29 -29
  51. package/dist/esm/api/generated/schemas/websiteUpdateRequest.d.ts +29 -29
  52. package/dist/esm/api/generated/schemas/websiteValidateResponse.d.ts +29 -29
  53. package/dist/esm/api/generated/schemas/zoneListResponse.d.ts +29 -29
  54. package/dist/esm/api/generated/schemas/zoneResponse.d.ts +29 -29
  55. package/dist/esm/api/generated/tus/tus.msw.js +30 -34
  56. package/dist/esm/api/generated/tus/tus.msw.js.map +1 -1
  57. package/dist/esm/api/generated/websites/websites.msw.js +30 -38
  58. package/dist/esm/api/generated/websites/websites.msw.js.map +1 -1
  59. package/dist/esm/api/ipns.d.ts +47 -6
  60. package/dist/esm/api/ipns.js +46 -39
  61. package/dist/esm/api/ipns.js.map +1 -1
  62. package/dist/esm/api/websites.d.ts +57 -6
  63. package/dist/esm/api/websites.js +57 -41
  64. package/dist/esm/api/websites.js.map +1 -1
  65. package/dist/esm/auth/manager.d.ts +29 -0
  66. package/dist/esm/auth/manager.js +30 -0
  67. package/dist/esm/auth/manager.js.map +1 -0
  68. package/dist/esm/blockstore/index.d.ts +1 -1
  69. package/dist/esm/blockstore/unstorage-base.d.ts +6 -1
  70. package/dist/esm/blockstore/unstorage-base.js +9 -6
  71. package/dist/esm/blockstore/unstorage-base.js.map +1 -1
  72. package/dist/esm/config.d.ts +13 -1
  73. package/dist/esm/index.d.ts +31 -6
  74. package/dist/esm/pin/client.js +7 -7
  75. package/dist/esm/pin/client.js.map +1 -1
  76. package/dist/esm/pinner.d.ts +22 -0
  77. package/dist/esm/pinner.js +28 -4
  78. package/dist/esm/pinner.js.map +1 -1
  79. package/dist/esm/types/pin.d.ts +42 -0
  80. package/dist/esm/upload/base-upload.js +3 -1
  81. package/dist/esm/upload/base-upload.js.map +1 -1
  82. package/dist/esm/upload/builder.d.ts +1 -1
  83. package/dist/esm/upload/car.d.ts +18 -0
  84. package/dist/esm/upload/car.js.map +1 -1
  85. package/dist/esm/upload/manager.d.ts +32 -1
  86. package/dist/esm/upload/manager.js +36 -4
  87. package/dist/esm/upload/manager.js.map +1 -1
  88. package/dist/esm/upload/normalize.js.map +1 -1
  89. package/dist/esm/upload/tus-upload.js +3 -3
  90. package/dist/esm/upload/tus-upload.js.map +1 -1
  91. package/dist/esm/upload/xhr-upload.js +3 -1
  92. package/dist/esm/upload/xhr-upload.js.map +1 -1
  93. package/package.json +19 -19
@@ -1 +1 @@
1
- {"version":3,"file":"ipns.msw.js","names":[],"sources":["../../../../../src/api/generated/ipns/ipns.msw.ts"],"sourcesContent":["/**\n * Generated by orval v8.10.0 🍺\n * Do not edit manually.\n * Portal IPFS Plugin API\n *\n## Portal IPFS Plugin API\n\nA comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.\n\n### IPFS Pinning Service API Compatibility\n\nThis API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.\n\n### Features\n\n- **Pinning**: Add, list, update, and remove pinned content\n- **Content**: Upload files, retrieve IPFS content, and manage metadata\n- **IPNS**: Manage IPNS keys and publish content\n- **Files**: Browse and manage pinned files with directory navigation\n- **Websites**: Create and manage website hosting with DNS and SSL automation\n\n### Authentication\n\nAll API endpoints require authentication using JWT tokens obtained from the Portal authentication service.\n\n### Rate Limiting\n\nAPI requests are rate-limited based on user account tier. See Portal documentation for current limits.\n\n### Documentation\n\nFor detailed API usage examples and integration guides, visit the Portal documentation website.\n\n * OpenAPI spec version: 1.0.0\n */\nimport {\n faker\n} from '@faker-js/faker';\n\nimport {\n HttpResponse,\n delay,\n http\n} from 'msw';\nimport type {\n RequestHandlerOptions\n} from 'msw';\n\nimport type {\n ErrorResponse,\n IPNSKeyListResponseResponse,\n IPNSKeyResponse,\n IPNSPublishResponse,\n IPNSRepublishResponse,\n IPNSResolveResponse\n} from '../schemas';\n\n\nexport const getGetApiIpnsKeysResponseMock = (overrideResponse: Partial<Extract<IPNSKeyListResponseResponse, object>> = {}): IPNSKeyListResponseResponse => ({data: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({created: faker.date.past().toISOString().slice(0, 19) + 'Z', id: faker.number.int(), ipns_name: faker.string.alpha({length: {min: 10, max: 20}}), last_published_at: faker.helpers.arrayElement([faker.date.past().toISOString().slice(0, 19) + 'Z', undefined]), name: faker.string.alpha({length: {min: 10, max: 20}}), peer_id: faker.string.alpha({length: {min: 10, max: 20}}), value: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined])})), total: faker.number.int(), ...overrideResponse})\n\nexport const getPostApiIpnsKeysResponseMock = (overrideResponse: Partial<Extract<ErrorResponse | IPNSKeyResponse, object>> = {}): ErrorResponse | IPNSKeyResponse => (faker.helpers.arrayElement([{error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}, {created: faker.date.past().toISOString().slice(0, 19) + 'Z', id: faker.number.int(), ipns_name: faker.string.alpha({length: {min: 10, max: 20}}), last_published_at: faker.helpers.arrayElement([faker.date.past().toISOString().slice(0, 19) + 'Z', undefined]), name: faker.string.alpha({length: {min: 10, max: 20}}), peer_id: faker.string.alpha({length: {min: 10, max: 20}}), value: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), ...overrideResponse}]))\n\nexport const getDeleteApiIpnsKeysIdResponseMock = (overrideResponse: Partial<Extract<ErrorResponse, object>> = {}): ErrorResponse => ({error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getGetApiIpnsKeysIdResponseMock = (overrideResponse: Partial<Extract<IPNSKeyResponse, object>> = {}): IPNSKeyResponse => ({created: faker.date.past().toISOString().slice(0, 19) + 'Z', id: faker.number.int(), ipns_name: faker.string.alpha({length: {min: 10, max: 20}}), last_published_at: faker.helpers.arrayElement([faker.date.past().toISOString().slice(0, 19) + 'Z', undefined]), name: faker.string.alpha({length: {min: 10, max: 20}}), peer_id: faker.string.alpha({length: {min: 10, max: 20}}), value: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), ...overrideResponse})\n\nexport const getPostApiIpnsKeysIdRepublishResponseMock = (overrideResponse: Partial<Extract<IPNSRepublishResponse, object>> = {}): IPNSRepublishResponse => ({count: faker.number.int(), message: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getPostApiIpnsPublishResponseMock = (overrideResponse: Partial<Extract<IPNSPublishResponse, object>> = {}): IPNSPublishResponse => ({name: faker.string.alpha({length: {min: 10, max: 20}}), published: faker.date.past().toISOString().slice(0, 19) + 'Z', sequence: faker.number.int(), validity: faker.date.past().toISOString().slice(0, 19) + 'Z', value: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getGetApiIpnsResolveNameResponseMock = (overrideResponse: Partial<Extract<IPNSResolveResponse, object>> = {}): IPNSResolveResponse => ({expired: faker.datatype.boolean(), expires: faker.date.past().toISOString().slice(0, 19) + 'Z', name: faker.string.alpha({length: {min: 10, max: 20}}), path: faker.string.alpha({length: {min: 10, max: 20}}), sequence: faker.number.int(), value: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\n\nexport const getGetApiIpnsKeysMockHandler = (overrideResponse?: IPNSKeyListResponseResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IPNSKeyListResponseResponse> | IPNSKeyListResponseResponse), options?: RequestHandlerOptions) => {\n return http.get('*/api/ipns/keys', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetApiIpnsKeysResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostApiIpnsKeysMockHandler = (overrideResponse?: ErrorResponse | IPNSKeyResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | IPNSKeyResponse> | ErrorResponse | IPNSKeyResponse), options?: RequestHandlerOptions) => {\n return http.post('*/api/ipns/keys', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostApiIpnsKeysResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getDeleteApiIpnsKeysIdMockHandler = (overrideResponse?: ErrorResponse | void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void), options?: RequestHandlerOptions) => {\n return http.delete('*/api/ipns/keys/:id', async (info: Parameters<Parameters<typeof http.delete>[1]>[0]) => {await delay(0);\n\n const resolvedBody = overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getDeleteApiIpnsKeysIdResponseMock();\n return resolvedBody === undefined\n ? new HttpResponse(null, { status: 204 })\n : HttpResponse.json(resolvedBody, { status: 200 })\n }, options)\n}\n\nexport const getGetApiIpnsKeysIdMockHandler = (overrideResponse?: IPNSKeyResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IPNSKeyResponse> | IPNSKeyResponse), options?: RequestHandlerOptions) => {\n return http.get('*/api/ipns/keys/:id', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetApiIpnsKeysIdResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostApiIpnsKeysIdRepublishMockHandler = (overrideResponse?: IPNSRepublishResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<IPNSRepublishResponse> | IPNSRepublishResponse), options?: RequestHandlerOptions) => {\n return http.post('*/api/ipns/keys/:id/republish', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostApiIpnsKeysIdRepublishResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostApiIpnsPublishMockHandler = (overrideResponse?: IPNSPublishResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<IPNSPublishResponse> | IPNSPublishResponse), options?: RequestHandlerOptions) => {\n return http.post('*/api/ipns/publish', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostApiIpnsPublishResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getGetApiIpnsResolveNameMockHandler = (overrideResponse?: IPNSResolveResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IPNSResolveResponse> | IPNSResolveResponse), options?: RequestHandlerOptions) => {\n return http.get('*/api/ipns/resolve/:name', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetApiIpnsResolveNameResponseMock(),\n { status: 200\n })\n }, options)\n}\nexport const getIpnsMock = () => [\n getGetApiIpnsKeysMockHandler(),\n getPostApiIpnsKeysMockHandler(),\n getDeleteApiIpnsKeysIdMockHandler(),\n getGetApiIpnsKeysIdMockHandler(),\n getPostApiIpnsKeysIdRepublishMockHandler(),\n getPostApiIpnsPublishMockHandler(),\n getGetApiIpnsResolveNameMockHandler()\n]\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,MAAa,iCAAiC,mBAA0E,EAAE,MAAmC;CAAC,MAAM,MAAM,KAAK,EAAE,QAAQ,MAAM,OAAO,IAAI;EAAC,KAAK;EAAG,KAAK;EAAG,CAAC,EAAE,GAAG,GAAG,MAAM,IAAI,EAAE,CAAC,WAAW;EAAC,SAAS,MAAM,KAAK,MAAM,CAAC,aAAa,CAAC,MAAM,GAAG,GAAG,GAAG;EAAK,IAAI,MAAM,OAAO,KAAK;EAAE,WAAW,MAAM,OAAO,MAAM,EAAC,QAAQ;GAAC,KAAK;GAAI,KAAK;GAAG,EAAC,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B,aAAa,MAAM,iBAAiB,KAAK,GAAG,mBACzE,sCAAsC,EACtC,EAAE,QAAQ,KACT,CAAC;IACH,QAAQ;;AAEb,MAAa,oBAAoB;CAC/B,8BAA8B;CAC9B,+BAA+B;CAC/B,mCAAmC;CACnC,gCAAgC;CAChC,0CAA0C;CAC1C,kCAAkC;CAClC,qCAAqC;CACtC"}
1
+ {"version":3,"file":"ipns.msw.js","names":[],"sources":["../../../../../src/api/generated/ipns/ipns.msw.ts"],"sourcesContent":["/**\n * Generated by orval v8.18.0 🍺\n * Do not edit manually.\n * Portal IPFS Plugin API\n *\n * ## Portal IPFS Plugin API\n *\n * A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.\n *\n * ### IPFS Pinning Service API Compatibility\n *\n * This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.\n *\n * ### Features\n *\n * - **Pinning**: Add, list, update, and remove pinned content\n * - **Content**: Upload files, retrieve IPFS content, and manage metadata\n * - **IPNS**: Manage IPNS keys and publish content\n * - **Files**: Browse and manage pinned files with directory navigation\n * - **Websites**: Create and manage website hosting with DNS and SSL automation\n *\n * ### Authentication\n *\n * All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.\n *\n * ### Rate Limiting\n *\n * API requests are rate-limited based on user account tier. See Portal documentation for current limits.\n *\n * ### Documentation\n *\n * For detailed API usage examples and integration guides, visit the Portal documentation website.\n *\n * OpenAPI spec version: 1.0.0\n */\nimport {\n faker\n} from '@faker-js/faker';\n\nimport {\n HttpResponse,\n http\n} from 'msw';\nimport type {\n RequestHandlerOptions\n} from 'msw';\n\nimport type {\n ErrorResponse,\n IPNSKeyListResponseResponse,\n IPNSKeyResponse,\n IPNSPublishResponse,\n IPNSRepublishResponse,\n IPNSResolveResponse\n} from '../schemas';\n\n\nexport const getGetApiIpnsKeysResponseMock = (overrideResponse: Partial<Extract<IPNSKeyListResponseResponse, object>> = {}): IPNSKeyListResponseResponse => ({data: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({created: faker.date.past().toISOString().slice(0, 19) + 'Z', id: faker.number.int(), ipns_name: faker.string.alpha({length: {min: 10, max: 20}}), last_published_at: faker.helpers.arrayElement([faker.date.past().toISOString().slice(0, 19) + 'Z', undefined]), name: faker.string.alpha({length: {min: 10, max: 20}}), peer_id: faker.string.alpha({length: {min: 10, max: 20}}), value: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined])})), total: faker.number.int(), ...overrideResponse})\n\nexport const getPostApiIpnsKeysResponseMock = (overrideResponse: Partial<Extract<ErrorResponse | IPNSKeyResponse, object>> = {}): ErrorResponse | IPNSKeyResponse => (faker.helpers.arrayElement([{error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}, {created: faker.date.past().toISOString().slice(0, 19) + 'Z', id: faker.number.int(), ipns_name: faker.string.alpha({length: {min: 10, max: 20}}), last_published_at: faker.helpers.arrayElement([faker.date.past().toISOString().slice(0, 19) + 'Z', undefined]), name: faker.string.alpha({length: {min: 10, max: 20}}), peer_id: faker.string.alpha({length: {min: 10, max: 20}}), value: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), ...overrideResponse}]))\n\nexport const getDeleteApiIpnsKeysIdResponseMock = (overrideResponse: Partial<Extract<ErrorResponse, object>> = {}): ErrorResponse => ({error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getGetApiIpnsKeysIdResponseMock = (overrideResponse: Partial<Extract<IPNSKeyResponse, object>> = {}): IPNSKeyResponse => ({created: faker.date.past().toISOString().slice(0, 19) + 'Z', id: faker.number.int(), ipns_name: faker.string.alpha({length: {min: 10, max: 20}}), last_published_at: faker.helpers.arrayElement([faker.date.past().toISOString().slice(0, 19) + 'Z', undefined]), name: faker.string.alpha({length: {min: 10, max: 20}}), peer_id: faker.string.alpha({length: {min: 10, max: 20}}), value: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), ...overrideResponse})\n\nexport const getPostApiIpnsKeysIdRepublishResponseMock = (overrideResponse: Partial<Extract<IPNSRepublishResponse, object>> = {}): IPNSRepublishResponse => ({count: faker.number.int(), message: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getPostApiIpnsPublishResponseMock = (overrideResponse: Partial<Extract<IPNSPublishResponse, object>> = {}): IPNSPublishResponse => ({name: faker.string.alpha({length: {min: 10, max: 20}}), published: faker.date.past().toISOString().slice(0, 19) + 'Z', sequence: faker.number.int(), validity: faker.date.past().toISOString().slice(0, 19) + 'Z', value: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getGetApiIpnsResolveNameResponseMock = (overrideResponse: Partial<Extract<IPNSResolveResponse, object>> = {}): IPNSResolveResponse => ({expired: faker.datatype.boolean(), expires: faker.date.past().toISOString().slice(0, 19) + 'Z', name: faker.string.alpha({length: {min: 10, max: 20}}), path: faker.string.alpha({length: {min: 10, max: 20}}), sequence: faker.number.int(), value: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\n\nexport const getGetApiIpnsKeysMockHandler = (overrideResponse?: IPNSKeyListResponseResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IPNSKeyListResponseResponse> | IPNSKeyListResponseResponse), options?: RequestHandlerOptions) => {\n return http.get('*/api/ipns/keys', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetApiIpnsKeysResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostApiIpnsKeysMockHandler = (overrideResponse?: ErrorResponse | IPNSKeyResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | IPNSKeyResponse> | ErrorResponse | IPNSKeyResponse), options?: RequestHandlerOptions) => {\n return http.post('*/api/ipns/keys', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostApiIpnsKeysResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getDeleteApiIpnsKeysIdMockHandler = (overrideResponse?: ErrorResponse | void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void), options?: RequestHandlerOptions) => {\n return http.delete('*/api/ipns/keys/:id', async (info: Parameters<Parameters<typeof http.delete>[1]>[0]) => {\n\n const resolvedBody = overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getDeleteApiIpnsKeysIdResponseMock();\n return resolvedBody === undefined\n ? new HttpResponse(null, { status: 204 })\n : HttpResponse.json(resolvedBody, { status: 200 })\n }, options)\n}\n\nexport const getGetApiIpnsKeysIdMockHandler = (overrideResponse?: IPNSKeyResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IPNSKeyResponse> | IPNSKeyResponse), options?: RequestHandlerOptions) => {\n return http.get('*/api/ipns/keys/:id', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetApiIpnsKeysIdResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostApiIpnsKeysIdRepublishMockHandler = (overrideResponse?: IPNSRepublishResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<IPNSRepublishResponse> | IPNSRepublishResponse), options?: RequestHandlerOptions) => {\n return http.post('*/api/ipns/keys/:id/republish', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostApiIpnsKeysIdRepublishResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostApiIpnsPublishMockHandler = (overrideResponse?: IPNSPublishResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<IPNSPublishResponse> | IPNSPublishResponse), options?: RequestHandlerOptions) => {\n return http.post('*/api/ipns/publish', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostApiIpnsPublishResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getGetApiIpnsResolveNameMockHandler = (overrideResponse?: IPNSResolveResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IPNSResolveResponse> | IPNSResolveResponse), options?: RequestHandlerOptions) => {\n return http.get('*/api/ipns/resolve/:name', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetApiIpnsResolveNameResponseMock(),\n { status: 200\n })\n }, options)\n}\nexport const getIpnsMock = () => [\n getGetApiIpnsKeysMockHandler(),\n getPostApiIpnsKeysMockHandler(),\n getDeleteApiIpnsKeysIdMockHandler(),\n getGetApiIpnsKeysIdMockHandler(),\n getPostApiIpnsKeysIdRepublishMockHandler(),\n getPostApiIpnsPublishMockHandler(),\n getGetApiIpnsResolveNameMockHandler()\n]\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,MAAa,iCAAiC,mBAA0E,EAAE,MAAmC;CAAC,MAAM,MAAM,KAAK,EAAE,QAAQ,MAAM,OAAO,IAAI;EAAC,KAAK;EAAG,KAAK;EAAG,CAAC,EAAE,GAAG,GAAG,MAAM,IAAI,EAAE,CAAC,WAAW;EAAC,SAAS,MAAM,KAAK,MAAM,CAA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B,KAAK,GAAG,mBACzE,sCAAsC,EACtC,EAAE,QAAQ,KACT,CAAC;IACH,QAAQ;;AAEb,MAAa,oBAAoB;CAC/B,8BAA8B;CAC9B,+BAA+B;CAC/B,mCAAmC;CACnC,gCAAgC;CAChC,0CAA0C;CAC1C,kCAAkC;CAClC,qCAAqC;CACtC"}
@@ -1,40 +1,40 @@
1
1
  import { faker } from "@faker-js/faker";
2
- import { HttpResponse, delay, http } from "msw";
2
+ import { HttpResponse, http } from "msw";
3
3
 
4
4
  //#region src/api/generated/pinning/pinning.msw.ts
5
5
  /**
6
- * Generated by orval v8.10.0 🍺
6
+ * Generated by orval v8.18.0 🍺
7
7
  * Do not edit manually.
8
8
  * Portal IPFS Plugin API
9
9
  *
10
- ## Portal IPFS Plugin API
11
-
12
- A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
13
-
14
- ### IPFS Pinning Service API Compatibility
15
-
16
- This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
17
-
18
- ### Features
19
-
20
- - **Pinning**: Add, list, update, and remove pinned content
21
- - **Content**: Upload files, retrieve IPFS content, and manage metadata
22
- - **IPNS**: Manage IPNS keys and publish content
23
- - **Files**: Browse and manage pinned files with directory navigation
24
- - **Websites**: Create and manage website hosting with DNS and SSL automation
25
-
26
- ### Authentication
27
-
28
- All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
29
-
30
- ### Rate Limiting
31
-
32
- API requests are rate-limited based on user account tier. See Portal documentation for current limits.
33
-
34
- ### Documentation
35
-
36
- For detailed API usage examples and integration guides, visit the Portal documentation website.
37
-
10
+ * ## Portal IPFS Plugin API
11
+ *
12
+ * A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
13
+ *
14
+ * ### IPFS Pinning Service API Compatibility
15
+ *
16
+ * This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
17
+ *
18
+ * ### Features
19
+ *
20
+ * - **Pinning**: Add, list, update, and remove pinned content
21
+ * - **Content**: Upload files, retrieve IPFS content, and manage metadata
22
+ * - **IPNS**: Manage IPNS keys and publish content
23
+ * - **Files**: Browse and manage pinned files with directory navigation
24
+ * - **Websites**: Create and manage website hosting with DNS and SSL automation
25
+ *
26
+ * ### Authentication
27
+ *
28
+ * All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
29
+ *
30
+ * ### Rate Limiting
31
+ *
32
+ * API requests are rate-limited based on user account tier. See Portal documentation for current limits.
33
+ *
34
+ * ### Documentation
35
+ *
36
+ * For detailed API usage examples and integration guides, visit the Portal documentation website.
37
+ *
38
38
  * OpenAPI spec version: 1.0.0
39
39
  */
40
40
  const getGetPinsResponseMock = (overrideResponse = {}) => ({
@@ -240,32 +240,27 @@ const getPostPinsRequestidResponseMock = (overrideResponse = {}) => faker.helper
240
240
  }]);
241
241
  const getGetPinsMockHandler = (overrideResponse, options) => {
242
242
  return http.get("*/pins", async (info) => {
243
- await delay(0);
244
243
  return HttpResponse.json(overrideResponse !== void 0 ? typeof overrideResponse === "function" ? await overrideResponse(info) : overrideResponse : getGetPinsResponseMock(), { status: 200 });
245
244
  }, options);
246
245
  };
247
246
  const getPostPinsMockHandler = (overrideResponse, options) => {
248
247
  return http.post("*/pins", async (info) => {
249
- await delay(0);
250
248
  return HttpResponse.json(overrideResponse !== void 0 ? typeof overrideResponse === "function" ? await overrideResponse(info) : overrideResponse : getPostPinsResponseMock(), { status: 200 });
251
249
  }, options);
252
250
  };
253
251
  const getDeletePinsRequestidMockHandler = (overrideResponse, options) => {
254
252
  return http.delete("*/pins/:requestid", async (info) => {
255
- await delay(0);
256
253
  const resolvedBody = overrideResponse !== void 0 ? typeof overrideResponse === "function" ? await overrideResponse(info) : overrideResponse : getDeletePinsRequestidResponseMock();
257
254
  return resolvedBody === void 0 ? new HttpResponse(null, { status: 202 }) : HttpResponse.json(resolvedBody, { status: 200 });
258
255
  }, options);
259
256
  };
260
257
  const getGetPinsRequestidMockHandler = (overrideResponse, options) => {
261
258
  return http.get("*/pins/:requestid", async (info) => {
262
- await delay(0);
263
259
  return HttpResponse.json(overrideResponse !== void 0 ? typeof overrideResponse === "function" ? await overrideResponse(info) : overrideResponse : getGetPinsRequestidResponseMock(), { status: 200 });
264
260
  }, options);
265
261
  };
266
262
  const getPostPinsRequestidMockHandler = (overrideResponse, options) => {
267
263
  return http.post("*/pins/:requestid", async (info) => {
268
- await delay(0);
269
264
  return HttpResponse.json(overrideResponse !== void 0 ? typeof overrideResponse === "function" ? await overrideResponse(info) : overrideResponse : getPostPinsRequestidResponseMock(), { status: 200 });
270
265
  }, options);
271
266
  };
@@ -1 +1 @@
1
- {"version":3,"file":"pinning.msw.js","names":[],"sources":["../../../../../src/api/generated/pinning/pinning.msw.ts"],"sourcesContent":["/**\n * Generated by orval v8.10.0 🍺\n * Do not edit manually.\n * Portal IPFS Plugin API\n *\n## Portal IPFS Plugin API\n\nA comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.\n\n### IPFS Pinning Service API Compatibility\n\nThis API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.\n\n### Features\n\n- **Pinning**: Add, list, update, and remove pinned content\n- **Content**: Upload files, retrieve IPFS content, and manage metadata\n- **IPNS**: Manage IPNS keys and publish content\n- **Files**: Browse and manage pinned files with directory navigation\n- **Websites**: Create and manage website hosting with DNS and SSL automation\n\n### Authentication\n\nAll API endpoints require authentication using JWT tokens obtained from the Portal authentication service.\n\n### Rate Limiting\n\nAPI requests are rate-limited based on user account tier. See Portal documentation for current limits.\n\n### Documentation\n\nFor detailed API usage examples and integration guides, visit the Portal documentation website.\n\n * OpenAPI spec version: 1.0.0\n */\nimport {\n faker\n} from '@faker-js/faker';\n\nimport {\n HttpResponse,\n delay,\n http\n} from 'msw';\nimport type {\n RequestHandlerOptions\n} from 'msw';\n\nimport type {\n ErrorResponse,\n PinResultsResponse,\n PinStatusResponse\n} from '../schemas';\n\n\nexport const getGetPinsResponseMock = (overrideResponse: Partial<Extract<PinResultsResponse, object>> = {}): PinResultsResponse => ({count: faker.number.int(), results: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({created: faker.date.past().toISOString().slice(0, 19) + 'Z', delegates: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({})))), info: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), pin: {cid: faker.string.alpha({length: {min: 10, max: 20}}), meta: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), name: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), origins: faker.helpers.arrayElement([Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (faker.string.alpha({length: {min: 10, max: 20}}))), undefined])}, requestid: faker.string.alpha({length: {min: 10, max: 20}}), status: faker.string.alpha({length: {min: 10, max: 20}})})), ...overrideResponse})\n\nexport const getPostPinsResponseMock = (overrideResponse: Partial<Extract<ErrorResponse | PinStatusResponse, object>> = {}): ErrorResponse | PinStatusResponse => (faker.helpers.arrayElement([{error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}, {created: faker.date.past().toISOString().slice(0, 19) + 'Z', delegates: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({})))), info: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), pin: {cid: faker.string.alpha({length: {min: 10, max: 20}}), meta: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), name: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), origins: faker.helpers.arrayElement([Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (faker.string.alpha({length: {min: 10, max: 20}}))), undefined])}, requestid: faker.string.alpha({length: {min: 10, max: 20}}), status: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}]))\n\nexport const getDeletePinsRequestidResponseMock = (overrideResponse: Partial<Extract<ErrorResponse, object>> = {}): ErrorResponse => ({error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getGetPinsRequestidResponseMock = (overrideResponse: Partial<Extract<PinStatusResponse, object>> = {}): PinStatusResponse => ({created: faker.date.past().toISOString().slice(0, 19) + 'Z', delegates: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({})))), info: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), pin: {cid: faker.string.alpha({length: {min: 10, max: 20}}), meta: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), name: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), origins: faker.helpers.arrayElement([Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (faker.string.alpha({length: {min: 10, max: 20}}))), undefined])}, requestid: faker.string.alpha({length: {min: 10, max: 20}}), status: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getPostPinsRequestidResponseMock = (overrideResponse: Partial<Extract<ErrorResponse | PinStatusResponse, object>> = {}): ErrorResponse | PinStatusResponse => (faker.helpers.arrayElement([{error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}, {created: faker.date.past().toISOString().slice(0, 19) + 'Z', delegates: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({})))), info: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), pin: {cid: faker.string.alpha({length: {min: 10, max: 20}}), meta: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), name: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), origins: faker.helpers.arrayElement([Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (faker.string.alpha({length: {min: 10, max: 20}}))), undefined])}, requestid: faker.string.alpha({length: {min: 10, max: 20}}), status: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}]))\n\n\nexport const getGetPinsMockHandler = (overrideResponse?: PinResultsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PinResultsResponse> | PinResultsResponse), options?: RequestHandlerOptions) => {\n return http.get('*/pins', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetPinsResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostPinsMockHandler = (overrideResponse?: ErrorResponse | PinStatusResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | PinStatusResponse> | ErrorResponse | PinStatusResponse), options?: RequestHandlerOptions) => {\n return http.post('*/pins', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostPinsResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getDeletePinsRequestidMockHandler = (overrideResponse?: ErrorResponse | void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void), options?: RequestHandlerOptions) => {\n return http.delete('*/pins/:requestid', async (info: Parameters<Parameters<typeof http.delete>[1]>[0]) => {await delay(0);\n\n const resolvedBody = overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getDeletePinsRequestidResponseMock();\n return resolvedBody === undefined\n ? new HttpResponse(null, { status: 202 })\n : HttpResponse.json(resolvedBody, { status: 200 })\n }, options)\n}\n\nexport const getGetPinsRequestidMockHandler = (overrideResponse?: PinStatusResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PinStatusResponse> | PinStatusResponse), options?: RequestHandlerOptions) => {\n return http.get('*/pins/:requestid', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetPinsRequestidResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostPinsRequestidMockHandler = (overrideResponse?: ErrorResponse | PinStatusResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | PinStatusResponse> | ErrorResponse | PinStatusResponse), options?: RequestHandlerOptions) => {\n return http.post('*/pins/:requestid', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {await delay(0);\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostPinsRequestidResponseMock(),\n { status: 200\n })\n }, options)\n}\nexport const getPinningMock = () => [\n getGetPinsMockHandler(),\n getPostPinsMockH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AAO,SAAwD;AAAC,QAAM,MAAM,EAAE;AAGjH,SAAO,aAAa,KAAK,qBAAqB,SAC3C,OAAO,qBAAqB,aAAa,MAAM,iBAAiB,KAAK,GAAG,mBACzE,iCAAiC,EACjC,EAAE,QAAQ,KACT,CAAC;IACH,QAAQ;;AAGb,MAAa,mCAAmC,kBAAmM,YAAoC;AACrR,QAAO,KAAK,KAAK,qBAAqB,OAAO,SAAyD;AAAC,QAAM,MAAM,EAAE;AAGnH,SAAO,aAAa,KAAK,qBAAqB,SAC3C,OAAO,qBAAqB,aAAa,MAAM,iBAAiB,KAAK,GAAG,mBACzE,kCAAkC,EAClC,EAAE,QAAQ,KACT,CAAC;IACH,QAAQ;;AAEb,MAAa,uBAAuB;CAClC,uBAAuB;CACvB,wBAAwB;CACxB,mCAAmC;CACnC,gCAAgC;CAChC,iCAAiC;CAClC"}
1
+ {"version":3,"file":"pinning.msw.js","names":[],"sources":["../../../../../src/api/generated/pinning/pinning.msw.ts"],"sourcesContent":["/**\n * Generated by orval v8.18.0 🍺\n * Do not edit manually.\n * Portal IPFS Plugin API\n *\n * ## Portal IPFS Plugin API\n *\n * A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.\n *\n * ### IPFS Pinning Service API Compatibility\n *\n * This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.\n *\n * ### Features\n *\n * - **Pinning**: Add, list, update, and remove pinned content\n * - **Content**: Upload files, retrieve IPFS content, and manage metadata\n * - **IPNS**: Manage IPNS keys and publish content\n * - **Files**: Browse and manage pinned files with directory navigation\n * - **Websites**: Create and manage website hosting with DNS and SSL automation\n *\n * ### Authentication\n *\n * All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.\n *\n * ### Rate Limiting\n *\n * API requests are rate-limited based on user account tier. See Portal documentation for current limits.\n *\n * ### Documentation\n *\n * For detailed API usage examples and integration guides, visit the Portal documentation website.\n *\n * OpenAPI spec version: 1.0.0\n */\nimport {\n faker\n} from '@faker-js/faker';\n\nimport {\n HttpResponse,\n http\n} from 'msw';\nimport type {\n RequestHandlerOptions\n} from 'msw';\n\nimport type {\n ErrorResponse,\n PinResultsResponse,\n PinStatusResponse\n} from '../schemas';\n\n\nexport const getGetPinsResponseMock = (overrideResponse: Partial<Extract<PinResultsResponse, object>> = {}): PinResultsResponse => ({count: faker.number.int(), results: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({created: faker.date.past().toISOString().slice(0, 19) + 'Z', delegates: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({})))), info: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), pin: {cid: faker.string.alpha({length: {min: 10, max: 20}}), meta: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), name: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), origins: faker.helpers.arrayElement([Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (faker.string.alpha({length: {min: 10, max: 20}}))), undefined])}, requestid: faker.string.alpha({length: {min: 10, max: 20}}), status: faker.string.alpha({length: {min: 10, max: 20}})})), ...overrideResponse})\n\nexport const getPostPinsResponseMock = (overrideResponse: Partial<Extract<ErrorResponse | PinStatusResponse, object>> = {}): ErrorResponse | PinStatusResponse => (faker.helpers.arrayElement([{error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}, {created: faker.date.past().toISOString().slice(0, 19) + 'Z', delegates: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({})))), info: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), pin: {cid: faker.string.alpha({length: {min: 10, max: 20}}), meta: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), name: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), origins: faker.helpers.arrayElement([Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (faker.string.alpha({length: {min: 10, max: 20}}))), undefined])}, requestid: faker.string.alpha({length: {min: 10, max: 20}}), status: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}]))\n\nexport const getDeletePinsRequestidResponseMock = (overrideResponse: Partial<Extract<ErrorResponse, object>> = {}): ErrorResponse => ({error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getGetPinsRequestidResponseMock = (overrideResponse: Partial<Extract<PinStatusResponse, object>> = {}): PinStatusResponse => ({created: faker.date.past().toISOString().slice(0, 19) + 'Z', delegates: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({})))), info: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), pin: {cid: faker.string.alpha({length: {min: 10, max: 20}}), meta: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), name: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), origins: faker.helpers.arrayElement([Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (faker.string.alpha({length: {min: 10, max: 20}}))), undefined])}, requestid: faker.string.alpha({length: {min: 10, max: 20}}), status: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse})\n\nexport const getPostPinsRequestidResponseMock = (overrideResponse: Partial<Extract<ErrorResponse | PinStatusResponse, object>> = {}): ErrorResponse | PinStatusResponse => (faker.helpers.arrayElement([{error: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}, {created: faker.date.past().toISOString().slice(0, 19) + 'Z', delegates: Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => ({})))), info: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), pin: {cid: faker.string.alpha({length: {min: 10, max: 20}}), meta: faker.helpers.arrayElement([{\n [faker.string.alphanumeric(5)]: faker.string.alpha({length: {min: 10, max: 20}})\n }, undefined]), name: faker.helpers.arrayElement([faker.string.alpha({length: {min: 10, max: 20}}), undefined]), origins: faker.helpers.arrayElement([Array.from({ length: faker.number.int({min: 1, max: 10}) }, (_, i) => i + 1).map(() => (faker.string.alpha({length: {min: 10, max: 20}}))), undefined])}, requestid: faker.string.alpha({length: {min: 10, max: 20}}), status: faker.string.alpha({length: {min: 10, max: 20}}), ...overrideResponse}]))\n\n\nexport const getGetPinsMockHandler = (overrideResponse?: PinResultsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PinResultsResponse> | PinResultsResponse), options?: RequestHandlerOptions) => {\n return http.get('*/pins', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetPinsResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostPinsMockHandler = (overrideResponse?: ErrorResponse | PinStatusResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | PinStatusResponse> | ErrorResponse | PinStatusResponse), options?: RequestHandlerOptions) => {\n return http.post('*/pins', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostPinsResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getDeletePinsRequestidMockHandler = (overrideResponse?: ErrorResponse | void | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ErrorResponse | void> | ErrorResponse | void), options?: RequestHandlerOptions) => {\n return http.delete('*/pins/:requestid', async (info: Parameters<Parameters<typeof http.delete>[1]>[0]) => {\n\n const resolvedBody = overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getDeletePinsRequestidResponseMock();\n return resolvedBody === undefined\n ? new HttpResponse(null, { status: 202 })\n : HttpResponse.json(resolvedBody, { status: 200 })\n }, options)\n}\n\nexport const getGetPinsRequestidMockHandler = (overrideResponse?: PinStatusResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PinStatusResponse> | PinStatusResponse), options?: RequestHandlerOptions) => {\n return http.get('*/pins/:requestid', async (info: Parameters<Parameters<typeof http.get>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getGetPinsRequestidResponseMock(),\n { status: 200\n })\n }, options)\n}\n\nexport const getPostPinsRequestidMockHandler = (overrideResponse?: ErrorResponse | PinStatusResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ErrorResponse | PinStatusResponse> | ErrorResponse | PinStatusResponse), options?: RequestHandlerOptions) => {\n return http.post('*/pins/:requestid', async (info: Parameters<Parameters<typeof http.post>[1]>[0]) => {\n\n\n return HttpResponse.json(overrideResponse !== undefined\n ? (typeof overrideResponse === \"function\" ? await overrideResponse(info) : overrideResponse)\n : getPostPinsRequestidResponseMock(),\n { status: 200\n })\n }, options)\n}\nexport const getPinningMock = () => [\n getGetPinsMockHandler(),\n getP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qB,aAAa,MAAM,iBAAiB,KAAK,GAAG,mBACzE,iCAAiC,EACjC,EAAE,QAAQ,KACT,CAAC;IACH,QAAQ;;AAGb,MAAa,mCAAmC,kBAAmM,YAAoC;AACrR,QAAO,KAAK,KAAK,qBAAqB,OAAO,SAAyD;AAGpG,SAAO,aAAa,KAAK,qBAAqB,SAC3C,OAAO,qBAAqB,aAAa,MAAM,iBAAiB,KAAK,GAAG,mBACzE,kCAAkC,EAClC,EAAE,QAAQ,KACT,CAAC;IACH,QAAQ;;AAEb,MAAa,uBAAuB;CAClC,uBAAuB;CACvB,wBAAwB;CACxB,mCAAmC;CACnC,gCAAgC;CAChC,iCAAiC;CAClC"}
@@ -1,37 +1,37 @@
1
1
  //#region src/api/generated/schemas/blockMetaResponse.d.ts
2
2
  /**
3
- * Generated by orval v8.10.0 🍺
3
+ * Generated by orval v8.18.0 🍺
4
4
  * Do not edit manually.
5
5
  * Portal IPFS Plugin API
6
6
  *
7
- ## Portal IPFS Plugin API
8
-
9
- A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
-
11
- ### IPFS Pinning Service API Compatibility
12
-
13
- This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
-
15
- ### Features
16
-
17
- - **Pinning**: Add, list, update, and remove pinned content
18
- - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
- - **IPNS**: Manage IPNS keys and publish content
20
- - **Files**: Browse and manage pinned files with directory navigation
21
- - **Websites**: Create and manage website hosting with DNS and SSL automation
22
-
23
- ### Authentication
24
-
25
- All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
-
27
- ### Rate Limiting
28
-
29
- API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
-
31
- ### Documentation
32
-
33
- For detailed API usage examples and integration guides, visit the Portal documentation website.
34
-
7
+ * ## Portal IPFS Plugin API
8
+ *
9
+ * A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+ *
11
+ * ### IPFS Pinning Service API Compatibility
12
+ *
13
+ * This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+ *
15
+ * ### Features
16
+ *
17
+ * - **Pinning**: Add, list, update, and remove pinned content
18
+ * - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ * - **IPNS**: Manage IPNS keys and publish content
20
+ * - **Files**: Browse and manage pinned files with directory navigation
21
+ * - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+ *
23
+ * ### Authentication
24
+ *
25
+ * All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+ *
27
+ * ### Rate Limiting
28
+ *
29
+ * API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+ *
31
+ * ### Documentation
32
+ *
33
+ * For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+ *
35
35
  * OpenAPI spec version: 1.0.0
36
36
  */
37
37
  interface BlockMetaResponse {
@@ -1,37 +1,37 @@
1
1
  //#region src/api/generated/schemas/component.d.ts
2
2
  /**
3
- * Generated by orval v8.10.0 🍺
3
+ * Generated by orval v8.18.0 🍺
4
4
  * Do not edit manually.
5
5
  * Portal IPFS Plugin API
6
6
  *
7
- ## Portal IPFS Plugin API
8
-
9
- A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
-
11
- ### IPFS Pinning Service API Compatibility
12
-
13
- This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
-
15
- ### Features
16
-
17
- - **Pinning**: Add, list, update, and remove pinned content
18
- - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
- - **IPNS**: Manage IPNS keys and publish content
20
- - **Files**: Browse and manage pinned files with directory navigation
21
- - **Websites**: Create and manage website hosting with DNS and SSL automation
22
-
23
- ### Authentication
24
-
25
- All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
-
27
- ### Rate Limiting
28
-
29
- API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
-
31
- ### Documentation
32
-
33
- For detailed API usage examples and integration guides, visit the Portal documentation website.
34
-
7
+ * ## Portal IPFS Plugin API
8
+ *
9
+ * A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+ *
11
+ * ### IPFS Pinning Service API Compatibility
12
+ *
13
+ * This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+ *
15
+ * ### Features
16
+ *
17
+ * - **Pinning**: Add, list, update, and remove pinned content
18
+ * - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ * - **IPNS**: Manage IPNS keys and publish content
20
+ * - **Files**: Browse and manage pinned files with directory navigation
21
+ * - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+ *
23
+ * ### Authentication
24
+ *
25
+ * All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+ *
27
+ * ### Rate Limiting
28
+ *
29
+ * API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+ *
31
+ * ### Documentation
32
+ *
33
+ * For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+ *
35
35
  * OpenAPI spec version: 1.0.0
36
36
  */
37
37
  interface Component {
@@ -1,37 +1,37 @@
1
1
  //#region src/api/generated/schemas/errorResponse.d.ts
2
2
  /**
3
- * Generated by orval v8.10.0 🍺
3
+ * Generated by orval v8.18.0 🍺
4
4
  * Do not edit manually.
5
5
  * Portal IPFS Plugin API
6
6
  *
7
- ## Portal IPFS Plugin API
8
-
9
- A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
-
11
- ### IPFS Pinning Service API Compatibility
12
-
13
- This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
-
15
- ### Features
16
-
17
- - **Pinning**: Add, list, update, and remove pinned content
18
- - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
- - **IPNS**: Manage IPNS keys and publish content
20
- - **Files**: Browse and manage pinned files with directory navigation
21
- - **Websites**: Create and manage website hosting with DNS and SSL automation
22
-
23
- ### Authentication
24
-
25
- All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
-
27
- ### Rate Limiting
28
-
29
- API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
-
31
- ### Documentation
32
-
33
- For detailed API usage examples and integration guides, visit the Portal documentation website.
34
-
7
+ * ## Portal IPFS Plugin API
8
+ *
9
+ * A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+ *
11
+ * ### IPFS Pinning Service API Compatibility
12
+ *
13
+ * This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+ *
15
+ * ### Features
16
+ *
17
+ * - **Pinning**: Add, list, update, and remove pinned content
18
+ * - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ * - **IPNS**: Manage IPNS keys and publish content
20
+ * - **Files**: Browse and manage pinned files with directory navigation
21
+ * - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+ *
23
+ * ### Authentication
24
+ *
25
+ * All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+ *
27
+ * ### Rate Limiting
28
+ *
29
+ * API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+ *
31
+ * ### Documentation
32
+ *
33
+ * For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+ *
35
35
  * OpenAPI spec version: 1.0.0
36
36
  */
37
37
  interface ErrorResponse {
@@ -1,37 +1,37 @@
1
1
  //#region src/api/generated/schemas/fileManagerItem.d.ts
2
2
  /**
3
- * Generated by orval v8.10.0 🍺
3
+ * Generated by orval v8.18.0 🍺
4
4
  * Do not edit manually.
5
5
  * Portal IPFS Plugin API
6
6
  *
7
- ## Portal IPFS Plugin API
8
-
9
- A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
-
11
- ### IPFS Pinning Service API Compatibility
12
-
13
- This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
-
15
- ### Features
16
-
17
- - **Pinning**: Add, list, update, and remove pinned content
18
- - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
- - **IPNS**: Manage IPNS keys and publish content
20
- - **Files**: Browse and manage pinned files with directory navigation
21
- - **Websites**: Create and manage website hosting with DNS and SSL automation
22
-
23
- ### Authentication
24
-
25
- All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
-
27
- ### Rate Limiting
28
-
29
- API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
-
31
- ### Documentation
32
-
33
- For detailed API usage examples and integration guides, visit the Portal documentation website.
34
-
7
+ * ## Portal IPFS Plugin API
8
+ *
9
+ * A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+ *
11
+ * ### IPFS Pinning Service API Compatibility
12
+ *
13
+ * This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+ *
15
+ * ### Features
16
+ *
17
+ * - **Pinning**: Add, list, update, and remove pinned content
18
+ * - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ * - **IPNS**: Manage IPNS keys and publish content
20
+ * - **Files**: Browse and manage pinned files with directory navigation
21
+ * - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+ *
23
+ * ### Authentication
24
+ *
25
+ * All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+ *
27
+ * ### Rate Limiting
28
+ *
29
+ * API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+ *
31
+ * ### Documentation
32
+ *
33
+ * For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+ *
35
35
  * OpenAPI spec version: 1.0.0
36
36
  */
37
37
  interface FileManagerItem {
@@ -1,37 +1,37 @@
1
1
  //#region src/api/generated/schemas/gatewayWebsiteResponse.d.ts
2
2
  /**
3
- * Generated by orval v8.10.0 🍺
3
+ * Generated by orval v8.18.0 🍺
4
4
  * Do not edit manually.
5
5
  * Portal IPFS Plugin API
6
6
  *
7
- ## Portal IPFS Plugin API
8
-
9
- A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
-
11
- ### IPFS Pinning Service API Compatibility
12
-
13
- This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
-
15
- ### Features
16
-
17
- - **Pinning**: Add, list, update, and remove pinned content
18
- - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
- - **IPNS**: Manage IPNS keys and publish content
20
- - **Files**: Browse and manage pinned files with directory navigation
21
- - **Websites**: Create and manage website hosting with DNS and SSL automation
22
-
23
- ### Authentication
24
-
25
- All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
-
27
- ### Rate Limiting
28
-
29
- API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
-
31
- ### Documentation
32
-
33
- For detailed API usage examples and integration guides, visit the Portal documentation website.
34
-
7
+ * ## Portal IPFS Plugin API
8
+ *
9
+ * A comprehensive API for IPFS content management, including pinning services, file operations, IPNS key management, and website hosting.
10
+ *
11
+ * ### IPFS Pinning Service API Compatibility
12
+ *
13
+ * This API is fully compatible with the [IPFS Pinning Service API specification](https://github.com/ipfs/pinning-services-api-spec), an implementation-agnostic API standard for pinning service providers. This ensures interoperability with existing IPFS pinning clients and tools.
14
+ *
15
+ * ### Features
16
+ *
17
+ * - **Pinning**: Add, list, update, and remove pinned content
18
+ * - **Content**: Upload files, retrieve IPFS content, and manage metadata
19
+ * - **IPNS**: Manage IPNS keys and publish content
20
+ * - **Files**: Browse and manage pinned files with directory navigation
21
+ * - **Websites**: Create and manage website hosting with DNS and SSL automation
22
+ *
23
+ * ### Authentication
24
+ *
25
+ * All API endpoints require authentication using JWT tokens obtained from the Portal authentication service.
26
+ *
27
+ * ### Rate Limiting
28
+ *
29
+ * API requests are rate-limited based on user account tier. See Portal documentation for current limits.
30
+ *
31
+ * ### Documentation
32
+ *
33
+ * For detailed API usage examples and integration guides, visit the Portal documentation website.
34
+ *
35
35
  * OpenAPI spec version: 1.0.0
36
36
  */
37
37
  interface GatewayWebsiteResponse {