@versori/run 0.2.23 → 0.2.26
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/esm/src/context/Context.d.ts.map +1 -1
- package/esm/src/context/Context.js +1 -0
- package/esm/src/dsl/http/versori/contextcredentials.d.ts +2 -0
- package/esm/src/dsl/http/versori/contextcredentials.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/{credentials → credential}/client.d.ts +3 -0
- package/esm/src/dsl/http/versori/credential/client.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/{credentials → credential}/client.js +11 -1
- package/{script/src/dsl/http/versori/credentials → esm/src/dsl/http/versori/credential}/credentials.d.ts +21 -4
- package/esm/src/dsl/http/versori/credential/credentials.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/{credentials → credential}/credentials.js +8 -0
- package/esm/src/dsl/http/versori/credential/mod.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts +40 -0
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.js +35 -0
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.d.ts +57 -0
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.js +44 -0
- package/esm/src/dsl/http/versori/{credentials → credential}/oauth2/v1/token_pb.d.ts +4 -1
- package/esm/src/dsl/http/versori/credential/oauth2/v1/token_pb.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/{credentials → credential}/oauth2/v1/token_pb.js +3 -3
- package/esm/src/dsl/http/versori/{credentials → credential}/oauth2/v1/token_service_pb.d.ts +45 -12
- package/esm/src/dsl/http/versori/credential/oauth2/v1/token_service_pb.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/{credentials → credential}/oauth2/v1/token_service_pb.js +3 -4
- package/esm/src/dsl/http/versori/{credentials → credential}/tokens/v1/token_pb.d.ts +4 -1
- package/esm/src/dsl/http/versori/credential/tokens/v1/token_pb.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/{credentials → credential}/tokens/v1/token_pb.js +3 -3
- package/{script/src/dsl/http/versori/credentials → esm/src/dsl/http/versori/credential}/tokens/v1/token_service_pb.d.ts +17 -5
- package/esm/src/dsl/http/versori/credential/tokens/v1/token_service_pb.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/{credentials → credential}/tokens/v1/token_service_pb.js +3 -3
- package/{script/src/dsl/http/versori/credentials → esm/src/dsl/http/versori/credential}/v1alpha1/common_pb.d.ts +13 -4
- package/esm/src/dsl/http/versori/credential/v1alpha1/common_pb.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/{credentials → credential}/v1alpha1/common_pb.js +3 -3
- package/esm/src/dsl/http/versori/credential/v1alpha1/credential_pb.d.ts +364 -0
- package/esm/src/dsl/http/versori/credential/v1alpha1/credential_pb.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/credential/v1alpha1/credential_pb.js +248 -0
- package/{script/src/dsl/http/versori/credentials → esm/src/dsl/http/versori/credential}/v1alpha1/credential_service_pb.d.ts +61 -16
- package/esm/src/dsl/http/versori/credential/v1alpha1/credential_service_pb.d.ts.map +1 -0
- package/{script/src/dsl/http/versori/credentials → esm/src/dsl/http/versori/credential}/v1alpha1/credential_service_pb.js +22 -63
- package/esm/src/dsl/http/versori/kvapi/index.d.ts +41 -0
- package/esm/src/dsl/http/versori/kvapi/index.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/index.js +11 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.d.ts +4 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntries.d.ts +3 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntries.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntries.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntry.d.ts +10 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntry.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchEntry.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.d.ts +5 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.d.ts +5 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.d.ts +3 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/CountKVRequest.d.ts +5 -0
- package/esm/src/dsl/http/versori/kvapi/models/CountKVRequest.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/CountKVRequest.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/CountKVResponse.d.ts +4 -0
- package/esm/src/dsl/http/versori/kvapi/models/CountKVResponse.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/CountKVResponse.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/CountSelector.d.ts +4 -0
- package/esm/src/dsl/http/versori/kvapi/models/CountSelector.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/CountSelector.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/Error.d.ts +14 -0
- package/esm/src/dsl/http/versori/kvapi/models/Error.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/Error.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ErrorField.d.ts +16 -0
- package/esm/src/dsl/http/versori/kvapi/models/ErrorField.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ErrorField.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/GetOptions.d.ts +7 -0
- package/esm/src/dsl/http/versori/kvapi/models/GetOptions.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/GetOptions.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchFailure.d.ts +6 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchFailure.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchFailure.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchResult.d.ts +7 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchResult.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVBatchResult.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVCommitResult.d.ts +15 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVCommitResult.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVCommitResult.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVEntry.d.ts +18 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVEntry.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVEntry.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVFilter.d.ts +15 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVFilter.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVFilter.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVKey.d.ts +2 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVKey.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/KVKey.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListKVRequest.d.ts +7 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListKVRequest.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListKVRequest.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListKVResponse.d.ts +7 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListKVResponse.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListKVResponse.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListOptions.d.ts +11 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListOptions.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListOptions.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListSelector.d.ts +8 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListSelector.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/ListSelector.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/Pagination.d.ts +5 -0
- package/esm/src/dsl/http/versori/kvapi/models/Pagination.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/models/Pagination.js +1 -0
- package/esm/src/dsl/http/versori/kvapi/services/BatchOperationsService.d.ts +40 -0
- package/esm/src/dsl/http/versori/kvapi/services/BatchOperationsService.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/services/BatchOperationsService.js +58 -0
- package/esm/src/dsl/http/versori/kvapi/services/QueryOperationsService.d.ts +24 -0
- package/esm/src/dsl/http/versori/kvapi/services/QueryOperationsService.d.ts.map +1 -0
- package/esm/src/dsl/http/versori/kvapi/services/QueryOperationsService.js +40 -0
- package/esm/src/dsl/http/versori/roundtripper.d.ts +11 -1
- package/esm/src/dsl/http/versori/roundtripper.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/roundtripper.js +409 -36
- package/esm/src/dsl/tasks/HttpTask.d.ts.map +1 -1
- package/esm/src/dsl/tasks/HttpTask.js +1 -0
- package/esm/src/kv/KeyValue.d.ts +3 -0
- package/esm/src/kv/KeyValue.d.ts.map +1 -1
- package/esm/src/kv/memory/MemoryKeyValue.d.ts +3 -0
- package/esm/src/kv/memory/MemoryKeyValue.d.ts.map +1 -1
- package/esm/src/kv/memory/MemoryKeyValue.js +8 -0
- package/esm/src/kv/nats/NatsKeyValue.d.ts +3 -0
- package/esm/src/kv/nats/NatsKeyValue.d.ts.map +1 -1
- package/esm/src/kv/nats/NatsKeyValue.js +8 -0
- package/esm/src/kv/sdk/SDKKeyValue.d.ts +5 -0
- package/esm/src/kv/sdk/SDKKeyValue.d.ts.map +1 -1
- package/esm/src/kv/sdk/SDKKeyValue.js +19 -0
- package/package.json +2 -1
- package/script/src/context/Context.d.ts.map +1 -1
- package/script/src/context/Context.js +1 -0
- package/script/src/dsl/http/versori/contextcredentials.d.ts +2 -0
- package/script/src/dsl/http/versori/contextcredentials.d.ts.map +1 -1
- package/script/src/dsl/http/versori/{credentials → credential}/client.d.ts +3 -0
- package/script/src/dsl/http/versori/credential/client.d.ts.map +1 -0
- package/script/src/dsl/http/versori/{credentials → credential}/client.js +10 -0
- package/{esm/src/dsl/http/versori/credentials → script/src/dsl/http/versori/credential}/credentials.d.ts +21 -4
- package/script/src/dsl/http/versori/credential/credentials.d.ts.map +1 -0
- package/script/src/dsl/http/versori/{credentials → credential}/credentials.js +9 -0
- package/script/src/dsl/http/versori/credential/mod.d.ts.map +1 -0
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts +40 -0
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.d.ts.map +1 -0
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.js +38 -0
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.d.ts +57 -0
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.d.ts.map +1 -0
- package/script/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.js +47 -0
- package/script/src/dsl/http/versori/{credentials → credential}/oauth2/v1/token_pb.d.ts +4 -1
- package/script/src/dsl/http/versori/credential/oauth2/v1/token_pb.d.ts.map +1 -0
- package/script/src/dsl/http/versori/{credentials → credential}/oauth2/v1/token_pb.js +4 -4
- package/script/src/dsl/http/versori/{credentials → credential}/oauth2/v1/token_service_pb.d.ts +45 -12
- package/script/src/dsl/http/versori/credential/oauth2/v1/token_service_pb.d.ts.map +1 -0
- package/script/src/dsl/http/versori/{credentials → credential}/oauth2/v1/token_service_pb.js +15 -16
- package/script/src/dsl/http/versori/{credentials → credential}/tokens/v1/token_pb.d.ts +4 -1
- package/script/src/dsl/http/versori/credential/tokens/v1/token_pb.d.ts.map +1 -0
- package/script/src/dsl/http/versori/{credentials → credential}/tokens/v1/token_pb.js +4 -4
- package/{esm/src/dsl/http/versori/credentials → script/src/dsl/http/versori/credential}/tokens/v1/token_service_pb.d.ts +17 -5
- package/script/src/dsl/http/versori/credential/tokens/v1/token_service_pb.d.ts.map +1 -0
- package/script/src/dsl/http/versori/{credentials → credential}/tokens/v1/token_service_pb.js +8 -8
- package/{esm/src/dsl/http/versori/credentials → script/src/dsl/http/versori/credential}/v1alpha1/common_pb.d.ts +13 -4
- package/script/src/dsl/http/versori/credential/v1alpha1/common_pb.d.ts.map +1 -0
- package/script/src/dsl/http/versori/{credentials → credential}/v1alpha1/common_pb.js +8 -8
- package/script/src/dsl/http/versori/credential/v1alpha1/credential_pb.d.ts +364 -0
- package/script/src/dsl/http/versori/credential/v1alpha1/credential_pb.d.ts.map +1 -0
- package/script/src/dsl/http/versori/credential/v1alpha1/credential_pb.js +252 -0
- package/{esm/src/dsl/http/versori/credentials → script/src/dsl/http/versori/credential}/v1alpha1/credential_service_pb.d.ts +61 -16
- package/script/src/dsl/http/versori/credential/v1alpha1/credential_service_pb.d.ts.map +1 -0
- package/script/src/dsl/http/versori/credential/v1alpha1/credential_service_pb.js +93 -0
- package/script/src/dsl/http/versori/kvapi/index.d.ts +41 -0
- package/script/src/dsl/http/versori/kvapi/index.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/index.js +22 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.d.ts +4 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchDeleteKVResponse.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchEntries.d.ts +3 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchEntries.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchEntries.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchEntry.d.ts +10 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchEntry.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchEntry.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.d.ts +5 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchGetKVResponse.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.d.ts +5 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVRequest.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.d.ts +3 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/BatchSetKVResponse.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/CountKVRequest.d.ts +5 -0
- package/script/src/dsl/http/versori/kvapi/models/CountKVRequest.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/CountKVRequest.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/CountKVResponse.d.ts +4 -0
- package/script/src/dsl/http/versori/kvapi/models/CountKVResponse.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/CountKVResponse.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/CountSelector.d.ts +4 -0
- package/script/src/dsl/http/versori/kvapi/models/CountSelector.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/CountSelector.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/Error.d.ts +14 -0
- package/script/src/dsl/http/versori/kvapi/models/Error.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/Error.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/ErrorField.d.ts +16 -0
- package/script/src/dsl/http/versori/kvapi/models/ErrorField.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/ErrorField.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/GetOptions.d.ts +7 -0
- package/script/src/dsl/http/versori/kvapi/models/GetOptions.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/GetOptions.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/KVBatchFailure.d.ts +6 -0
- package/script/src/dsl/http/versori/kvapi/models/KVBatchFailure.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/KVBatchFailure.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/KVBatchResult.d.ts +7 -0
- package/script/src/dsl/http/versori/kvapi/models/KVBatchResult.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/KVBatchResult.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/KVCommitResult.d.ts +15 -0
- package/script/src/dsl/http/versori/kvapi/models/KVCommitResult.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/KVCommitResult.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/KVEntry.d.ts +18 -0
- package/script/src/dsl/http/versori/kvapi/models/KVEntry.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/KVEntry.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/KVFilter.d.ts +15 -0
- package/script/src/dsl/http/versori/kvapi/models/KVFilter.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/KVFilter.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/KVKey.d.ts +2 -0
- package/script/src/dsl/http/versori/kvapi/models/KVKey.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/KVKey.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/ListKVRequest.d.ts +7 -0
- package/script/src/dsl/http/versori/kvapi/models/ListKVRequest.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/ListKVRequest.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/ListKVResponse.d.ts +7 -0
- package/script/src/dsl/http/versori/kvapi/models/ListKVResponse.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/ListKVResponse.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/ListOptions.d.ts +11 -0
- package/script/src/dsl/http/versori/kvapi/models/ListOptions.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/ListOptions.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/ListSelector.d.ts +8 -0
- package/script/src/dsl/http/versori/kvapi/models/ListSelector.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/ListSelector.js +2 -0
- package/script/src/dsl/http/versori/kvapi/models/Pagination.d.ts +5 -0
- package/script/src/dsl/http/versori/kvapi/models/Pagination.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/models/Pagination.js +2 -0
- package/script/src/dsl/http/versori/kvapi/services/BatchOperationsService.d.ts +40 -0
- package/script/src/dsl/http/versori/kvapi/services/BatchOperationsService.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/services/BatchOperationsService.js +62 -0
- package/script/src/dsl/http/versori/kvapi/services/QueryOperationsService.d.ts +24 -0
- package/script/src/dsl/http/versori/kvapi/services/QueryOperationsService.d.ts.map +1 -0
- package/script/src/dsl/http/versori/kvapi/services/QueryOperationsService.js +44 -0
- package/script/src/dsl/http/versori/roundtripper.d.ts +11 -1
- package/script/src/dsl/http/versori/roundtripper.d.ts.map +1 -1
- package/script/src/dsl/http/versori/roundtripper.js +412 -36
- package/script/src/dsl/tasks/HttpTask.d.ts.map +1 -1
- package/script/src/dsl/tasks/HttpTask.js +1 -0
- package/script/src/kv/KeyValue.d.ts +3 -0
- package/script/src/kv/KeyValue.d.ts.map +1 -1
- package/script/src/kv/memory/MemoryKeyValue.d.ts +3 -0
- package/script/src/kv/memory/MemoryKeyValue.d.ts.map +1 -1
- package/script/src/kv/memory/MemoryKeyValue.js +8 -0
- package/script/src/kv/nats/NatsKeyValue.d.ts +3 -0
- package/script/src/kv/nats/NatsKeyValue.d.ts.map +1 -1
- package/script/src/kv/nats/NatsKeyValue.js +8 -0
- package/script/src/kv/sdk/SDKKeyValue.d.ts +5 -0
- package/script/src/kv/sdk/SDKKeyValue.d.ts.map +1 -1
- package/script/src/kv/sdk/SDKKeyValue.js +19 -0
- package/esm/src/dsl/http/versori/credentials/client.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/credentials.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/mod.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/oauth2/v1/token_pb.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/oauth2/v1/token_service_pb.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/tokens/v1/token_pb.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/tokens/v1/token_service_pb.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/v1alpha1/common_pb.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_pb.d.ts +0 -165
- package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_pb.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_pb.js +0 -155
- package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.d.ts.map +0 -1
- package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.js +0 -128
- package/script/src/dsl/http/versori/credentials/client.d.ts.map +0 -1
- package/script/src/dsl/http/versori/credentials/credentials.d.ts.map +0 -1
- package/script/src/dsl/http/versori/credentials/mod.d.ts.map +0 -1
- package/script/src/dsl/http/versori/credentials/oauth2/v1/token_pb.d.ts.map +0 -1
- package/script/src/dsl/http/versori/credentials/oauth2/v1/token_service_pb.d.ts.map +0 -1
- package/script/src/dsl/http/versori/credentials/tokens/v1/token_pb.d.ts.map +0 -1
- package/script/src/dsl/http/versori/credentials/tokens/v1/token_service_pb.d.ts.map +0 -1
- package/script/src/dsl/http/versori/credentials/v1alpha1/common_pb.d.ts.map +0 -1
- package/script/src/dsl/http/versori/credentials/v1alpha1/credential_pb.d.ts +0 -165
- package/script/src/dsl/http/versori/credentials/v1alpha1/credential_pb.d.ts.map +0 -1
- package/script/src/dsl/http/versori/credentials/v1alpha1/credential_pb.js +0 -158
- package/script/src/dsl/http/versori/credentials/v1alpha1/credential_service_pb.d.ts.map +0 -1
- /package/esm/src/dsl/http/versori/{credentials → credential}/mod.d.ts +0 -0
- /package/esm/src/dsl/http/versori/{credentials → credential}/mod.js +0 -0
- /package/script/src/dsl/http/versori/{credentials → credential}/mod.d.ts +0 -0
- /package/script/src/dsl/http/versori/{credentials → credential}/mod.js +0 -0
|
@@ -41,6 +41,14 @@ export class NatsKeyValue {
|
|
|
41
41
|
async delete(key) {
|
|
42
42
|
await this.kv.delete(this.generateKey(key instanceof Array ? key.join('.') : key));
|
|
43
43
|
}
|
|
44
|
+
list(prefix, options) {
|
|
45
|
+
console.log('Listing not implemented', prefix, options);
|
|
46
|
+
return Promise.reject(new Error('Listing not implemented'));
|
|
47
|
+
}
|
|
48
|
+
count(prefix) {
|
|
49
|
+
console.log('Count not implemented', prefix);
|
|
50
|
+
return Promise.reject(new Error('Count not implemented'));
|
|
51
|
+
}
|
|
44
52
|
generateKey(key) {
|
|
45
53
|
return `${this.prefix}.${key instanceof Array ? key.join('.') : key}`;
|
|
46
54
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { GetOptions, KeyValue } from '../KeyValue.js';
|
|
2
2
|
import { CreateStoreResponse } from '../../dsl/http/versori/kvapi/models/CreateStoreResponse.js';
|
|
3
|
+
import { ListKVRequest } from '../../dsl/http/versori/kvapi/models/ListKVRequest.js';
|
|
4
|
+
import { ListKVResponse } from '../../dsl/http/versori/kvapi/models/ListKVResponse.js';
|
|
5
|
+
import { CountKVResponse } from '../../dsl/http/versori/kvapi/models/CountKVResponse.js';
|
|
3
6
|
export declare class SDKKeyValue implements KeyValue {
|
|
4
7
|
private readonly store;
|
|
5
8
|
private readonly prefix;
|
|
@@ -7,6 +10,8 @@ export declare class SDKKeyValue implements KeyValue {
|
|
|
7
10
|
get<T>(key: string | string[], options?: GetOptions<T>): Promise<T | undefined>;
|
|
8
11
|
set<T>(key: string | string[], value: T): Promise<void>;
|
|
9
12
|
delete(key: string | string[]): Promise<void>;
|
|
13
|
+
count(prefix: string[]): Promise<CountKVResponse>;
|
|
14
|
+
list(prefix: string[], options?: ListKVRequest): Promise<ListKVResponse>;
|
|
10
15
|
private generateKey;
|
|
11
16
|
}
|
|
12
17
|
//# sourceMappingURL=SDKKeyValue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SDKKeyValue.d.ts","sourceRoot":"","sources":["../../../../src/src/kv/sdk/SDKKeyValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4DAA4D,CAAC;AAGjG,qBAAa,WAAY,YAAW,QAAQ;IAC5B,OAAO,CAAC,QAAQ,CAAC,KAAK;IAAuB,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAnD,KAAK,EAAE,mBAAmB,EAAmB,MAAM,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EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAU7C,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC;IAUjD,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC;IAY9E,OAAO,CAAC,WAAW;CAGtB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { KvOperationsService } from '../../dsl/http/versori/kvapi/services/KvOperationsService.js';
|
|
2
|
+
import { QueryOperationsService } from '../../dsl/http/versori/kvapi/services/QueryOperationsService.js';
|
|
2
3
|
export class SDKKeyValue {
|
|
3
4
|
constructor(store, prefix) {
|
|
4
5
|
Object.defineProperty(this, "store", {
|
|
@@ -45,6 +46,24 @@ export class SDKKeyValue {
|
|
|
45
46
|
options: {}
|
|
46
47
|
});
|
|
47
48
|
}
|
|
49
|
+
async count(prefix) {
|
|
50
|
+
const k = this.generateKey(prefix).split("/");
|
|
51
|
+
return await QueryOperationsService.countKv(this.store.id, {
|
|
52
|
+
selector: {
|
|
53
|
+
prefix: k
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
async list(prefix, options) {
|
|
58
|
+
const k = this.generateKey(prefix).split("/");
|
|
59
|
+
return await QueryOperationsService.listKv(this.store.id, {
|
|
60
|
+
selector: {
|
|
61
|
+
prefix: k,
|
|
62
|
+
...options?.selector,
|
|
63
|
+
},
|
|
64
|
+
options: options?.options,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
48
67
|
generateKey(key) {
|
|
49
68
|
return `${this.prefix}/${key instanceof Array ? key.join('/') : key}`;
|
|
50
69
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versori/run",
|
|
3
|
-
"version": "v0.2.
|
|
3
|
+
"version": "v0.2.26",
|
|
4
4
|
"description": "Versori Run",
|
|
5
5
|
"homepage": "https://github.com/versori/versori-run#readme",
|
|
6
6
|
"repository": {
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"cors": "^2.8.5",
|
|
35
35
|
"express": "^4.18.3",
|
|
36
36
|
"express-xml-bodyparser": "^0.3.0",
|
|
37
|
+
"oauth-1.0a": "^2.2.6",
|
|
37
38
|
"rxjs": "^7.8.1",
|
|
38
39
|
"tweetnacl": "1.0.3"
|
|
39
40
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/src/context/Context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,OAAO,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;AACtD,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;AAEpD,MAAM,MAAM,cAAc,GAAG;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS,CA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EAAE,mBAAmB,EAC1B,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,IAAI,EACf,IAAI,EAAE,CAAC,EACP,MAAM,EAAE,QAAQ,EAChB,KAAK,CAAC,EAAE,QAAQ,EAChB,OAAO,GAAE,cAAmB;IAwBhC,IAAI,UAAU,IAAI,UAAU,GAAG,SAAS,CAEvC;IAED,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAEnC;IAED,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC,EAAE,MAAM,CAAC;IAiB7C,cAAc,CAAC,UAAU,EAAE,UAAU,GAAG,WAAW,CAAC,CAAC,EAAE,KAAK,CAAC;IAsB7D,QAAQ,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,WAAW,CAAC,EAAE,EAAE,KAAK,CAAC;IAc9C,MAAM,CAAC,KAAK,GAAE,aAA2B,GAAG,QAAQ;IAepD,OAAO,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS;IAIhC,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC;IAgCtE,WAAW,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC;IAO3F,WAAW,IAAI,mBAAmB;IAUlC,OAAO,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAe5C,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;CAQlD"}
|
|
@@ -163,6 +163,7 @@ class ContextImpl {
|
|
|
163
163
|
return {
|
|
164
164
|
getRaw: (name) => __classPrivateFieldGet(this, _ContextImpl_creds, "f").getRaw(name, this.activation?.id || undefined),
|
|
165
165
|
getAccessToken: (name, forceRefresh = false) => __classPrivateFieldGet(this, _ContextImpl_creds, "f").getAccessToken(name, forceRefresh, this.activation?.id || undefined),
|
|
166
|
+
getOAuth1Metadata: (name, activationId) => __classPrivateFieldGet(this, _ContextImpl_creds, "f").getOAuth1Metadata(name, activationId ?? this.activation?.id),
|
|
166
167
|
};
|
|
167
168
|
}
|
|
168
169
|
destroy(scope) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GetAuthorizationMetadataResponse } from './credential/oauth1/v1/authorization_service_pb.js';
|
|
1
2
|
export type Token = {
|
|
2
3
|
accessToken: string;
|
|
3
4
|
tokenType: string;
|
|
@@ -6,5 +7,6 @@ export type Token = {
|
|
|
6
7
|
export interface CredentialsProvider {
|
|
7
8
|
getRaw(name: string, activationId?: string): Promise<Uint8Array>;
|
|
8
9
|
getAccessToken(name: string, forceRefresh?: boolean, activationId?: string): Promise<Token>;
|
|
10
|
+
getOAuth1Metadata(name: string, activationId?: string): Promise<GetAuthorizationMetadataResponse>;
|
|
9
11
|
}
|
|
10
12
|
//# sourceMappingURL=contextcredentials.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contextcredentials.d.ts","sourceRoot":"","sources":["../../../../../src/src/dsl/http/versori/contextcredentials.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contextcredentials.d.ts","sourceRoot":"","sources":["../../../../../src/src/dsl/http/versori/contextcredentials.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AAEtG,MAAM,MAAM,KAAK,GAAG;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,IAAI,CAAC;CACjB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAChC,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAEjE,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAE5F,iBAAiB,CACb,IAAI,EAAE,MAAM,EACZ,YAAY,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,gCAAgC,CAAC,CAAC;CAChD"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { GetTokenResponse } from './tokens/v1/token_service_pb.js';
|
|
2
2
|
import { GetCredentialResponse } from './v1alpha1/credential_service_pb.js';
|
|
3
|
+
import { GetAuthorizationMetadataResponse } from './oauth1/v1/authorization_service_pb.js';
|
|
3
4
|
export declare class VersoriCredentialClient {
|
|
4
5
|
private tokenClient;
|
|
5
6
|
private credentialsClient;
|
|
7
|
+
private oauth1Client;
|
|
6
8
|
constructor(credsBaseUrl: string);
|
|
7
9
|
getToken(credId: string, forceRefresh?: boolean): Promise<GetTokenResponse>;
|
|
8
10
|
getRaw(credId: string): Promise<GetCredentialResponse>;
|
|
11
|
+
getOAuth1Metadata(credId: string): Promise<GetAuthorizationMetadataResponse>;
|
|
9
12
|
}
|
|
10
13
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../../../src/src/dsl/http/versori/credential/client.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAG5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,yCAAyC,CAAC;AAE3F,qBAAa,uBAAuB;IAChC,OAAO,CAAC,WAAW,CAAc;IACjC,OAAO,CAAC,iBAAiB,CAAoB;IAC7C,OAAO,CAAC,YAAY,CAAe;gBAEvB,YAAY,EAAE,MAAM;IAMhC,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,GAAE,OAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAIlF,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAItD,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,gCAAgC,CAAC;CAG/E"}
|
|
@@ -16,8 +16,15 @@ class VersoriCredentialClient {
|
|
|
16
16
|
writable: true,
|
|
17
17
|
value: void 0
|
|
18
18
|
});
|
|
19
|
+
Object.defineProperty(this, "oauth1Client", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
configurable: true,
|
|
22
|
+
writable: true,
|
|
23
|
+
value: void 0
|
|
24
|
+
});
|
|
19
25
|
this.tokenClient = (0, credentials_js_1.createTokenClient)(credsBaseUrl);
|
|
20
26
|
this.credentialsClient = (0, credentials_js_1.createCredentialsClient)(credsBaseUrl);
|
|
27
|
+
this.oauth1Client = (0, credentials_js_1.createOAuth1Cleint)(credsBaseUrl);
|
|
21
28
|
}
|
|
22
29
|
getToken(credId, forceRefresh = false) {
|
|
23
30
|
return this.tokenClient.getToken({ credentialId: credId, forceRefresh });
|
|
@@ -25,5 +32,8 @@ class VersoriCredentialClient {
|
|
|
25
32
|
getRaw(credId) {
|
|
26
33
|
return this.credentialsClient.get({ id: credId, showRedacted: true });
|
|
27
34
|
}
|
|
35
|
+
getOAuth1Metadata(credId) {
|
|
36
|
+
return this.oauth1Client.getAuthorizationMetadata({ credentialId: credId });
|
|
37
|
+
}
|
|
28
38
|
}
|
|
29
39
|
exports.VersoriCredentialClient = VersoriCredentialClient;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function createTokenClient(baseUrl?: string): Client<import("@bufbuild/protobuf/codegenv1").GenService<{
|
|
1
|
+
export declare function createTokenClient(baseUrl?: string): import("@connectrpc/connect").Client<import("@bufbuild/protobuf/codegenv2").GenService<{
|
|
3
2
|
getToken: {
|
|
4
3
|
methodKind: "unary";
|
|
5
4
|
input: typeof import("./tokens/v1/token_service_pb.js").GetTokenRequestSchema;
|
|
@@ -12,7 +11,7 @@ export declare function createTokenClient(baseUrl?: string): Client<import("@buf
|
|
|
12
11
|
};
|
|
13
12
|
}>>;
|
|
14
13
|
export type TokenClient = ReturnType<typeof createTokenClient>;
|
|
15
|
-
export declare function createOAuth2TokenService(baseUrl?: string): Client<import("@bufbuild/protobuf/
|
|
14
|
+
export declare function createOAuth2TokenService(baseUrl?: string): import("@connectrpc/connect").Client<import("@bufbuild/protobuf/codegenv2").GenService<{
|
|
16
15
|
getAccessToken: {
|
|
17
16
|
methodKind: "unary";
|
|
18
17
|
input: typeof import("./oauth2/v1/token_service_pb.js").GetAccessTokenRequestSchema;
|
|
@@ -40,7 +39,7 @@ export declare function createOAuth2TokenService(baseUrl?: string): Client<impor
|
|
|
40
39
|
};
|
|
41
40
|
}>>;
|
|
42
41
|
export type OAuth2TokenClient = ReturnType<typeof createOAuth2TokenService>;
|
|
43
|
-
export declare function createCredentialsClient(baseUrl?: string): Client<import("@bufbuild/protobuf/
|
|
42
|
+
export declare function createCredentialsClient(baseUrl?: string): import("@connectrpc/connect").Client<import("@bufbuild/protobuf/codegenv2").GenService<{
|
|
44
43
|
create: {
|
|
45
44
|
methodKind: "unary";
|
|
46
45
|
input: typeof import("./v1alpha1/credential_service_pb.js").CreateCredentialRequestSchema;
|
|
@@ -78,4 +77,22 @@ export declare function createCredentialsClient(baseUrl?: string): Client<import
|
|
|
78
77
|
};
|
|
79
78
|
}>>;
|
|
80
79
|
export type CredentialsClient = ReturnType<typeof createCredentialsClient>;
|
|
80
|
+
export declare function createOAuth1Cleint(baseUrl?: string): import("@connectrpc/connect").Client<import("@bufbuild/protobuf/codegenv2").GenService<{
|
|
81
|
+
getTemporaryToken: {
|
|
82
|
+
methodKind: "unary";
|
|
83
|
+
input: typeof import("./oauth1/v1/authorization_service_pb.js").GetTemporaryTokenRequestSchema;
|
|
84
|
+
output: typeof import("./oauth1/v1/authorization_service_pb.js").GetTemporaryTokenResponseSchema;
|
|
85
|
+
};
|
|
86
|
+
handleAuthorizationCallback: {
|
|
87
|
+
methodKind: "unary";
|
|
88
|
+
input: typeof import("./oauth1/v1/authorization_service_pb.js").HandleAuthorizationCallbackRequestSchema;
|
|
89
|
+
output: typeof import("./oauth1/v1/authorization_service_pb.js").HandleAuthorizationCallbackResponseSchema;
|
|
90
|
+
};
|
|
91
|
+
getAuthorizationMetadata: {
|
|
92
|
+
methodKind: "unary";
|
|
93
|
+
input: typeof import("./oauth1/v1/authorization_service_pb.js").GetAuthorizationMetadataRequestSchema;
|
|
94
|
+
output: typeof import("./oauth1/v1/authorization_service_pb.js").GetAuthorizationMetadataResponseSchema;
|
|
95
|
+
};
|
|
96
|
+
}>>;
|
|
97
|
+
export type OAuth1Client = ReturnType<typeof createOAuth1Cleint>;
|
|
81
98
|
//# sourceMappingURL=credentials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../../../src/src/dsl/http/versori/credential/credentials.ts"],"names":[],"mappings":"AAoBA,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,MAAgC;;;;;;;;;;;IAK1E;AAED,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE/D,wBAAgB,wBAAwB,CAAC,OAAO,GAAE,MAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;IAKjF;AAED,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE5E,wBAAgB,uBAAuB,CAAC,OAAO,GAAE,MAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKhF;AAED,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE3E,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,MAAgC;;;;;;;;;;;;;;;;IAK3E;AAED,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -3,11 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.createTokenClient = createTokenClient;
|
|
4
4
|
exports.createOAuth2TokenService = createOAuth2TokenService;
|
|
5
5
|
exports.createCredentialsClient = createCredentialsClient;
|
|
6
|
+
exports.createOAuth1Cleint = createOAuth1Cleint;
|
|
6
7
|
const connect_1 = require("@connectrpc/connect");
|
|
7
8
|
const connect_node_1 = require("@connectrpc/connect-node");
|
|
8
9
|
const token_service_pb_js_1 = require("./tokens/v1/token_service_pb.js");
|
|
9
10
|
const token_service_pb_js_2 = require("./oauth2/v1/token_service_pb.js");
|
|
10
11
|
const credential_service_pb_js_1 = require("./v1alpha1/credential_service_pb.js");
|
|
12
|
+
const authorization_service_pb_js_1 = require("./oauth1/v1/authorization_service_pb.js");
|
|
13
|
+
// import { metadatac}
|
|
11
14
|
// // @deno-types="./customauth/v1/customauth_service_pb.d.ts"
|
|
12
15
|
// import { CustomAuthenticationService } from './customauth/v1/customauth_service_pb.d.ts';
|
|
13
16
|
function createTokenClient(baseUrl = 'http://localhost:9000') {
|
|
@@ -28,6 +31,12 @@ function createCredentialsClient(baseUrl = 'http://localhost:9000') {
|
|
|
28
31
|
});
|
|
29
32
|
return (0, connect_1.createClient)(credential_service_pb_js_1.CredentialService, transport);
|
|
30
33
|
}
|
|
34
|
+
function createOAuth1Cleint(baseUrl = 'http://localhost:9000') {
|
|
35
|
+
const transport = (0, connect_node_1.createGrpcTransport)({
|
|
36
|
+
baseUrl,
|
|
37
|
+
});
|
|
38
|
+
return (0, connect_1.createClient)(authorization_service_pb_js_1.AuthorizationService, transport);
|
|
39
|
+
}
|
|
31
40
|
// export function createCustomAuthService(baseUrl: string = 'http://localhost:9000') {
|
|
32
41
|
// const transport = createGrpcTransport({
|
|
33
42
|
// baseUrl,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/src/dsl/http/versori/credential/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes the file versori/credential/oauth1/v1/authorization_metadata.proto.
|
|
3
|
+
*/
|
|
4
|
+
export const file_versori_credential_oauth1_v1_authorization_metadata: import("@bufbuild/protobuf").DescFile;
|
|
5
|
+
/**
|
|
6
|
+
* Describes the message versori.credential.oauth1.v1.AuthorizationMetadata.
|
|
7
|
+
* Use `create(AuthorizationMetadataSchema)` to create a new message.
|
|
8
|
+
*/
|
|
9
|
+
export const AuthorizationMetadataSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
10
|
+
jsonType: undefined;
|
|
11
|
+
validType: undefined;
|
|
12
|
+
}>;
|
|
13
|
+
/**
|
|
14
|
+
* Describes the enum versori.credential.oauth1.v1.AuthorizationMetadata.SignatureMethod.
|
|
15
|
+
*/
|
|
16
|
+
export const AuthorizationMetadata_SignatureMethodSchema: import("@bufbuild/protobuf/codegenv2").GenEnum<number, import("@bufbuild/protobuf").JsonValue>;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from enum versori.credential.oauth1.v1.AuthorizationMetadata.SignatureMethod
|
|
19
|
+
*/
|
|
20
|
+
export const AuthorizationMetadata_SignatureMethod: {
|
|
21
|
+
[key: number]: string;
|
|
22
|
+
[k: string]: string | number;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Describes the enum versori.credential.oauth1.v1.AuthorizationMetadata.ParameterTransmission.
|
|
26
|
+
*/
|
|
27
|
+
export const AuthorizationMetadata_ParameterTransmissionSchema: import("@bufbuild/protobuf/codegenv2").GenEnum<number, import("@bufbuild/protobuf").JsonValue>;
|
|
28
|
+
/**
|
|
29
|
+
* ParameterTransmission defines the possible values for how to transmit the authorization
|
|
30
|
+
* parameters to the server. See
|
|
31
|
+
* [RFC-5849 §3.5](https://datatracker.ietf.org/doc/html/rfc5849#section-3.5) for more
|
|
32
|
+
* information.
|
|
33
|
+
*
|
|
34
|
+
* @generated from enum versori.credential.oauth1.v1.AuthorizationMetadata.ParameterTransmission
|
|
35
|
+
*/
|
|
36
|
+
export const AuthorizationMetadata_ParameterTransmission: {
|
|
37
|
+
[key: number]: string;
|
|
38
|
+
[k: string]: string | number;
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=authorization_metadata_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorization_metadata_pb.d.ts","sourceRoot":"","sources":["../../../../../../../../src/src/dsl/http/versori/credential/oauth1/v1/authorization_metadata_pb.js"],"names":[],"mappings":"AAOA;;GAEG;AACH,6GAC2yC;AAE3yC;;;GAGG;AACH;;;GAC2E;AAE3E;;GAEG;AACH,yJAC2E;AAE3E;;GAEG;AACH;;;EACsD;AAEtD;;GAEG;AACH,+JAC2E;AAE3E;;;;;;;GAOG;AACH;;;EAC4D"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.6.2
|
|
3
|
+
// @generated from file versori/credential/oauth1/v1/authorization_metadata.proto (package versori.credential.oauth1.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AuthorizationMetadata_ParameterTransmission = exports.AuthorizationMetadata_ParameterTransmissionSchema = exports.AuthorizationMetadata_SignatureMethod = exports.AuthorizationMetadata_SignatureMethodSchema = exports.AuthorizationMetadataSchema = exports.file_versori_credential_oauth1_v1_authorization_metadata = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const wkt_1 = require("@bufbuild/protobuf/wkt");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file versori/credential/oauth1/v1/authorization_metadata.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_versori_credential_oauth1_v1_authorization_metadata = (0, codegenv2_1.fileDesc)("Cjl2ZXJzb3JpL2NyZWRlbnRpYWwvb2F1dGgxL3YxL2F1dGhvcml6YXRpb25fbWV0YWRhdGEucHJvdG8SHHZlcnNvcmkuY3JlZGVudGlhbC5vYXV0aDEudjEi3AQKFUF1dGhvcml6YXRpb25NZXRhZGF0YRIcChRhdXRob3JpemF0aW9uX3BhcmFtcxgBIAEoCRJpChZwYXJhbWV0ZXJfdHJhbnNtaXNzaW9uGAMgASgOMkkudmVyc29yaS5jcmVkZW50aWFsLm9hdXRoMS52MS5BdXRob3JpemF0aW9uTWV0YWRhdGEuUGFyYW1ldGVyVHJhbnNtaXNzaW9uEhQKDGNvbnN1bWVyX2tleRgEIAEoCRIXCg9jb25zdW1lcl9zZWNyZXQYBSABKAkSEwoLb2F1dGhfdG9rZW4YBiABKAkSGgoSb2F1dGhfdG9rZW5fc2VjcmV0GAcgASgJEl0KEHNpZ25hdHVyZV9tZXRob2QYCCABKA4yQy52ZXJzb3JpLmNyZWRlbnRpYWwub2F1dGgxLnYxLkF1dGhvcml6YXRpb25NZXRhZGF0YS5TaWduYXR1cmVNZXRob2QikQEKD1NpZ25hdHVyZU1ldGhvZBIcChhTSUdOQVRVUkVfTUVUSE9EX1VOS05PV04QABIeChpTSUdOQVRVUkVfTUVUSE9EX1BMQUlOVEVYVBABEh4KGlNJR05BVFVSRV9NRVRIT0RfSE1BQ19TSEExEAISIAocU0lHTkFUVVJFX01FVEhPRF9ITUFDX1NIQTI1NhADImcKFVBhcmFtZXRlclRyYW5zbWlzc2lvbhIjCh9BVVRIX1NUWUxFX0FVVEhPUklaQVRJT05fSEVBREVSEAASEwoPQVVUSF9TVFlMRV9GT1JNEAESFAoQQVVUSF9TVFlMRV9RVUVSWRACQvgBCiBjb20udmVyc29yaS5jcmVkZW50aWFsLm9hdXRoMS52MUIaQXV0aG9yaXphdGlvbk1ldGFkYXRhUHJvdG9QAVoldmVyc29yaS5kZXYvY3JlZGVudGlhbHMvYXBpL29hdXRoMS92MaICA1ZDT6oCHFZlcnNvcmkuQ3JlZGVudGlhbC5PYXV0aDEuVjHKAhxWZXJzb3JpXENyZWRlbnRpYWxcT2F1dGgxXFYx4gIoVmVyc29yaVxDcmVkZW50aWFsXE9hdXRoMVxWMVxHUEJNZXRhZGF0YeoCH1ZlcnNvcmk6OkNyZWRlbnRpYWw6Ok9hdXRoMTo6VjFiBnByb3RvMw", [wkt_1.file_google_protobuf_timestamp]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message versori.credential.oauth1.v1.AuthorizationMetadata.
|
|
15
|
+
* Use `create(AuthorizationMetadataSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
exports.AuthorizationMetadataSchema = (0, codegenv2_1.messageDesc)(exports.file_versori_credential_oauth1_v1_authorization_metadata, 0);
|
|
18
|
+
/**
|
|
19
|
+
* Describes the enum versori.credential.oauth1.v1.AuthorizationMetadata.SignatureMethod.
|
|
20
|
+
*/
|
|
21
|
+
exports.AuthorizationMetadata_SignatureMethodSchema = (0, codegenv2_1.enumDesc)(exports.file_versori_credential_oauth1_v1_authorization_metadata, 0, 0);
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum versori.credential.oauth1.v1.AuthorizationMetadata.SignatureMethod
|
|
24
|
+
*/
|
|
25
|
+
exports.AuthorizationMetadata_SignatureMethod = (0, codegenv2_1.tsEnum)(exports.AuthorizationMetadata_SignatureMethodSchema);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the enum versori.credential.oauth1.v1.AuthorizationMetadata.ParameterTransmission.
|
|
28
|
+
*/
|
|
29
|
+
exports.AuthorizationMetadata_ParameterTransmissionSchema = (0, codegenv2_1.enumDesc)(exports.file_versori_credential_oauth1_v1_authorization_metadata, 0, 1);
|
|
30
|
+
/**
|
|
31
|
+
* ParameterTransmission defines the possible values for how to transmit the authorization
|
|
32
|
+
* parameters to the server. See
|
|
33
|
+
* [RFC-5849 §3.5](https://datatracker.ietf.org/doc/html/rfc5849#section-3.5) for more
|
|
34
|
+
* information.
|
|
35
|
+
*
|
|
36
|
+
* @generated from enum versori.credential.oauth1.v1.AuthorizationMetadata.ParameterTransmission
|
|
37
|
+
*/
|
|
38
|
+
exports.AuthorizationMetadata_ParameterTransmission = (0, codegenv2_1.tsEnum)(exports.AuthorizationMetadata_ParameterTransmissionSchema);
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes the file versori/credential/oauth1/v1/authorization_service.proto.
|
|
3
|
+
*/
|
|
4
|
+
export const file_versori_credential_oauth1_v1_authorization_service: import("@bufbuild/protobuf").DescFile;
|
|
5
|
+
/**
|
|
6
|
+
* Describes the message versori.credential.oauth1.v1.GetTemporaryTokenRequest.
|
|
7
|
+
* Use `create(GetTemporaryTokenRequestSchema)` to create a new message.
|
|
8
|
+
*/
|
|
9
|
+
export const GetTemporaryTokenRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
10
|
+
jsonType: undefined;
|
|
11
|
+
validType: undefined;
|
|
12
|
+
}>;
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message versori.credential.oauth1.v1.GetTemporaryTokenResponse.
|
|
15
|
+
* Use `create(GetTemporaryTokenResponseSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const GetTemporaryTokenResponseSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
18
|
+
jsonType: undefined;
|
|
19
|
+
validType: undefined;
|
|
20
|
+
}>;
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message versori.credential.oauth1.v1.HandleAuthorizationCallbackRequest.
|
|
23
|
+
* Use `create(HandleAuthorizationCallbackRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const HandleAuthorizationCallbackRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
26
|
+
jsonType: undefined;
|
|
27
|
+
validType: undefined;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message versori.credential.oauth1.v1.HandleAuthorizationCallbackResponse.
|
|
31
|
+
* Use `create(HandleAuthorizationCallbackResponseSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const HandleAuthorizationCallbackResponseSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
34
|
+
jsonType: undefined;
|
|
35
|
+
validType: undefined;
|
|
36
|
+
}>;
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message versori.credential.oauth1.v1.GetAuthorizationMetadataRequest.
|
|
39
|
+
* Use `create(GetAuthorizationMetadataRequestSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const GetAuthorizationMetadataRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
42
|
+
jsonType: undefined;
|
|
43
|
+
validType: undefined;
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message versori.credential.oauth1.v1.GetAuthorizationMetadataResponse.
|
|
47
|
+
* Use `create(GetAuthorizationMetadataResponseSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const GetAuthorizationMetadataResponseSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
50
|
+
jsonType: undefined;
|
|
51
|
+
validType: undefined;
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from service versori.credential.oauth1.v1.AuthorizationService
|
|
55
|
+
*/
|
|
56
|
+
export const AuthorizationService: import("@bufbuild/protobuf/codegenv2").GenService<import("@bufbuild/protobuf/codegenv2").GenServiceMethods>;
|
|
57
|
+
//# sourceMappingURL=authorization_service_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorization_service_pb.d.ts","sourceRoot":"","sources":["../../../../../../../../src/src/dsl/http/versori/credential/oauth1/v1/authorization_service_pb.js"],"names":[],"mappings":"AAQA;;GAEG;AACH,4GAC+uE;AAE/uE;;;GAGG;AACH;;;GAC0E;AAE1E;;;GAGG;AACH;;;GAC0E;AAE1E;;;GAGG;AACH;;;GAC0E;AAE1E;;;GAGG;AACH;;;GAC0E;AAE1E;;;GAGG;AACH;;;GAC0E;AAE1E;;;GAGG;AACH;;;GAC0E;AAE1E;;GAEG;AACH,+IAC0E"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.6.2
|
|
3
|
+
// @generated from file versori/credential/oauth1/v1/authorization_service.proto (package versori.credential.oauth1.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AuthorizationService = exports.GetAuthorizationMetadataResponseSchema = exports.GetAuthorizationMetadataRequestSchema = exports.HandleAuthorizationCallbackResponseSchema = exports.HandleAuthorizationCallbackRequestSchema = exports.GetTemporaryTokenResponseSchema = exports.GetTemporaryTokenRequestSchema = exports.file_versori_credential_oauth1_v1_authorization_service = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const authorization_metadata_pb_js_1 = require("./authorization_metadata_pb.js");
|
|
9
|
+
const credential_pb_js_1 = require("../../v1alpha1/credential_pb.js");
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file versori/credential/oauth1/v1/authorization_service.proto.
|
|
12
|
+
*/
|
|
13
|
+
exports.file_versori_credential_oauth1_v1_authorization_service = (0, codegenv2_1.fileDesc)("Cjh2ZXJzb3JpL2NyZWRlbnRpYWwvb2F1dGgxL3YxL2F1dGhvcml6YXRpb25fc2VydmljZS5wcm90bxIcdmVyc29yaS5jcmVkZW50aWFsLm9hdXRoMS52MSJkChhHZXRUZW1wb3JhcnlUb2tlblJlcXVlc3QSFQoNY3JlZGVudGlhb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kZW50aWFsLm9hdXRoMS52MS5HZXRUZW1wb3JhcnlUb2tlblJlcXVlc3QaNy52ZXJzb3JpLmNyZWRlbnRpYWwub2F1dGgxLnYxLkdldFRlbXBvcmFyeVRva2VuUmVzcG9uc2USogEKG0hhbmRsZUF1dGhvcml6YXRpb25DYWxsYmFjaxJALnZlcnNvcmkuY3JlZGVudGlhbC5vYXV0aDEudjEuSGFuZGxlQXV0aG9yaXphdGlvbkNhbGxiYWNrUmVxdWVzdBpBLnZlcnNvcmkuY3JlZGVudGlhbC5vYXV0aDEudjEuSGFuZGxlQXV0aG9yaXphdGlvbkNhbGxiYWNrUmVzcG9uc2USmQEKGEdldEF1dGhvcml6YXRpb25NZXRhZGF0YRI9LnZlcnNvcmkuY3JlZGVudGlhbC5vYXV0aDEudjEuR2V0QXV0aG9yaXphdGlvbk1ldGFkYXRhUmVxdWVzdBo+LnZlcnNvcmkuY3JlZGVudGlhbC5vYXV0aDEudjEuR2V0QXV0aG9yaXphdGlvbk1ldGFkYXRhUmVzcG9uc2VC9wEKIGNvbS52ZXJzb3JpLmNyZWRlbnRpYWwub2F1dGgxLnYxQhlBdXRob3JpemF0aW9uU2VydmljZVByb3RvUAFaJXZlcnNvcmkuZGV2L2NyZWRlbnRpYWxzL2FwaS9vYXV0aDEvdjGiAgNWQ0+qAhxWZXJzb3JpLkNyZWRlbnRpYWwuT2F1dGgxLlYxygIcVmVyc29yaVxDcmVkZW50aWFsXE9hdXRoMVxWMeICKFZlcnNvcmlcQ3JlZGVudGlhbFxPYXV0aDFcVjFcR1BCTWV0YWRhdGHqAh9WZXJzb3JpOjpDcmVkZW50aWFsOjpPYXV0aDE6OlYxYgZwcm90bzM", [authorization_metadata_pb_js_1.file_versori_credential_oauth1_v1_authorization_metadata, credential_pb_js_1.file_versori_credential_v1alpha1_credential]);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message versori.credential.oauth1.v1.GetTemporaryTokenRequest.
|
|
16
|
+
* Use `create(GetTemporaryTokenRequestSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
exports.GetTemporaryTokenRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_versori_credential_oauth1_v1_authorization_service, 0);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message versori.credential.oauth1.v1.GetTemporaryTokenResponse.
|
|
21
|
+
* Use `create(GetTemporaryTokenResponseSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
exports.GetTemporaryTokenResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_versori_credential_oauth1_v1_authorization_service, 1);
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message versori.credential.oauth1.v1.HandleAuthorizationCallbackRequest.
|
|
26
|
+
* Use `create(HandleAuthorizationCallbackRequestSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
exports.HandleAuthorizationCallbackRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_versori_credential_oauth1_v1_authorization_service, 2);
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message versori.credential.oauth1.v1.HandleAuthorizationCallbackResponse.
|
|
31
|
+
* Use `create(HandleAuthorizationCallbackResponseSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
exports.HandleAuthorizationCallbackResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_versori_credential_oauth1_v1_authorization_service, 3);
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message versori.credential.oauth1.v1.GetAuthorizationMetadataRequest.
|
|
36
|
+
* Use `create(GetAuthorizationMetadataRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
exports.GetAuthorizationMetadataRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_versori_credential_oauth1_v1_authorization_service, 4);
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message versori.credential.oauth1.v1.GetAuthorizationMetadataResponse.
|
|
41
|
+
* Use `create(GetAuthorizationMetadataResponseSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
exports.GetAuthorizationMetadataResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_versori_credential_oauth1_v1_authorization_service, 5);
|
|
44
|
+
/**
|
|
45
|
+
* @generated from service versori.credential.oauth1.v1.AuthorizationService
|
|
46
|
+
*/
|
|
47
|
+
exports.AuthorizationService = (0, codegenv2_1.serviceDesc)(exports.file_versori_credential_oauth1_v1_authorization_service, 0);
|
|
@@ -6,5 +6,8 @@ export const file_versori_credential_oauth2_v1_token: import("@bufbuild/protobuf
|
|
|
6
6
|
* Describes the message versori.credential.oauth2.v1.Token.
|
|
7
7
|
* Use `create(TokenSchema)` to create a new message.
|
|
8
8
|
*/
|
|
9
|
-
export const TokenSchema: import("@bufbuild/protobuf/
|
|
9
|
+
export const TokenSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
10
|
+
jsonType: undefined;
|
|
11
|
+
validType: undefined;
|
|
12
|
+
}>;
|
|
10
13
|
//# sourceMappingURL=token_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token_pb.d.ts","sourceRoot":"","sources":["../../../../../../../../src/src/dsl/http/versori/credential/oauth2/v1/token_pb.js"],"names":[],"mappings":"AAOA;;GAEG;AACH,4FAColB;AAEplB;;;GAGG;AACH;;;GAC0D"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// @generated by protoc-gen-es v2.2
|
|
2
|
+
// @generated by protoc-gen-es v2.6.2
|
|
3
3
|
// @generated from file versori/credential/oauth2/v1/token.proto (package versori.credential.oauth2.v1, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.TokenSchema = exports.file_versori_credential_oauth2_v1_token = void 0;
|
|
7
|
-
const
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const wkt_1 = require("@bufbuild/protobuf/wkt");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file versori/credential/oauth2/v1/token.proto.
|
|
11
11
|
*/
|
|
12
|
-
exports.file_versori_credential_oauth2_v1_token = (0,
|
|
12
|
+
exports.file_versori_credential_oauth2_v1_token = (0, codegenv2_1.fileDesc)("Cih2ZXJzb3JpL2NyZWRlbnRpYWwvb2F1dGgyL3YxL3Rva2VuLnByb3RvEhx2ZXJzb3JpLmNyZWRlbnRpYWwub2F1dGgyLnYxIl0KBVRva2VuEhQKDGFjY2Vzc190b2tlbhgBIAEoCRISCgp0b2tlbl90eXBlGAIgASgJEioKBmV4cGlyeRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBC6AEKIGNvbS52ZXJzb3JpLmNyZWRlbnRpYWwub2F1dGgyLnYxQgpUb2tlblByb3RvUAFaJXZlcnNvcmkuZGV2L2NyZWRlbnRpYWxzL2FwaS9vYXV0aDIvdjGiAgNWQ0+qAhxWZXJzb3JpLkNyZWRlbnRpYWwuT2F1dGgyLlYxygIcVmVyc29yaVxDcmVkZW50aWFsXE9hdXRoMlxWMeICKFZlcnNvcmlcQ3JlZGVudGlhbFxPYXV0aDJcVjFcR1BCTWV0YWRhdGHqAh9WZXJzb3JpOjpDcmVkZW50aWFsOjpPYXV0aDI6OlYxYgZwcm90bzM", [wkt_1.file_google_protobuf_timestamp]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message versori.credential.oauth2.v1.Token.
|
|
15
15
|
* Use `create(TokenSchema)` to create a new message.
|
|
16
16
|
*/
|
|
17
|
-
exports.TokenSchema = (0,
|
|
17
|
+
exports.TokenSchema = (0, codegenv2_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token, 0);
|
package/script/src/dsl/http/versori/{credentials → credential}/oauth2/v1/token_service_pb.d.ts
RENAMED
|
@@ -6,57 +6,90 @@ export const file_versori_credential_oauth2_v1_token_service: import("@bufbuild/
|
|
|
6
6
|
* Describes the message versori.credential.oauth2.v1.GetAccessTokenRequest.
|
|
7
7
|
* Use `create(GetAccessTokenRequestSchema)` to create a new message.
|
|
8
8
|
*/
|
|
9
|
-
export const GetAccessTokenRequestSchema: import("@bufbuild/protobuf/
|
|
9
|
+
export const GetAccessTokenRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
10
|
+
jsonType: undefined;
|
|
11
|
+
validType: undefined;
|
|
12
|
+
}>;
|
|
10
13
|
/**
|
|
11
14
|
* Describes the message versori.credential.oauth2.v1.GetAccessTokenResponse.
|
|
12
15
|
* Use `create(GetAccessTokenResponseSchema)` to create a new message.
|
|
13
16
|
*/
|
|
14
|
-
export const GetAccessTokenResponseSchema: import("@bufbuild/protobuf/
|
|
17
|
+
export const GetAccessTokenResponseSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
18
|
+
jsonType: undefined;
|
|
19
|
+
validType: undefined;
|
|
20
|
+
}>;
|
|
15
21
|
/**
|
|
16
22
|
* Describes the message versori.credential.oauth2.v1.HandleAuthorizationCallbackRequest.
|
|
17
23
|
* Use `create(HandleAuthorizationCallbackRequestSchema)` to create a new message.
|
|
18
24
|
*/
|
|
19
|
-
export const HandleAuthorizationCallbackRequestSchema: import("@bufbuild/protobuf/
|
|
25
|
+
export const HandleAuthorizationCallbackRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
26
|
+
jsonType: undefined;
|
|
27
|
+
validType: undefined;
|
|
28
|
+
}>;
|
|
20
29
|
/**
|
|
21
30
|
* Describes the message versori.credential.oauth2.v1.HandleAuthorizationCallbackResponse.
|
|
22
31
|
* Use `create(HandleAuthorizationCallbackResponseSchema)` to create a new message.
|
|
23
32
|
*/
|
|
24
|
-
export const HandleAuthorizationCallbackResponseSchema: import("@bufbuild/protobuf/
|
|
33
|
+
export const HandleAuthorizationCallbackResponseSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
34
|
+
jsonType: undefined;
|
|
35
|
+
validType: undefined;
|
|
36
|
+
}>;
|
|
25
37
|
/**
|
|
26
38
|
* Describes the message versori.credential.oauth2.v1.CheckExpiryRequest.
|
|
27
39
|
* Use `create(CheckExpiryRequestSchema)` to create a new message.
|
|
28
40
|
*/
|
|
29
|
-
export const CheckExpiryRequestSchema: import("@bufbuild/protobuf/
|
|
41
|
+
export const CheckExpiryRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
42
|
+
jsonType: undefined;
|
|
43
|
+
validType: undefined;
|
|
44
|
+
}>;
|
|
30
45
|
/**
|
|
31
46
|
* Describes the message versori.credential.oauth2.v1.CheckExpiryResponse.
|
|
32
47
|
* Use `create(CheckExpiryResponseSchema)` to create a new message.
|
|
33
48
|
*/
|
|
34
|
-
export const CheckExpiryResponseSchema: import("@bufbuild/protobuf/
|
|
49
|
+
export const CheckExpiryResponseSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
50
|
+
jsonType: undefined;
|
|
51
|
+
validType: undefined;
|
|
52
|
+
}>;
|
|
35
53
|
/**
|
|
36
54
|
* Describes the message versori.credential.oauth2.v1.CreateClientCredentialTokenRequest.
|
|
37
55
|
* Use `create(CreateClientCredentialTokenRequestSchema)` to create a new message.
|
|
38
56
|
*/
|
|
39
|
-
export const CreateClientCredentialTokenRequestSchema: import("@bufbuild/protobuf/
|
|
57
|
+
export const CreateClientCredentialTokenRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
58
|
+
jsonType: undefined;
|
|
59
|
+
validType: undefined;
|
|
60
|
+
}>;
|
|
40
61
|
/**
|
|
41
62
|
* Describes the message versori.credential.oauth2.v1.CreateClientCredentialTokenRequest.ClientConfig.
|
|
42
63
|
* Use `create(CreateClientCredentialTokenRequest_ClientConfigSchema)` to create a new message.
|
|
43
64
|
*/
|
|
44
|
-
export const CreateClientCredentialTokenRequest_ClientConfigSchema: import("@bufbuild/protobuf/
|
|
65
|
+
export const CreateClientCredentialTokenRequest_ClientConfigSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
66
|
+
jsonType: undefined;
|
|
67
|
+
validType: undefined;
|
|
68
|
+
}>;
|
|
45
69
|
/**
|
|
46
70
|
* Describes the message versori.credential.oauth2.v1.CreateClientCredentialTokenResponse.
|
|
47
71
|
* Use `create(CreateClientCredentialTokenResponseSchema)` to create a new message.
|
|
48
72
|
*/
|
|
49
|
-
export const CreateClientCredentialTokenResponseSchema: import("@bufbuild/protobuf/
|
|
73
|
+
export const CreateClientCredentialTokenResponseSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
74
|
+
jsonType: undefined;
|
|
75
|
+
validType: undefined;
|
|
76
|
+
}>;
|
|
50
77
|
/**
|
|
51
78
|
* Describes the message versori.credential.oauth2.v1.CreateResourceOwnerCredentialRequest.
|
|
52
79
|
* Use `create(CreateResourceOwnerCredentialRequestSchema)` to create a new message.
|
|
53
80
|
*/
|
|
54
|
-
export const CreateResourceOwnerCredentialRequestSchema: import("@bufbuild/protobuf/
|
|
81
|
+
export const CreateResourceOwnerCredentialRequestSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
82
|
+
jsonType: undefined;
|
|
83
|
+
validType: undefined;
|
|
84
|
+
}>;
|
|
55
85
|
/**
|
|
56
86
|
* Describes the message versori.credential.oauth2.v1.CreateResourceOwnerCredentialResponse.
|
|
57
87
|
* Use `create(CreateResourceOwnerCredentialResponseSchema)` to create a new message.
|
|
58
88
|
*/
|
|
59
|
-
export const CreateResourceOwnerCredentialResponseSchema: import("@bufbuild/protobuf/
|
|
89
|
+
export const CreateResourceOwnerCredentialResponseSchema: import("@bufbuild/protobuf/codegenv2").GenMessage<import("@bufbuild/protobuf").Message, {
|
|
90
|
+
jsonType: undefined;
|
|
91
|
+
validType: undefined;
|
|
92
|
+
}>;
|
|
60
93
|
/**
|
|
61
94
|
* OAuth2TokenService wraps the CredentialService and provides capability specifically around OAuth 2.0.
|
|
62
95
|
*
|
|
@@ -65,5 +98,5 @@ export const CreateResourceOwnerCredentialResponseSchema: import("@bufbuild/prot
|
|
|
65
98
|
*
|
|
66
99
|
* @generated from service versori.credential.oauth2.v1.OAuth2TokenService
|
|
67
100
|
*/
|
|
68
|
-
export const OAuth2TokenService: import("@bufbuild/protobuf/
|
|
101
|
+
export const OAuth2TokenService: import("@bufbuild/protobuf/codegenv2").GenService<import("@bufbuild/protobuf/codegenv2").GenServiceMethods>;
|
|
69
102
|
//# sourceMappingURL=token_service_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token_service_pb.d.ts","sourceRoot":"","sources":["../../../../../../../../src/src/dsl/http/versori/credential/oauth2/v1/token_service_pb.js"],"names":[],"mappings":"AASA;;GAEG;AACH,oGAC83H;AAE93H;;;GAGG;AACH;;;GACkE;AAElE;;;GAGG;AACH;;;GACkE;AAElE;;;GAGG;AACH;;;GACkE;AAElE;;;GAGG;AACH;;;GACkE;AAElE;;;GAGG;AACH;;;GACkE;AAElE;;;GAGG;AACH;;;GACkE;AAElE;;;GAGG;AACH;;;GACkE;AAElE;;;GAGG;AACH;;;GACqE;AAErE;;;GAGG;AACH;;;GACkE;AAElE;;;GAGG;AACH;;;GACkE;AAElE;;;GAGG;AACH;;;GACkE;AAElE;;;;;;;GAOG;AACH,6IACkE"}
|