@versori/run 0.0.1-alpha.1 → 0.0.1-alpha.2

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 (99) hide show
  1. package/esm/src/dsl/http/default.d.ts +23 -0
  2. package/esm/src/dsl/http/default.d.ts.map +1 -0
  3. package/esm/src/dsl/http/default.js +25 -0
  4. package/esm/src/dsl/http/types.d.ts +53 -0
  5. package/esm/src/dsl/http/types.d.ts.map +1 -0
  6. package/esm/src/dsl/http/types.js +2 -0
  7. package/esm/src/dsl/http/versori/configloader.d.ts +12 -0
  8. package/esm/src/dsl/http/versori/configloader.d.ts.map +1 -0
  9. package/esm/src/dsl/http/versori/configloader.js +14 -0
  10. package/esm/src/dsl/http/versori/connectapi.d.ts +11 -0
  11. package/esm/src/dsl/http/versori/connectapi.d.ts.map +1 -0
  12. package/esm/src/dsl/http/versori/connectapi.js +57 -0
  13. package/esm/src/dsl/http/versori/credentials/client.d.ts +10 -0
  14. package/esm/src/dsl/http/versori/credentials/client.d.ts.map +1 -0
  15. package/esm/src/dsl/http/versori/credentials/client.js +30 -0
  16. package/esm/src/dsl/http/versori/credentials/credentials.d.ts +42 -0
  17. package/esm/src/dsl/http/versori/credentials/credentials.d.ts.map +1 -0
  18. package/esm/src/dsl/http/versori/credentials/credentials.js +34 -0
  19. package/esm/src/dsl/http/versori/credentials/mod.d.ts +2 -0
  20. package/esm/src/dsl/http/versori/credentials/mod.d.ts.map +1 -0
  21. package/esm/src/dsl/http/versori/credentials/mod.js +1 -0
  22. package/esm/src/dsl/http/versori/credentials/oauth2/v1/token_pb.d.ts +10 -0
  23. package/esm/src/dsl/http/versori/credentials/oauth2/v1/token_pb.d.ts.map +1 -0
  24. package/esm/src/dsl/http/versori/credentials/oauth2/v1/token_pb.js +14 -0
  25. package/esm/src/dsl/http/versori/credentials/oauth2/v1/token_service_pb.d.ts +69 -0
  26. package/esm/src/dsl/http/versori/credentials/oauth2/v1/token_service_pb.d.ts.map +1 -0
  27. package/esm/src/dsl/http/versori/credentials/oauth2/v1/token_service_pb.js +76 -0
  28. package/esm/src/dsl/http/versori/credentials/tokens/v1/token_pb.d.ts +10 -0
  29. package/esm/src/dsl/http/versori/credentials/tokens/v1/token_pb.d.ts.map +1 -0
  30. package/esm/src/dsl/http/versori/credentials/tokens/v1/token_pb.js +14 -0
  31. package/esm/src/dsl/http/versori/credentials/tokens/v1/token_service_pb.d.ts +34 -0
  32. package/esm/src/dsl/http/versori/credentials/tokens/v1/token_service_pb.d.ts.map +1 -0
  33. package/esm/src/dsl/http/versori/credentials/tokens/v1/token_service_pb.js +40 -0
  34. package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_pb.d.ts +165 -0
  35. package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_pb.d.ts.map +1 -0
  36. package/esm/src/dsl/http/versori/credentials/v1alpha1/credential_pb.js +155 -0
  37. package/esm/src/dsl/http/versori/internalauth.d.ts +10 -0
  38. package/esm/src/dsl/http/versori/internalauth.d.ts.map +1 -0
  39. package/esm/src/dsl/http/versori/internalauth.js +67 -0
  40. package/esm/src/dsl/http/versori/roundtripper.d.ts +31 -0
  41. package/esm/src/dsl/http/versori/roundtripper.d.ts.map +1 -0
  42. package/esm/src/dsl/http/versori/roundtripper.js +218 -0
  43. package/esm/src/interpreter/memory/MemoryInterpreter.d.ts +2 -0
  44. package/esm/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
  45. package/esm/src/interpreter/memory/MemoryInterpreter.js +10 -0
  46. package/esm/src/interpreter/memory/ObservableCompiler.d.ts +2 -0
  47. package/esm/src/interpreter/memory/ObservableCompiler.d.ts.map +1 -1
  48. package/esm/src/interpreter/memory/compilers/http.d.ts.map +1 -1
  49. package/esm/src/interpreter/memory/compilers/http.js +3 -1
  50. package/package.json +4 -1
  51. package/script/src/dsl/http/default.d.ts +23 -0
  52. package/script/src/dsl/http/default.d.ts.map +1 -0
  53. package/script/src/dsl/http/default.js +29 -0
  54. package/script/src/dsl/http/types.d.ts +53 -0
  55. package/script/src/dsl/http/types.d.ts.map +1 -0
  56. package/script/src/dsl/http/types.js +3 -0
  57. package/script/src/dsl/http/versori/configloader.d.ts +12 -0
  58. package/script/src/dsl/http/versori/configloader.d.ts.map +1 -0
  59. package/script/src/dsl/http/versori/configloader.js +40 -0
  60. package/script/src/dsl/http/versori/connectapi.d.ts +11 -0
  61. package/script/src/dsl/http/versori/connectapi.d.ts.map +1 -0
  62. package/script/src/dsl/http/versori/connectapi.js +61 -0
  63. package/script/src/dsl/http/versori/credentials/client.d.ts +10 -0
  64. package/script/src/dsl/http/versori/credentials/client.d.ts.map +1 -0
  65. package/script/src/dsl/http/versori/credentials/client.js +32 -0
  66. package/script/src/dsl/http/versori/credentials/credentials.d.ts +42 -0
  67. package/script/src/dsl/http/versori/credentials/credentials.d.ts.map +1 -0
  68. package/script/src/dsl/http/versori/credentials/credentials.js +38 -0
  69. package/script/src/dsl/http/versori/credentials/mod.d.ts +2 -0
  70. package/script/src/dsl/http/versori/credentials/mod.d.ts.map +1 -0
  71. package/script/src/dsl/http/versori/credentials/mod.js +5 -0
  72. package/script/src/dsl/http/versori/credentials/oauth2/v1/token_pb.d.ts +10 -0
  73. package/script/src/dsl/http/versori/credentials/oauth2/v1/token_pb.d.ts.map +1 -0
  74. package/script/src/dsl/http/versori/credentials/oauth2/v1/token_pb.js +17 -0
  75. package/script/src/dsl/http/versori/credentials/oauth2/v1/token_service_pb.d.ts +69 -0
  76. package/script/src/dsl/http/versori/credentials/oauth2/v1/token_service_pb.d.ts.map +1 -0
  77. package/script/src/dsl/http/versori/credentials/oauth2/v1/token_service_pb.js +79 -0
  78. package/script/src/dsl/http/versori/credentials/tokens/v1/token_pb.d.ts +10 -0
  79. package/script/src/dsl/http/versori/credentials/tokens/v1/token_pb.d.ts.map +1 -0
  80. package/script/src/dsl/http/versori/credentials/tokens/v1/token_pb.js +17 -0
  81. package/script/src/dsl/http/versori/credentials/tokens/v1/token_service_pb.d.ts +34 -0
  82. package/script/src/dsl/http/versori/credentials/tokens/v1/token_service_pb.d.ts.map +1 -0
  83. package/script/src/dsl/http/versori/credentials/tokens/v1/token_service_pb.js +43 -0
  84. package/script/src/dsl/http/versori/credentials/v1alpha1/credential_pb.d.ts +165 -0
  85. package/script/src/dsl/http/versori/credentials/v1alpha1/credential_pb.d.ts.map +1 -0
  86. package/script/src/dsl/http/versori/credentials/v1alpha1/credential_pb.js +158 -0
  87. package/script/src/dsl/http/versori/internalauth.d.ts +10 -0
  88. package/script/src/dsl/http/versori/internalauth.d.ts.map +1 -0
  89. package/script/src/dsl/http/versori/internalauth.js +94 -0
  90. package/script/src/dsl/http/versori/roundtripper.d.ts +31 -0
  91. package/script/src/dsl/http/versori/roundtripper.d.ts.map +1 -0
  92. package/script/src/dsl/http/versori/roundtripper.js +246 -0
  93. package/script/src/interpreter/memory/MemoryInterpreter.d.ts +2 -0
  94. package/script/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
  95. package/script/src/interpreter/memory/MemoryInterpreter.js +10 -0
  96. package/script/src/interpreter/memory/ObservableCompiler.d.ts +2 -0
  97. package/script/src/interpreter/memory/ObservableCompiler.d.ts.map +1 -1
  98. package/script/src/interpreter/memory/compilers/http.d.ts.map +1 -1
  99. package/script/src/interpreter/memory/compilers/http.js +3 -1
@@ -0,0 +1,42 @@
1
+ export declare function createTokenClient(baseUrl?: string): import("@connectrpc/connect").Client<import("@bufbuild/protobuf/codegenv1").GenService<{
2
+ getToken: {
3
+ methodKind: "unary";
4
+ input: typeof import("./tokens/v1/token_service_pb.js").GetTokenRequestSchema;
5
+ output: typeof import("./tokens/v1/token_service_pb.js").GetTokenResponseSchema;
6
+ };
7
+ checkExpiry: {
8
+ methodKind: "unary";
9
+ input: typeof import("./tokens/v1/token_service_pb.js").CheckExpiryRequestSchema;
10
+ output: typeof import("./tokens/v1/token_service_pb.js").CheckExpiryResponseSchema;
11
+ };
12
+ }>>;
13
+ export type TokenClient = ReturnType<typeof createTokenClient>;
14
+ export declare function createOAuth2TokenService(baseUrl?: string): import("@connectrpc/connect").Client<import("@bufbuild/protobuf/codegenv1").GenService<{
15
+ getAccessToken: {
16
+ methodKind: "unary";
17
+ input: typeof import("./oauth2/v1/token_service_pb.js").GetAccessTokenRequestSchema;
18
+ output: typeof import("./oauth2/v1/token_service_pb.js").GetAccessTokenResponseSchema;
19
+ };
20
+ handleAuthorizationCallback: {
21
+ methodKind: "unary";
22
+ input: typeof import("./oauth2/v1/token_service_pb.js").HandleAuthorizationCallbackRequestSchema;
23
+ output: typeof import("./oauth2/v1/token_service_pb.js").HandleAuthorizationCallbackResponseSchema;
24
+ };
25
+ checkExpiry: {
26
+ methodKind: "unary";
27
+ input: typeof import("./oauth2/v1/token_service_pb.js").CheckExpiryRequestSchema;
28
+ output: typeof import("./oauth2/v1/token_service_pb.js").CheckExpiryResponseSchema;
29
+ };
30
+ createClientCredentialToken: {
31
+ methodKind: "unary";
32
+ input: typeof import("./oauth2/v1/token_service_pb.js").CreateClientCredentialTokenRequestSchema;
33
+ output: typeof import("./oauth2/v1/token_service_pb.js").CreateClientCredentialTokenResponseSchema;
34
+ };
35
+ createResourceOwnerCredential: {
36
+ methodKind: "unary";
37
+ input: typeof import("./oauth2/v1/token_service_pb.js").CreateResourceOwnerCredentialRequestSchema;
38
+ output: typeof import("./oauth2/v1/token_service_pb.js").CreateResourceOwnerCredentialResponseSchema;
39
+ };
40
+ }>>;
41
+ export type OAuth2TokenClient = ReturnType<typeof createOAuth2TokenService>;
42
+ //# sourceMappingURL=credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../../../src/src/dsl/http/versori/credentials/credentials.ts"],"names":[],"mappings":"AAeA,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"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createTokenClient = createTokenClient;
4
+ exports.createOAuth2TokenService = createOAuth2TokenService;
5
+ const connect_1 = require("@connectrpc/connect");
6
+ const connect_node_1 = require("@connectrpc/connect-node");
7
+ const token_service_pb_js_1 = require("./tokens/v1/token_service_pb.js");
8
+ const token_service_pb_js_2 = require("./oauth2/v1/token_service_pb.js");
9
+ // // @deno-types="./v1alpha1/credential_service_pb.d.ts"
10
+ // import { CredentialService } from './v1alpha1/credential_service_pb.js';
11
+ // // @deno-types="./customauth/v1/customauth_service_pb.d.ts"
12
+ // import { CustomAuthenticationService } from './customauth/v1/customauth_service_pb.d.ts';
13
+ function createTokenClient(baseUrl = 'http://localhost:9000') {
14
+ const transport = (0, connect_node_1.createGrpcTransport)({
15
+ baseUrl,
16
+ });
17
+ return (0, connect_1.createClient)(token_service_pb_js_1.TokenService, transport);
18
+ }
19
+ function createOAuth2TokenService(baseUrl = 'http://localhost:9000') {
20
+ const transport = (0, connect_node_1.createGrpcTransport)({
21
+ baseUrl,
22
+ });
23
+ return (0, connect_1.createClient)(token_service_pb_js_2.OAuth2TokenService, transport);
24
+ }
25
+ // export function createCredentialService(baseUrl: string = 'http://localhost:9000') {
26
+ // const transport = createGrpcTransport({
27
+ // baseUrl,
28
+ // });
29
+ // return createClient(CredentialService, transport);
30
+ // }
31
+ // export type CredentialService = ReturnType<typeof createCredentialService>;
32
+ // export function createCustomAuthService(baseUrl: string = 'http://localhost:9000') {
33
+ // const transport = createGrpcTransport({
34
+ // baseUrl,
35
+ // });
36
+ // return createClient(CustomAuthenticationService, transport);
37
+ // }
38
+ // export type CustomAuthClient = ReturnType<typeof createCustomAuthService>;
@@ -0,0 +1,2 @@
1
+ export { VersoriCredentialClient } from './client.js';
2
+ //# sourceMappingURL=mod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/src/dsl/http/versori/credentials/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VersoriCredentialClient = void 0;
4
+ var client_js_1 = require("./client.js");
5
+ Object.defineProperty(exports, "VersoriCredentialClient", { enumerable: true, get: function () { return client_js_1.VersoriCredentialClient; } });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Describes the file versori/credential/oauth2/v1/token.proto.
3
+ */
4
+ export const file_versori_credential_oauth2_v1_token: import("@bufbuild/protobuf").DescFile;
5
+ /**
6
+ * Describes the message versori.credential.oauth2.v1.Token.
7
+ * Use `create(TokenSchema)` to create a new message.
8
+ */
9
+ export const TokenSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
10
+ //# sourceMappingURL=token_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_pb.d.ts","sourceRoot":"","sources":["../../../../../../../../src/src/dsl/http/versori/credentials/oauth2/v1/token_pb.js"],"names":[],"mappings":"AAOA;;GAEG;AACH,4FACiV;AAEjV;;;GAGG;AACH,0JAC0D"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.2.3
3
+ // @generated from file versori/credential/oauth2/v1/token.proto (package versori.credential.oauth2.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TokenSchema = exports.file_versori_credential_oauth2_v1_token = void 0;
7
+ const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
8
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
9
+ /**
10
+ * Describes the file versori/credential/oauth2/v1/token.proto.
11
+ */
12
+ exports.file_versori_credential_oauth2_v1_token = (0, codegenv1_1.fileDesc)("Cih2ZXJzb3JpL2NyZWRlbnRpYWwvb2F1dGgyL3YxL3Rva2VuLnByb3RvEhx2ZXJzb3JpLmNyZWRlbnRpYWwub2F1dGgyLnYxIl0KBVRva2VuEhQKDGFjY2Vzc190b2tlbhgBIAEoCRISCgp0b2tlbl90eXBlGAIgASgJEioKBmV4cGlyeRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCJ1oldmVyc29yaS5kZXYvY3JlZGVudGlhbHMvYXBpL29hdXRoMi92MWIGcHJvdG8z", [wkt_1.file_google_protobuf_timestamp]);
13
+ /**
14
+ * Describes the message versori.credential.oauth2.v1.Token.
15
+ * Use `create(TokenSchema)` to create a new message.
16
+ */
17
+ exports.TokenSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token, 0);
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Describes the file versori/credential/oauth2/v1/token_service.proto.
3
+ */
4
+ export const file_versori_credential_oauth2_v1_token_service: import("@bufbuild/protobuf").DescFile;
5
+ /**
6
+ * Describes the message versori.credential.oauth2.v1.GetAccessTokenRequest.
7
+ * Use `create(GetAccessTokenRequestSchema)` to create a new message.
8
+ */
9
+ export const GetAccessTokenRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
10
+ /**
11
+ * Describes the message versori.credential.oauth2.v1.GetAccessTokenResponse.
12
+ * Use `create(GetAccessTokenResponseSchema)` to create a new message.
13
+ */
14
+ export const GetAccessTokenResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
15
+ /**
16
+ * Describes the message versori.credential.oauth2.v1.HandleAuthorizationCallbackRequest.
17
+ * Use `create(HandleAuthorizationCallbackRequestSchema)` to create a new message.
18
+ */
19
+ export const HandleAuthorizationCallbackRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
20
+ /**
21
+ * Describes the message versori.credential.oauth2.v1.HandleAuthorizationCallbackResponse.
22
+ * Use `create(HandleAuthorizationCallbackResponseSchema)` to create a new message.
23
+ */
24
+ export const HandleAuthorizationCallbackResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
25
+ /**
26
+ * Describes the message versori.credential.oauth2.v1.CheckExpiryRequest.
27
+ * Use `create(CheckExpiryRequestSchema)` to create a new message.
28
+ */
29
+ export const CheckExpiryRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
30
+ /**
31
+ * Describes the message versori.credential.oauth2.v1.CheckExpiryResponse.
32
+ * Use `create(CheckExpiryResponseSchema)` to create a new message.
33
+ */
34
+ export const CheckExpiryResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
35
+ /**
36
+ * Describes the message versori.credential.oauth2.v1.CreateClientCredentialTokenRequest.
37
+ * Use `create(CreateClientCredentialTokenRequestSchema)` to create a new message.
38
+ */
39
+ export const CreateClientCredentialTokenRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
40
+ /**
41
+ * Describes the message versori.credential.oauth2.v1.CreateClientCredentialTokenRequest.ClientConfig.
42
+ * Use `create(CreateClientCredentialTokenRequest_ClientConfigSchema)` to create a new message.
43
+ */
44
+ export const CreateClientCredentialTokenRequest_ClientConfigSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
45
+ /**
46
+ * Describes the message versori.credential.oauth2.v1.CreateClientCredentialTokenResponse.
47
+ * Use `create(CreateClientCredentialTokenResponseSchema)` to create a new message.
48
+ */
49
+ export const CreateClientCredentialTokenResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
50
+ /**
51
+ * Describes the message versori.credential.oauth2.v1.CreateResourceOwnerCredentialRequest.
52
+ * Use `create(CreateResourceOwnerCredentialRequestSchema)` to create a new message.
53
+ */
54
+ export const CreateResourceOwnerCredentialRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
55
+ /**
56
+ * Describes the message versori.credential.oauth2.v1.CreateResourceOwnerCredentialResponse.
57
+ * Use `create(CreateResourceOwnerCredentialResponseSchema)` to create a new message.
58
+ */
59
+ export const CreateResourceOwnerCredentialResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
60
+ /**
61
+ * OAuth2TokenService wraps the CredentialService and provides capability specifically around OAuth 2.0.
62
+ *
63
+ * This service should never be exposed to the outside world and is only for internal use of configuring new connections
64
+ * between Apps and organisations, and the execution of boards on behalf of organisations.
65
+ *
66
+ * @generated from service versori.credential.oauth2.v1.OAuth2TokenService
67
+ */
68
+ export const OAuth2TokenService: import("@bufbuild/protobuf/codegenv1").GenService<import("@bufbuild/protobuf/codegenv1").GenServiceMethods>;
69
+ //# 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/credentials/oauth2/v1/token_service_pb.js"],"names":[],"mappings":"AAWA;;GAEG;AACH,oGAC8rH;AAE9rH;;;GAGG;AACH,0KACkE;AAElE;;;GAGG;AACH,2KACkE;AAElE;;;GAGG;AACH,uLACkE;AAElE;;;GAGG;AACH,wLACkE;AAElE;;;GAGG;AACH,uKACkE;AAElE;;;GAGG;AACH,wKACkE;AAElE;;;GAGG;AACH,uLACkE;AAElE;;;GAGG;AACH,oMACqE;AAErE;;;GAGG;AACH,wLACkE;AAElE;;;GAGG;AACH,yLACkE;AAElE;;;GAGG;AACH,0LACkE;AAElE;;;;;;;GAOG;AACH,6IACkE"}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.2.3
3
+ // @generated from file versori/credential/oauth2/v1/token_service.proto (package versori.credential.oauth2.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OAuth2TokenService = exports.CreateResourceOwnerCredentialResponseSchema = exports.CreateResourceOwnerCredentialRequestSchema = exports.CreateClientCredentialTokenResponseSchema = exports.CreateClientCredentialTokenRequest_ClientConfigSchema = exports.CreateClientCredentialTokenRequestSchema = exports.CheckExpiryResponseSchema = exports.CheckExpiryRequestSchema = exports.HandleAuthorizationCallbackResponseSchema = exports.HandleAuthorizationCallbackRequestSchema = exports.GetAccessTokenResponseSchema = exports.GetAccessTokenRequestSchema = exports.file_versori_credential_oauth2_v1_token_service = void 0;
7
+ const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
8
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
9
+ // import { file_validate_validate } from "../../../../validate/validate_pb.js";
10
+ const token_pb_js_1 = require("./token_pb.js");
11
+ const credential_pb_js_1 = require("../../v1alpha1/credential_pb.js");
12
+ /**
13
+ * Describes the file versori/credential/oauth2/v1/token_service.proto.
14
+ */
15
+ exports.file_versori_credential_oauth2_v1_token_service = (0, codegenv1_1.fileDesc)("CjB2ZXJzb3JpL2NyZWRlbnRpYWwvb2F1dGgyL3YxL3Rva2VuX3NlcnZpY2UucHJvdG8SHHZlcnNvcmkuY3JlZGVudGlhbC5vYXV0aDIudjEiLgoVR2V0QWNjZXNzVG9rZW5SZXF1ZXN0EhUKDWNyZWRl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sLm9hdXRoMi52MS5DcmVhdGVSZXNvdXJjZU93bmVyQ3JlZGVudGlhbFJlcXVlc3QaQy52ZXJzb3JpLmNyZWRlbnRpYWwub2F1dGgyLnYxLkNyZWF0ZVJlc291cmNlT3duZXJDcmVkZW50aWFsUmVzcG9uc2VCJ1oldmVyc29yaS5kZXYvY3JlZGVudGlhbHMvYXBpL29hdXRoMi92MWIGcHJvdG8z", [wkt_1.file_google_protobuf_timestamp, wkt_1.file_google_protobuf_duration, token_pb_js_1.file_versori_credential_oauth2_v1_token, credential_pb_js_1.file_versori_credential_v1alpha1_credential]);
16
+ /**
17
+ * Describes the message versori.credential.oauth2.v1.GetAccessTokenRequest.
18
+ * Use `create(GetAccessTokenRequestSchema)` to create a new message.
19
+ */
20
+ exports.GetAccessTokenRequestSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 0);
21
+ /**
22
+ * Describes the message versori.credential.oauth2.v1.GetAccessTokenResponse.
23
+ * Use `create(GetAccessTokenResponseSchema)` to create a new message.
24
+ */
25
+ exports.GetAccessTokenResponseSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 1);
26
+ /**
27
+ * Describes the message versori.credential.oauth2.v1.HandleAuthorizationCallbackRequest.
28
+ * Use `create(HandleAuthorizationCallbackRequestSchema)` to create a new message.
29
+ */
30
+ exports.HandleAuthorizationCallbackRequestSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 2);
31
+ /**
32
+ * Describes the message versori.credential.oauth2.v1.HandleAuthorizationCallbackResponse.
33
+ * Use `create(HandleAuthorizationCallbackResponseSchema)` to create a new message.
34
+ */
35
+ exports.HandleAuthorizationCallbackResponseSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 3);
36
+ /**
37
+ * Describes the message versori.credential.oauth2.v1.CheckExpiryRequest.
38
+ * Use `create(CheckExpiryRequestSchema)` to create a new message.
39
+ */
40
+ exports.CheckExpiryRequestSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 4);
41
+ /**
42
+ * Describes the message versori.credential.oauth2.v1.CheckExpiryResponse.
43
+ * Use `create(CheckExpiryResponseSchema)` to create a new message.
44
+ */
45
+ exports.CheckExpiryResponseSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 5);
46
+ /**
47
+ * Describes the message versori.credential.oauth2.v1.CreateClientCredentialTokenRequest.
48
+ * Use `create(CreateClientCredentialTokenRequestSchema)` to create a new message.
49
+ */
50
+ exports.CreateClientCredentialTokenRequestSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 6);
51
+ /**
52
+ * Describes the message versori.credential.oauth2.v1.CreateClientCredentialTokenRequest.ClientConfig.
53
+ * Use `create(CreateClientCredentialTokenRequest_ClientConfigSchema)` to create a new message.
54
+ */
55
+ exports.CreateClientCredentialTokenRequest_ClientConfigSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 6, 0);
56
+ /**
57
+ * Describes the message versori.credential.oauth2.v1.CreateClientCredentialTokenResponse.
58
+ * Use `create(CreateClientCredentialTokenResponseSchema)` to create a new message.
59
+ */
60
+ exports.CreateClientCredentialTokenResponseSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 7);
61
+ /**
62
+ * Describes the message versori.credential.oauth2.v1.CreateResourceOwnerCredentialRequest.
63
+ * Use `create(CreateResourceOwnerCredentialRequestSchema)` to create a new message.
64
+ */
65
+ exports.CreateResourceOwnerCredentialRequestSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 8);
66
+ /**
67
+ * Describes the message versori.credential.oauth2.v1.CreateResourceOwnerCredentialResponse.
68
+ * Use `create(CreateResourceOwnerCredentialResponseSchema)` to create a new message.
69
+ */
70
+ exports.CreateResourceOwnerCredentialResponseSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_oauth2_v1_token_service, 9);
71
+ /**
72
+ * OAuth2TokenService wraps the CredentialService and provides capability specifically around OAuth 2.0.
73
+ *
74
+ * This service should never be exposed to the outside world and is only for internal use of configuring new connections
75
+ * between Apps and organisations, and the execution of boards on behalf of organisations.
76
+ *
77
+ * @generated from service versori.credential.oauth2.v1.OAuth2TokenService
78
+ */
79
+ exports.OAuth2TokenService = (0, codegenv1_1.serviceDesc)(exports.file_versori_credential_oauth2_v1_token_service, 0);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Describes the file versori/credential/tokens/v1/token.proto.
3
+ */
4
+ export const file_versori_credential_tokens_v1_token: import("@bufbuild/protobuf").DescFile;
5
+ /**
6
+ * Describes the message versori.credential.tokens.v1.Token.
7
+ * Use `create(TokenSchema)` to create a new message.
8
+ */
9
+ export const TokenSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
10
+ //# sourceMappingURL=token_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"token_pb.d.ts","sourceRoot":"","sources":["../../../../../../../../src/src/dsl/http/versori/credentials/tokens/v1/token_pb.js"],"names":[],"mappings":"AAOA;;GAEG;AACH,4FACiV;AAEjV;;;GAGG;AACH,0JAC0D"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.2.3
3
+ // @generated from file versori/credential/tokens/v1/token.proto (package versori.credential.tokens.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TokenSchema = exports.file_versori_credential_tokens_v1_token = void 0;
7
+ const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
8
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
9
+ /**
10
+ * Describes the file versori/credential/tokens/v1/token.proto.
11
+ */
12
+ exports.file_versori_credential_tokens_v1_token = (0, codegenv1_1.fileDesc)("Cih2ZXJzb3JpL2NyZWRlbnRpYWwvdG9rZW5zL3YxL3Rva2VuLnByb3RvEhx2ZXJzb3JpLmNyZWRlbnRpYWwudG9rZW5zLnYxIl0KBVRva2VuEhQKDGFjY2Vzc190b2tlbhgBIAEoCRISCgp0b2tlbl90eXBlGAIgASgJEioKBmV4cGlyeRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCJ1oldmVyc29yaS5kZXYvY3JlZGVudGlhbHMvYXBpL3Rva2Vucy92MWIGcHJvdG8z", [wkt_1.file_google_protobuf_timestamp]);
13
+ /**
14
+ * Describes the message versori.credential.tokens.v1.Token.
15
+ * Use `create(TokenSchema)` to create a new message.
16
+ */
17
+ exports.TokenSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_tokens_v1_token, 0);
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Describes the file versori/credential/tokens/v1/token_service.proto.
3
+ */
4
+ export const file_versori_credential_tokens_v1_token_service: import("@bufbuild/protobuf").DescFile;
5
+ /**
6
+ * Describes the message versori.credential.tokens.v1.GetTokenRequest.
7
+ * Use `create(GetTokenRequestSchema)` to create a new message.
8
+ */
9
+ export const GetTokenRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
10
+ /**
11
+ * Describes the message versori.credential.tokens.v1.GetTokenResponse.
12
+ * Use `create(GetTokenResponseSchema)` to create a new message.
13
+ */
14
+ export const GetTokenResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
15
+ /**
16
+ * Describes the message versori.credential.tokens.v1.CheckExpiryRequest.
17
+ * Use `create(CheckExpiryRequestSchema)` to create a new message.
18
+ */
19
+ export const CheckExpiryRequestSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
20
+ /**
21
+ * Describes the message versori.credential.tokens.v1.CheckExpiryResponse.
22
+ * Use `create(CheckExpiryResponseSchema)` to create a new message.
23
+ */
24
+ export const CheckExpiryResponseSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
25
+ /**
26
+ * TokenService wraps the CredentialService and provides capability specifically around OAuth 2.0.
27
+ *
28
+ * This service should never be exposed to the outside world and is only for internal use of configuring new connections
29
+ * between Apps and organisations, and the execution of boards on behalf of organisations.
30
+ *
31
+ * @generated from service versori.credential.tokens.v1.TokenService
32
+ */
33
+ export const TokenService: import("@bufbuild/protobuf/codegenv1").GenService<import("@bufbuild/protobuf/codegenv1").GenServiceMethods>;
34
+ //# 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/credentials/tokens/v1/token_service_pb.js"],"names":[],"mappings":"AASA;;GAEG;AACH,oGAC6lC;AAE7lC;;;GAGG;AACH,oKACkE;AAElE;;;GAGG;AACH,qKACkE;AAElE;;;GAGG;AACH,uKACkE;AAElE;;;GAGG;AACH,wKACkE;AAElE;;;;;;;GAOG;AACH,uIACkE"}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.2.3
3
+ // @generated from file versori/credential/tokens/v1/token_service.proto (package versori.credential.tokens.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TokenService = exports.CheckExpiryResponseSchema = exports.CheckExpiryRequestSchema = exports.GetTokenResponseSchema = exports.GetTokenRequestSchema = exports.file_versori_credential_tokens_v1_token_service = void 0;
7
+ const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
8
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
9
+ const token_pb_js_1 = require("./token_pb.js");
10
+ const credential_pb_js_1 = require("../../v1alpha1/credential_pb.js");
11
+ /**
12
+ * Describes the file versori/credential/tokens/v1/token_service.proto.
13
+ */
14
+ exports.file_versori_credential_tokens_v1_token_service = (0, codegenv1_1.fileDesc)("CjB2ZXJzb3JpL2NyZWRlbnRpYWwvdG9rZW5zL3YxL3Rva2VuX3NlcnZpY2UucHJvdG8SHHZlcnNvcmkuY3JlZGVudGlhbC50b2tlbnMudjEiPwoPR2V0VG9rZW5SZXF1ZXN0EhUKDWNyZWRlbnRpYWxfaWQYASABKAkSFQoNZm9yY2VfcmVmcmVzaBgCIAEoCCJGChBHZXRUb2tlblJlc3BvbnNlEjIKBXRva2VuGAEgASgLMiMudmVyc29yaS5jcmVkZW50aWFsLnRva2Vucy52MS5Ub2tlbiJxChJDaGVja0V4cGlyeVJlcXVlc3QSFQoNY3JlZGVudGlhbF9pZBgBIAEoCRIwCg1leHBpcnlfYnVmZmVyGAIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEhIKCm5vX3JlZnJlc2gYAyABKAgiWgoTQ2hlY2tFeHBpcnlSZXNwb25zZRIuCgpleHBpcmVzX2F0GAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBITCgtkaWRfcmVmcmVzaBgCIAEoCDLtAQoMVG9rZW5TZXJ2aWNlEmkKCEdldFRva2VuEi0udmVyc29yaS5jcmVkZW50aWFsLnRva2Vucy52MS5HZXRUb2tlblJlcXVlc3QaLi52ZXJzb3JpLmNyZWRlbnRpYWwudG9rZW5zLnYxLkdldFRva2VuUmVzcG9uc2UScgoLQ2hlY2tFeHBpcnkSMC52ZXJzb3JpLmNyZWRlbnRpYWwudG9rZW5zLnYxLkNoZWNrRXhwaXJ5UmVxdWVzdBoxLnZlcnNvcmkuY3JlZGVudGlhbC50b2tlbnMudjEuQ2hlY2tFeHBpcnlSZXNwb25zZUInWiV2ZXJzb3JpLmRldi9jcmVkZW50aWFscy9hcGkvdG9rZW5zL3YxYgZwcm90bzM", [wkt_1.file_google_protobuf_timestamp, wkt_1.file_google_protobuf_duration, token_pb_js_1.file_versori_credential_tokens_v1_token, credential_pb_js_1.file_versori_credential_v1alpha1_credential]);
15
+ /**
16
+ * Describes the message versori.credential.tokens.v1.GetTokenRequest.
17
+ * Use `create(GetTokenRequestSchema)` to create a new message.
18
+ */
19
+ exports.GetTokenRequestSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_tokens_v1_token_service, 0);
20
+ /**
21
+ * Describes the message versori.credential.tokens.v1.GetTokenResponse.
22
+ * Use `create(GetTokenResponseSchema)` to create a new message.
23
+ */
24
+ exports.GetTokenResponseSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_tokens_v1_token_service, 1);
25
+ /**
26
+ * Describes the message versori.credential.tokens.v1.CheckExpiryRequest.
27
+ * Use `create(CheckExpiryRequestSchema)` to create a new message.
28
+ */
29
+ exports.CheckExpiryRequestSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_tokens_v1_token_service, 2);
30
+ /**
31
+ * Describes the message versori.credential.tokens.v1.CheckExpiryResponse.
32
+ * Use `create(CheckExpiryResponseSchema)` to create a new message.
33
+ */
34
+ exports.CheckExpiryResponseSchema = (0, codegenv1_1.messageDesc)(exports.file_versori_credential_tokens_v1_token_service, 3);
35
+ /**
36
+ * TokenService wraps the CredentialService and provides capability specifically around OAuth 2.0.
37
+ *
38
+ * This service should never be exposed to the outside world and is only for internal use of configuring new connections
39
+ * between Apps and organisations, and the execution of boards on behalf of organisations.
40
+ *
41
+ * @generated from service versori.credential.tokens.v1.TokenService
42
+ */
43
+ exports.TokenService = (0, codegenv1_1.serviceDesc)(exports.file_versori_credential_tokens_v1_token_service, 0);
@@ -0,0 +1,165 @@
1
+ /**
2
+ * Describes the file versori/credential/v1alpha1/credential.proto.
3
+ */
4
+ export const file_versori_credential_v1alpha1_credential: import("@bufbuild/protobuf").DescFile;
5
+ /**
6
+ * Describes the message versori.credential.v1alpha1.Credential.
7
+ * Use `create(CredentialSchema)` to create a new message.
8
+ */
9
+ export const CredentialSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
10
+ /**
11
+ * Describes the enum versori.credential.v1alpha1.Credential.Type.
12
+ */
13
+ export const Credential_TypeSchema: import("@bufbuild/protobuf/codegenv1").GenEnum<number, import("@bufbuild/protobuf").JsonValue>;
14
+ /**
15
+ * @generated from enum versori.credential.v1alpha1.Credential.Type
16
+ */
17
+ export const Credential_Type: {
18
+ [key: number]: string;
19
+ [k: string]: string | number;
20
+ };
21
+ /**
22
+ * Describes the message versori.credential.v1alpha1.CredentialDataOAuth2Token.
23
+ * Use `create(CredentialDataOAuth2TokenSchema)` to create a new message.
24
+ */
25
+ export const CredentialDataOAuth2TokenSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
26
+ /**
27
+ * Describes the message versori.credential.v1alpha1.CredentialDataRaw.
28
+ * Use `create(CredentialDataRawSchema)` to create a new message.
29
+ */
30
+ export const CredentialDataRawSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
31
+ /**
32
+ * Describes the message versori.credential.v1alpha1.CredentialHTTPRefreshData.
33
+ * Use `create(CredentialHTTPRefreshDataSchema)` to create a new message.
34
+ */
35
+ export const CredentialHTTPRefreshDataSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
36
+ /**
37
+ * Describes the message versori.credential.v1alpha1.CredentialHTTPRefreshConfig.
38
+ * Use `create(CredentialHTTPRefreshConfigSchema)` to create a new message.
39
+ */
40
+ export const CredentialHTTPRefreshConfigSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
41
+ /**
42
+ * Describes the message versori.credential.v1alpha1.CredentialCustomFunction.
43
+ * Use `create(CredentialCustomFunctionSchema)` to create a new message.
44
+ */
45
+ export const CredentialCustomFunctionSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
46
+ /**
47
+ * Describes the message versori.credential.v1alpha1.HTTPRefreshConfig.
48
+ * Use `create(HTTPRefreshConfigSchema)` to create a new message.
49
+ */
50
+ export const HTTPRefreshConfigSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
51
+ /**
52
+ * Describes the message versori.credential.v1alpha1.HTTPRefreshConfig.RequestTemplate.
53
+ * Use `create(HTTPRefreshConfig_RequestTemplateSchema)` to create a new message.
54
+ */
55
+ export const HTTPRefreshConfig_RequestTemplateSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
56
+ /**
57
+ * Describes the message versori.credential.v1alpha1.HTTPRefreshConfig.RequestTemplate.HeaderValue.
58
+ * Use `create(HTTPRefreshConfig_RequestTemplate_HeaderValueSchema)` to create a new message.
59
+ */
60
+ export const HTTPRefreshConfig_RequestTemplate_HeaderValueSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
61
+ /**
62
+ * Describes the message versori.credential.v1alpha1.HTTPRefreshConfig.RequestTemplate.CredentialTarget.
63
+ * Use `create(HTTPRefreshConfig_RequestTemplate_CredentialTargetSchema)` to create a new message.
64
+ */
65
+ export const HTTPRefreshConfig_RequestTemplate_CredentialTargetSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
66
+ /**
67
+ * Describes the message versori.credential.v1alpha1.HTTPRefreshConfig.RequestTemplate.CredentialTarget.Body.
68
+ * Use `create(HTTPRefreshConfig_RequestTemplate_CredentialTarget_BodySchema)` to create a new message.
69
+ */
70
+ export const HTTPRefreshConfig_RequestTemplate_CredentialTarget_BodySchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
71
+ /**
72
+ * Describes the message versori.credential.v1alpha1.HTTPRefreshConfig.RequestTemplate.CredentialTarget.Header.
73
+ * Use `create(HTTPRefreshConfig_RequestTemplate_CredentialTarget_HeaderSchema)` to create a new message.
74
+ */
75
+ export const HTTPRefreshConfig_RequestTemplate_CredentialTarget_HeaderSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
76
+ /**
77
+ * Describes the message versori.credential.v1alpha1.HTTPRefreshConfig.Selector.
78
+ * Use `create(HTTPRefreshConfig_SelectorSchema)` to create a new message.
79
+ */
80
+ export const HTTPRefreshConfig_SelectorSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
81
+ /**
82
+ * Describes the message versori.credential.v1alpha1.HTTPRefreshConfig.Selector.BodySelector.
83
+ * Use `create(HTTPRefreshConfig_Selector_BodySelectorSchema)` to create a new message.
84
+ */
85
+ export const HTTPRefreshConfig_Selector_BodySelectorSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
86
+ /**
87
+ * Describes the message versori.credential.v1alpha1.HTTPRefreshConfig.Selector.BodySelector.GvalExpression.
88
+ * Use `create(HTTPRefreshConfig_Selector_BodySelector_GvalExpressionSchema)` to create a new message.
89
+ */
90
+ export const HTTPRefreshConfig_Selector_BodySelector_GvalExpressionSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
91
+ /**
92
+ * Describes the message versori.credential.v1alpha1.CredentialDataBasicAuth.
93
+ * Use `create(CredentialDataBasicAuthSchema)` to create a new message.
94
+ */
95
+ export const CredentialDataBasicAuthSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
96
+ /**
97
+ * Describes the message versori.credential.v1alpha1.CredentialDataCertificate.
98
+ * Use `create(CredentialDataCertificateSchema)` to create a new message.
99
+ */
100
+ export const CredentialDataCertificateSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
101
+ /**
102
+ * Describes the message versori.credential.v1alpha1.CredentialDataOAuth2Client.
103
+ * Use `create(CredentialDataOAuth2ClientSchema)` to create a new message.
104
+ */
105
+ export const CredentialDataOAuth2ClientSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
106
+ /**
107
+ * Describes the message versori.credential.v1alpha1.CredentialDataOAuth2Client.ParameterConfig.
108
+ * Use `create(CredentialDataOAuth2Client_ParameterConfigSchema)` to create a new message.
109
+ */
110
+ export const CredentialDataOAuth2Client_ParameterConfigSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
111
+ /**
112
+ * Describes the enum versori.credential.v1alpha1.CredentialDataOAuth2Client.ParameterConfig.Location.
113
+ */
114
+ export const CredentialDataOAuth2Client_ParameterConfig_LocationSchema: import("@bufbuild/protobuf/codegenv1").GenEnum<number, import("@bufbuild/protobuf").JsonValue>;
115
+ /**
116
+ * @generated from enum versori.credential.v1alpha1.CredentialDataOAuth2Client.ParameterConfig.Location
117
+ */
118
+ export const CredentialDataOAuth2Client_ParameterConfig_Location: {
119
+ [key: number]: string;
120
+ [k: string]: string | number;
121
+ };
122
+ /**
123
+ * Describes the enum versori.credential.v1alpha1.CredentialDataOAuth2Client.ParameterConfig.From.
124
+ */
125
+ export const CredentialDataOAuth2Client_ParameterConfig_FromSchema: import("@bufbuild/protobuf/codegenv1").GenEnum<number, import("@bufbuild/protobuf").JsonValue>;
126
+ /**
127
+ * @generated from enum versori.credential.v1alpha1.CredentialDataOAuth2Client.ParameterConfig.From
128
+ */
129
+ export const CredentialDataOAuth2Client_ParameterConfig_From: {
130
+ [key: number]: string;
131
+ [k: string]: string | number;
132
+ };
133
+ /**
134
+ * Describes the enum versori.credential.v1alpha1.CredentialDataOAuth2Client.AuthStyle.
135
+ */
136
+ export const CredentialDataOAuth2Client_AuthStyleSchema: import("@bufbuild/protobuf/codegenv1").GenEnum<number, import("@bufbuild/protobuf").JsonValue>;
137
+ /**
138
+ * @generated from enum versori.credential.v1alpha1.CredentialDataOAuth2Client.AuthStyle
139
+ */
140
+ export const CredentialDataOAuth2Client_AuthStyle: {
141
+ [key: number]: string;
142
+ [k: string]: string | number;
143
+ };
144
+ /**
145
+ * Describes the enum versori.credential.v1alpha1.CredentialDataOAuth2Client.Flow.
146
+ */
147
+ export const CredentialDataOAuth2Client_FlowSchema: import("@bufbuild/protobuf/codegenv1").GenEnum<number, import("@bufbuild/protobuf").JsonValue>;
148
+ /**
149
+ * @generated from enum versori.credential.v1alpha1.CredentialDataOAuth2Client.Flow
150
+ */
151
+ export const CredentialDataOAuth2Client_Flow: {
152
+ [key: number]: string;
153
+ [k: string]: string | number;
154
+ };
155
+ /**
156
+ * Describes the message versori.credential.v1alpha1.CredentialDataOAuth2ResourceOwner.
157
+ * Use `create(CredentialDataOAuth2ResourceOwnerSchema)` to create a new message.
158
+ */
159
+ export const CredentialDataOAuth2ResourceOwnerSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
160
+ /**
161
+ * Describes the message versori.credential.v1alpha1.CredentialDataJWTBearer.
162
+ * Use `create(CredentialDataJWTBearerSchema)` to create a new message.
163
+ */
164
+ export const CredentialDataJWTBearerSchema: import("@bufbuild/protobuf/codegenv1").GenMessage<import("@bufbuild/protobuf").Message, import("@bufbuild/protobuf").JsonValue>;
165
+ //# sourceMappingURL=credential_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credential_pb.d.ts","sourceRoot":"","sources":["../../../../../../../src/src/dsl/http/versori/credentials/v1alpha1/credential_pb.js"],"names":[],"mappings":"AAQA;;GAEG;AACH,gGAC+zK;AAE/zK;;;GAGG;AACH,+JAC8D;AAE9D;;GAEG;AACH,mIAC8D;AAE9D;;GAEG;AACH;;;EACgC;AAEhC;;;GAGG;AACH,8KAC8D;AAE9D;;;GAGG;AACH,sKAC8D;AAE9D;;;GAGG;AACH,8KAC8D;AAE9D;;;GAGG;AACH,gLAC8D;AAE9D;;;GAGG;AACH,6KAC8D;AAE9D;;;GAGG;AACH,sKAC8D;AAE9D;;;GAGG;AACH,sLACiE;AAEjE;;;GAGG;AACH,kMACoE;AAEpE;;;GAGG;AACH,uMACoE;AAEpE;;;GAGG;AACH,4MACuE;AAEvE;;;GAGG;AACH,8MACuE;AAEvE;;;GAGG;AACH,+KACiE;AAEjE;;;GAGG;AACH,4LACoE;AAEpE;;;GAGG;AACH,2MACuE;AAEvE;;;GAGG;AACH,4KAC8D;AAE9D;;;GAGG;AACH,8KAC8D;AAE9D;;;GAGG;AACH,+KAC8D;AAE9D;;;GAGG;AACH,+LACiE;AAEjE;;GAEG;AACH,uKACiE;AAEjE;;GAEG;AACH;;;EACoE;AAEpE;;GAEG;AACH,mKACiE;AAEjE;;GAEG;AACH;;;EACgE;AAEhE;;GAEG;AACH,wJAC8D;AAE9D;;GAEG;AACH;;;EACqD;AAErD;;GAEG;AACH,mJAC8D;AAE9D;;GAEG;AACH;;;EACgD;AAEhD;;;GAGG;AACH,sLAC+D;AAE/D;;;GAGG;AACH,4KAC+D"}