@structured-id/proto 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/generated/sid/v1/account/account.client.d.ts +34 -16
  3. package/dist/generated/sid/v1/account/account.client.js +17 -8
  4. package/dist/generated/sid/v1/account/account.client.js.map +1 -1
  5. package/dist/generated/sid/v1/account/account.js +8 -8
  6. package/dist/generated/sid/v1/account/account.js.map +1 -1
  7. package/dist/generated/sid/v1/admin/admin.js +2 -2
  8. package/dist/generated/sid/v1/admin/admin.js.map +1 -1
  9. package/dist/generated/sid/v1/admin/branding.client.d.ts +2 -0
  10. package/dist/generated/sid/v1/admin/branding.client.js +1 -0
  11. package/dist/generated/sid/v1/admin/branding.client.js.map +1 -1
  12. package/dist/generated/sid/v1/admin/branding.js +2 -2
  13. package/dist/generated/sid/v1/admin/branding.js.map +1 -1
  14. package/dist/generated/sid/v1/admin/enrollment.client.d.ts +29 -0
  15. package/dist/generated/sid/v1/admin/enrollment.client.js +22 -3
  16. package/dist/generated/sid/v1/admin/enrollment.client.js.map +1 -1
  17. package/dist/generated/sid/v1/admin/enrollment.d.ts +128 -2
  18. package/dist/generated/sid/v1/admin/enrollment.js +238 -1
  19. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  20. package/dist/generated/sid/v1/admin/flow.client.d.ts +12 -6
  21. package/dist/generated/sid/v1/admin/flow.client.js +6 -3
  22. package/dist/generated/sid/v1/admin/flow.client.js.map +1 -1
  23. package/dist/generated/sid/v1/admin/flow.js +7 -7
  24. package/dist/generated/sid/v1/admin/flow.js.map +1 -1
  25. package/dist/generated/sid/v1/admin/notifications.js +2 -2
  26. package/dist/generated/sid/v1/admin/notifications.js.map +1 -1
  27. package/dist/generated/sid/v1/admin/provisioning.js +4 -4
  28. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
  29. package/dist/generated/sid/v1/admin/security.client.d.ts +4 -2
  30. package/dist/generated/sid/v1/admin/security.client.js +2 -1
  31. package/dist/generated/sid/v1/admin/security.client.js.map +1 -1
  32. package/dist/generated/sid/v1/admin/security.js +2 -2
  33. package/dist/generated/sid/v1/admin/security.js.map +1 -1
  34. package/dist/generated/sid/v1/attestation/attestation.client.d.ts +4 -2
  35. package/dist/generated/sid/v1/attestation/attestation.client.js +2 -1
  36. package/dist/generated/sid/v1/attestation/attestation.client.js.map +1 -1
  37. package/dist/generated/sid/v1/attestation/attestation.js +4 -4
  38. package/dist/generated/sid/v1/attestation/attestation.js.map +1 -1
  39. package/dist/generated/sid/v1/authn/application_session.client.d.ts +170 -0
  40. package/dist/generated/sid/v1/authn/application_session.client.js +98 -0
  41. package/dist/generated/sid/v1/authn/application_session.client.js.map +1 -0
  42. package/dist/generated/sid/v1/authn/application_session.d.ts +224 -0
  43. package/dist/generated/sid/v1/authn/application_session.js +380 -0
  44. package/dist/generated/sid/v1/authn/application_session.js.map +1 -0
  45. package/dist/generated/sid/v1/authn/auth.client.d.ts +10 -2
  46. package/dist/generated/sid/v1/authn/auth.client.js +5 -1
  47. package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
  48. package/dist/generated/sid/v1/authn/auth.d.ts +0 -12
  49. package/dist/generated/sid/v1/authn/auth.js +2 -18
  50. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  51. package/dist/generated/sid/v1/authn/issuer.client.d.ts +10 -4
  52. package/dist/generated/sid/v1/authn/issuer.client.js +5 -2
  53. package/dist/generated/sid/v1/authn/issuer.client.js.map +1 -1
  54. package/dist/generated/sid/v1/authn/issuer.js +11 -11
  55. package/dist/generated/sid/v1/authn/issuer.js.map +1 -1
  56. package/dist/generated/sid/v1/authn/system_integration.js +1 -1
  57. package/dist/generated/sid/v1/authn/system_integration.js.map +1 -1
  58. package/dist/generated/sid/v1/authz/authz.client.d.ts +0 -28
  59. package/dist/generated/sid/v1/authz/authz.client.js +25 -43
  60. package/dist/generated/sid/v1/authz/authz.client.js.map +1 -1
  61. package/dist/generated/sid/v1/authz/authz.d.ts +0 -96
  62. package/dist/generated/sid/v1/authz/authz.js +0 -230
  63. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  64. package/dist/generated/sid/v1/authz/forward_auth.js +1 -1
  65. package/dist/generated/sid/v1/authz/forward_auth.js.map +1 -1
  66. package/dist/generated/sid/v1/common/errors.d.ts +8 -0
  67. package/dist/generated/sid/v1/common/errors.js +8 -0
  68. package/dist/generated/sid/v1/common/errors.js.map +1 -1
  69. package/dist/generated/sid/v1/events/event_stream.js +2 -2
  70. package/dist/generated/sid/v1/events/event_stream.js.map +1 -1
  71. package/dist/generated/sid/v1/projects/projects.client.d.ts +10 -4
  72. package/dist/generated/sid/v1/projects/projects.client.js +5 -2
  73. package/dist/generated/sid/v1/projects/projects.client.js.map +1 -1
  74. package/dist/generated/sid/v1/projects/projects.js +2 -2
  75. package/dist/generated/sid/v1/projects/projects.js.map +1 -1
  76. package/dist/generated/sid/v1/scim/scim.client.d.ts +4 -2
  77. package/dist/generated/sid/v1/scim/scim.client.js +2 -1
  78. package/dist/generated/sid/v1/scim/scim.client.js.map +1 -1
  79. package/dist/generated/sid/v1/scim/scim.js +4 -4
  80. package/dist/generated/sid/v1/scim/scim.js.map +1 -1
  81. package/dist/generated/sid/v1/test/test.js +10 -10
  82. package/dist/generated/sid/v1/test/test.js.map +1 -1
  83. package/dist/generated/sid/v1/ui/public_settings.client.d.ts +66 -0
  84. package/dist/generated/sid/v1/ui/public_settings.client.js +42 -0
  85. package/dist/generated/sid/v1/ui/public_settings.client.js.map +1 -0
  86. package/dist/generated/sid/v1/ui/public_settings.d.ts +61 -0
  87. package/dist/generated/sid/v1/ui/public_settings.js +106 -0
  88. package/dist/generated/sid/v1/ui/public_settings.js.map +1 -0
  89. package/package.json +6 -6
@@ -29,7 +29,8 @@ export interface IFlowConfigServiceClient {
29
29
  */
30
30
  getFlowConfig(input: GetFlowConfigRequest, options?: RpcOptions): UnaryCall<GetFlowConfigRequest, FlowConfig>;
31
31
  /**
32
- * Save (create or update) flow config.
32
+ * Save (create or update) flow config. The stored config is replaced by
33
+ * the given one, so a repetition leaves the same config.
33
34
  *
34
35
  * @generated from protobuf rpc: SaveFlowConfig
35
36
  */
@@ -62,7 +63,8 @@ export declare class FlowConfigServiceClient implements IFlowConfigServiceClient
62
63
  */
63
64
  getFlowConfig(input: GetFlowConfigRequest, options?: RpcOptions): UnaryCall<GetFlowConfigRequest, FlowConfig>;
64
65
  /**
65
- * Save (create or update) flow config.
66
+ * Save (create or update) flow config. The stored config is replaced by
67
+ * the given one, so a repetition leaves the same config.
66
68
  *
67
69
  * @generated from protobuf rpc: SaveFlowConfig
68
70
  */
@@ -99,13 +101,15 @@ export interface IFlowActionServiceClient {
99
101
  */
100
102
  listFlowActions(input: ListFlowActionsRequest, options?: RpcOptions): UnaryCall<ListFlowActionsRequest, ListFlowActionsResponse>;
101
103
  /**
102
- * Update an existing action.
104
+ * Update an existing action. Only the given fields are written over the
105
+ * current revision, so a repetition leaves the same action.
103
106
  *
104
107
  * @generated from protobuf rpc: UpdateFlowAction
105
108
  */
106
109
  updateFlowAction(input: UpdateFlowActionRequest, options?: RpcOptions): UnaryCall<UpdateFlowActionRequest, FlowAction>;
107
110
  /**
108
- * Delete an action.
111
+ * Delete an action. A repetition removes nothing more and answers
112
+ * NOT_FOUND; idempotency is the effect, not the answer (RFC 9110 §9.2.2).
109
113
  *
110
114
  * @generated from protobuf rpc: DeleteFlowAction
111
115
  */
@@ -143,13 +147,15 @@ export declare class FlowActionServiceClient implements IFlowActionServiceClient
143
147
  */
144
148
  listFlowActions(input: ListFlowActionsRequest, options?: RpcOptions): UnaryCall<ListFlowActionsRequest, ListFlowActionsResponse>;
145
149
  /**
146
- * Update an existing action.
150
+ * Update an existing action. Only the given fields are written over the
151
+ * current revision, so a repetition leaves the same action.
147
152
  *
148
153
  * @generated from protobuf rpc: UpdateFlowAction
149
154
  */
150
155
  updateFlowAction(input: UpdateFlowActionRequest, options?: RpcOptions): UnaryCall<UpdateFlowActionRequest, FlowAction>;
151
156
  /**
152
- * Delete an action.
157
+ * Delete an action. A repetition removes nothing more and answers
158
+ * NOT_FOUND; idempotency is the effect, not the answer (RFC 9110 §9.2.2).
153
159
  *
154
160
  * @generated from protobuf rpc: DeleteFlowAction
155
161
  */
@@ -29,7 +29,8 @@ export class FlowConfigServiceClient {
29
29
  return stackIntercept("unary", this._transport, method, opt, input);
30
30
  }
31
31
  /**
32
- * Save (create or update) flow config.
32
+ * Save (create or update) flow config. The stored config is replaced by
33
+ * the given one, so a repetition leaves the same config.
33
34
  *
34
35
  * @generated from protobuf rpc: SaveFlowConfig
35
36
  */
@@ -88,7 +89,8 @@ export class FlowActionServiceClient {
88
89
  return stackIntercept("unary", this._transport, method, opt, input);
89
90
  }
90
91
  /**
91
- * Update an existing action.
92
+ * Update an existing action. Only the given fields are written over the
93
+ * current revision, so a repetition leaves the same action.
92
94
  *
93
95
  * @generated from protobuf rpc: UpdateFlowAction
94
96
  */
@@ -97,7 +99,8 @@ export class FlowActionServiceClient {
97
99
  return stackIntercept("unary", this._transport, method, opt, input);
98
100
  }
99
101
  /**
100
- * Delete an action.
102
+ * Delete an action. A repetition removes nothing more and answers
103
+ * NOT_FOUND; idempotency is the effect, not the answer (RFC 9110 §9.2.2).
101
104
  *
102
105
  * @generated from protobuf rpc: DeleteFlowAction
103
106
  */
@@ -1 +1 @@
1
- {"version":3,"file":"flow.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/admin/flow.client.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,kGAAkG;AAClG,iBAAiB;AACjB,cAAc;AACd,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAW9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AA+B1D;;;;;GAKG;AACH,MAAM,OAAO,uBAAuB;IAI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AC5E,OAAO,cAAc,CAAsC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC7G,CAAC;IACD;;;;OAIG;IACH,gBAAgB,CAAC,KAA8B,EAAE,OAAoB;QACjE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAiC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACxG,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/admin/flow.proto\" (package \"sid.v1.admin\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { FlowActionService } from \"./flow.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { DeleteFlowActionRequest } from \"./flow.js\";\nimport type { UpdateFlowActionRequest } from \"./flow.js\";\nimport type { ListFlowActionsResponse } from \"./flow.js\";\nimport type { ListFlowActionsRequest } from \"./flow.js\";\nimport type { GetFlowActionRequest } from \"./flow.js\";\nimport type { FlowAction } from \"./flow.js\";\nimport type { CreateFlowActionRequest } from \"./flow.js\";\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { FlowConfigService } from \"./flow.js\";\nimport type { ListFlowConfigsResponse } from \"./flow.js\";\nimport type { ListFlowConfigsRequest } from \"./flow.js\";\nimport type { SaveFlowConfigRequest } from \"./flow.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { FlowConfig } from \"./flow.js\";\nimport type { GetFlowConfigRequest } from \"./flow.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * FlowConfigService manages per-project, per-flow-type step configuration.\n * Flow structure is hardcoded — only step enable/disable and params are configurable.\n *\n * @generated from protobuf service sid.v1.admin.FlowConfigService\n */\nexport interface IFlowConfigServiceClient {\n /**\n * Get flow config for a specific project and flow type.\n *\n * @generated from protobuf rpc: GetFlowConfig\n */\n getFlowConfig(input: GetFlowConfigRequest, options?: RpcOptions): UnaryCall<GetFlowConfigRequest, FlowConfig>;\n /**\n * Save (create or update) flow config.\n *\n * @generated from protobuf rpc: SaveFlowConfig\n */\n saveFlowConfig(input: SaveFlowConfigRequest, options?: RpcOptions): UnaryCall<SaveFlowConfigRequest, FlowConfig>;\n /**\n * List all flow configs for a project.\n *\n * @generated from protobuf rpc: ListFlowConfigs\n */\n listFlowConfigs(input: ListFlowConfigsRequest, options?: RpcOptions): UnaryCall<ListFlowConfigsRequest, ListFlowConfigsResponse>;\n}\n/**\n * FlowConfigService manages per-project, per-flow-type step configuration.\n * Flow structure is hardcoded — only step enable/disable and params are configurable.\n *\n * @generated from protobuf service sid.v1.admin.FlowConfigService\n */\nexport class FlowConfigServiceClient implements IFlowConfigServiceClient, ServiceInfo {\n typeName = FlowConfigService.typeName;\n methods = FlowConfigService.methods;\n options = FlowConfigService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Get flow config for a specific project and flow type.\n *\n * @generated from protobuf rpc: GetFlowConfig\n */\n getFlowConfig(input: GetFlowConfigRequest, options?: RpcOptions): UnaryCall<GetFlowConfigRequest, FlowConfig> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetFlowConfigRequest, FlowConfig>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Save (create or update) flow config.\n *\n * @generated from protobuf rpc: SaveFlowConfig\n */\n saveFlowConfig(input: SaveFlowConfigRequest, options?: RpcOptions): UnaryCall<SaveFlowConfigRequest, FlowConfig> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<SaveFlowConfigRequest, FlowConfig>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all flow configs for a project.\n *\n * @generated from protobuf rpc: ListFlowConfigs\n */\n listFlowConfigs(input: ListFlowConfigsRequest, options?: RpcOptions): UnaryCall<ListFlowConfigsRequest, ListFlowConfigsResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListFlowConfigsRequest, ListFlowConfigsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n/**\n * FlowActionService manages webhook hooks attached to auth flow pipeline points.\n *\n * @generated from protobuf service sid.v1.admin.FlowActionService\n */\nexport interface IFlowActionServiceClient {\n /**\n * Create a new action.\n *\n * @generated from protobuf rpc: CreateFlowAction\n */\n createFlowAction(input: CreateFlowActionRequest, options?: RpcOptions): UnaryCall<CreateFlowActionRequest, FlowAction>;\n /**\n * Get an action by ID.\n *\n * @generated from protobuf rpc: GetFlowAction\n */\n getFlowAction(input: GetFlowActionRequest, options?: RpcOptions): UnaryCall<GetFlowActionRequest, FlowAction>;\n /**\n * List actions for a project + flow type, optionally filtered by action point.\n *\n * @generated from protobuf rpc: ListFlowActions\n */\n listFlowActions(input: ListFlowActionsRequest, options?: RpcOptions): UnaryCall<ListFlowActionsRequest, ListFlowActionsResponse>;\n /**\n * Update an existing action.\n *\n * @generated from protobuf rpc: UpdateFlowAction\n */\n updateFlowAction(input: UpdateFlowActionRequest, options?: RpcOptions): UnaryCall<UpdateFlowActionRequest, FlowAction>;\n /**\n * Delete an action.\n *\n * @generated from protobuf rpc: DeleteFlowAction\n */\n deleteFlowAction(input: DeleteFlowActionRequest, options?: RpcOptions): UnaryCall<DeleteFlowActionRequest, Empty>;\n}\n/**\n * FlowActionService manages webhook hooks attached to auth flow pipeline points.\n *\n * @generated from protobuf service sid.v1.admin.FlowActionService\n */\nexport class FlowActionServiceClient implements IFlowActionServiceClient, ServiceInfo {\n typeName = FlowActionService.typeName;\n methods = FlowActionService.methods;\n options = FlowActionService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Create a new action.\n *\n * @generated from protobuf rpc: CreateFlowAction\n */\n createFlowAction(input: CreateFlowActionRequest, options?: RpcOptions): UnaryCall<CreateFlowActionRequest, FlowAction> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateFlowActionRequest, FlowAction>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get an action by ID.\n *\n * @generated from protobuf rpc: GetFlowAction\n */\n getFlowAction(input: GetFlowActionRequest, options?: RpcOptions): UnaryCall<GetFlowActionRequest, FlowAction> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetFlowActionRequest, FlowAction>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List actions for a project + flow type, optionally filtered by action point.\n *\n * @generated from protobuf rpc: ListFlowActions\n */\n listFlowActions(input: ListFlowActionsRequest, options?: RpcOptions): UnaryCall<ListFlowActionsRequest, ListFlowActionsResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListFlowActionsRequest, ListFlowActionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update an existing action.\n *\n * @generated from protobuf rpc: UpdateFlowAction\n */\n updateFlowAction(input: UpdateFlowActionRequest, options?: RpcOptions): UnaryCall<UpdateFlowActionRequest, FlowAction> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateFlowActionRequest, FlowAction>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Delete an action.\n *\n * @generated from protobuf rpc: DeleteFlowAction\n */\n deleteFlowAction(input: DeleteFlowActionRequest, options?: RpcOptions): UnaryCall<DeleteFlowActionRequest, Empty> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteFlowActionRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
1
+ {"version":3,"file":"flow.client.js","sourceRoot":"","sources":["../../../../../src/generated/sid/v1/admin/flow.client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AAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACzH,CAAC;IACD;;;;;OAKG;IACH,gBAAgB,CAAC,KAA8B,EAAE,OAAoB;QACjE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAsC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC7G,CAAC;IACD;;;;;OAKG;IACH,gBAAgB,CAAC,KAA8B,EAAE,OAAoB;QACjE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,cAAc,CAAiC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACxG,CAAC;CACJ","sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies,ts_nocheck\n// @generated from protobuf file \"sid/v1/admin/flow.proto\" (package \"sid.v1.admin\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\nimport { FlowActionService } from \"./flow.js\";\nimport type { Empty } from \"../../../google/protobuf/empty.js\";\nimport type { DeleteFlowActionRequest } from \"./flow.js\";\nimport type { UpdateFlowActionRequest } from \"./flow.js\";\nimport type { ListFlowActionsResponse } from \"./flow.js\";\nimport type { ListFlowActionsRequest } from \"./flow.js\";\nimport type { GetFlowActionRequest } from \"./flow.js\";\nimport type { FlowAction } from \"./flow.js\";\nimport type { CreateFlowActionRequest } from \"./flow.js\";\nimport type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { FlowConfigService } from \"./flow.js\";\nimport type { ListFlowConfigsResponse } from \"./flow.js\";\nimport type { ListFlowConfigsRequest } from \"./flow.js\";\nimport type { SaveFlowConfigRequest } from \"./flow.js\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { FlowConfig } from \"./flow.js\";\nimport type { GetFlowConfigRequest } from \"./flow.js\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * FlowConfigService manages per-project, per-flow-type step configuration.\n * Flow structure is hardcoded — only step enable/disable and params are configurable.\n *\n * @generated from protobuf service sid.v1.admin.FlowConfigService\n */\nexport interface IFlowConfigServiceClient {\n /**\n * Get flow config for a specific project and flow type.\n *\n * @generated from protobuf rpc: GetFlowConfig\n */\n getFlowConfig(input: GetFlowConfigRequest, options?: RpcOptions): UnaryCall<GetFlowConfigRequest, FlowConfig>;\n /**\n * Save (create or update) flow config. The stored config is replaced by\n * the given one, so a repetition leaves the same config.\n *\n * @generated from protobuf rpc: SaveFlowConfig\n */\n saveFlowConfig(input: SaveFlowConfigRequest, options?: RpcOptions): UnaryCall<SaveFlowConfigRequest, FlowConfig>;\n /**\n * List all flow configs for a project.\n *\n * @generated from protobuf rpc: ListFlowConfigs\n */\n listFlowConfigs(input: ListFlowConfigsRequest, options?: RpcOptions): UnaryCall<ListFlowConfigsRequest, ListFlowConfigsResponse>;\n}\n/**\n * FlowConfigService manages per-project, per-flow-type step configuration.\n * Flow structure is hardcoded — only step enable/disable and params are configurable.\n *\n * @generated from protobuf service sid.v1.admin.FlowConfigService\n */\nexport class FlowConfigServiceClient implements IFlowConfigServiceClient, ServiceInfo {\n typeName = FlowConfigService.typeName;\n methods = FlowConfigService.methods;\n options = FlowConfigService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Get flow config for a specific project and flow type.\n *\n * @generated from protobuf rpc: GetFlowConfig\n */\n getFlowConfig(input: GetFlowConfigRequest, options?: RpcOptions): UnaryCall<GetFlowConfigRequest, FlowConfig> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetFlowConfigRequest, FlowConfig>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Save (create or update) flow config. The stored config is replaced by\n * the given one, so a repetition leaves the same config.\n *\n * @generated from protobuf rpc: SaveFlowConfig\n */\n saveFlowConfig(input: SaveFlowConfigRequest, options?: RpcOptions): UnaryCall<SaveFlowConfigRequest, FlowConfig> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<SaveFlowConfigRequest, FlowConfig>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List all flow configs for a project.\n *\n * @generated from protobuf rpc: ListFlowConfigs\n */\n listFlowConfigs(input: ListFlowConfigsRequest, options?: RpcOptions): UnaryCall<ListFlowConfigsRequest, ListFlowConfigsResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListFlowConfigsRequest, ListFlowConfigsResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n/**\n * FlowActionService manages webhook hooks attached to auth flow pipeline points.\n *\n * @generated from protobuf service sid.v1.admin.FlowActionService\n */\nexport interface IFlowActionServiceClient {\n /**\n * Create a new action.\n *\n * @generated from protobuf rpc: CreateFlowAction\n */\n createFlowAction(input: CreateFlowActionRequest, options?: RpcOptions): UnaryCall<CreateFlowActionRequest, FlowAction>;\n /**\n * Get an action by ID.\n *\n * @generated from protobuf rpc: GetFlowAction\n */\n getFlowAction(input: GetFlowActionRequest, options?: RpcOptions): UnaryCall<GetFlowActionRequest, FlowAction>;\n /**\n * List actions for a project + flow type, optionally filtered by action point.\n *\n * @generated from protobuf rpc: ListFlowActions\n */\n listFlowActions(input: ListFlowActionsRequest, options?: RpcOptions): UnaryCall<ListFlowActionsRequest, ListFlowActionsResponse>;\n /**\n * Update an existing action. Only the given fields are written over the\n * current revision, so a repetition leaves the same action.\n *\n * @generated from protobuf rpc: UpdateFlowAction\n */\n updateFlowAction(input: UpdateFlowActionRequest, options?: RpcOptions): UnaryCall<UpdateFlowActionRequest, FlowAction>;\n /**\n * Delete an action. A repetition removes nothing more and answers\n * NOT_FOUND; idempotency is the effect, not the answer (RFC 9110 §9.2.2).\n *\n * @generated from protobuf rpc: DeleteFlowAction\n */\n deleteFlowAction(input: DeleteFlowActionRequest, options?: RpcOptions): UnaryCall<DeleteFlowActionRequest, Empty>;\n}\n/**\n * FlowActionService manages webhook hooks attached to auth flow pipeline points.\n *\n * @generated from protobuf service sid.v1.admin.FlowActionService\n */\nexport class FlowActionServiceClient implements IFlowActionServiceClient, ServiceInfo {\n typeName = FlowActionService.typeName;\n methods = FlowActionService.methods;\n options = FlowActionService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Create a new action.\n *\n * @generated from protobuf rpc: CreateFlowAction\n */\n createFlowAction(input: CreateFlowActionRequest, options?: RpcOptions): UnaryCall<CreateFlowActionRequest, FlowAction> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<CreateFlowActionRequest, FlowAction>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Get an action by ID.\n *\n * @generated from protobuf rpc: GetFlowAction\n */\n getFlowAction(input: GetFlowActionRequest, options?: RpcOptions): UnaryCall<GetFlowActionRequest, FlowAction> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetFlowActionRequest, FlowAction>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * List actions for a project + flow type, optionally filtered by action point.\n *\n * @generated from protobuf rpc: ListFlowActions\n */\n listFlowActions(input: ListFlowActionsRequest, options?: RpcOptions): UnaryCall<ListFlowActionsRequest, ListFlowActionsResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListFlowActionsRequest, ListFlowActionsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Update an existing action. Only the given fields are written over the\n * current revision, so a repetition leaves the same action.\n *\n * @generated from protobuf rpc: UpdateFlowAction\n */\n updateFlowAction(input: UpdateFlowActionRequest, options?: RpcOptions): UnaryCall<UpdateFlowActionRequest, FlowAction> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<UpdateFlowActionRequest, FlowAction>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * Delete an action. A repetition removes nothing more and answers\n * NOT_FOUND; idempotency is the effect, not the answer (RFC 9110 §9.2.2).\n *\n * @generated from protobuf rpc: DeleteFlowAction\n */\n deleteFlowAction(input: DeleteFlowActionRequest, options?: RpcOptions): UnaryCall<DeleteFlowActionRequest, Empty> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<DeleteFlowActionRequest, Empty>(\"unary\", this._transport, method, opt, input);\n }\n}\n"]}
@@ -1167,18 +1167,18 @@ export const DeleteFlowActionRequest = new DeleteFlowActionRequest$Type();
1167
1167
  * @generated ServiceType for protobuf service sid.v1.admin.FlowConfigService
1168
1168
  */
1169
1169
  export const FlowConfigService = new ServiceType("sid.v1.admin.FlowConfigService", [
1170
- { name: "GetFlowConfig", options: { "google.api.http": { get: "/v1/projects/{project_id}/flows/{flow_type}" } }, I: GetFlowConfigRequest, O: FlowConfig },
1171
- { name: "SaveFlowConfig", options: { "google.api.http": { put: "/v1/projects/{project_id}/flows/{flow_type}", body: "*" } }, I: SaveFlowConfigRequest, O: FlowConfig },
1172
- { name: "ListFlowConfigs", options: { "google.api.http": { get: "/v1/projects/{project_id}/flows" } }, I: ListFlowConfigsRequest, O: ListFlowConfigsResponse }
1170
+ { name: "GetFlowConfig", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/projects/{project_id}/flows/{flow_type}" } }, I: GetFlowConfigRequest, O: FlowConfig },
1171
+ { name: "SaveFlowConfig", idempotency: "IDEMPOTENT", options: { "google.api.http": { put: "/v1/projects/{project_id}/flows/{flow_type}", body: "*" } }, I: SaveFlowConfigRequest, O: FlowConfig },
1172
+ { name: "ListFlowConfigs", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/projects/{project_id}/flows" } }, I: ListFlowConfigsRequest, O: ListFlowConfigsResponse }
1173
1173
  ]);
1174
1174
  /**
1175
1175
  * @generated ServiceType for protobuf service sid.v1.admin.FlowActionService
1176
1176
  */
1177
1177
  export const FlowActionService = new ServiceType("sid.v1.admin.FlowActionService", [
1178
1178
  { name: "CreateFlowAction", options: { "google.api.http": { post: "/v1/projects/{project_id}/flows/{flow_type}/actions", body: "*" } }, I: CreateFlowActionRequest, O: FlowAction },
1179
- { name: "GetFlowAction", options: { "google.api.http": { get: "/v1/projects/{project_id}/flows/{flow_type}/actions/{action_id}" } }, I: GetFlowActionRequest, O: FlowAction },
1180
- { name: "ListFlowActions", options: { "google.api.http": { get: "/v1/projects/{project_id}/flows/{flow_type}/actions" } }, I: ListFlowActionsRequest, O: ListFlowActionsResponse },
1181
- { name: "UpdateFlowAction", options: { "google.api.http": { patch: "/v1/projects/{project_id}/flows/{flow_type}/actions/{action_id}", body: "*" } }, I: UpdateFlowActionRequest, O: FlowAction },
1182
- { name: "DeleteFlowAction", options: { "google.api.http": { delete: "/v1/projects/{project_id}/flows/{flow_type}/actions/{action_id}" } }, I: DeleteFlowActionRequest, O: Empty }
1179
+ { name: "GetFlowAction", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/projects/{project_id}/flows/{flow_type}/actions/{action_id}" } }, I: GetFlowActionRequest, O: FlowAction },
1180
+ { name: "ListFlowActions", idempotency: "NO_SIDE_EFFECTS", options: { "google.api.http": { get: "/v1/projects/{project_id}/flows/{flow_type}/actions" } }, I: ListFlowActionsRequest, O: ListFlowActionsResponse },
1181
+ { name: "UpdateFlowAction", idempotency: "IDEMPOTENT", options: { "google.api.http": { patch: "/v1/projects/{project_id}/flows/{flow_type}/actions/{action_id}", body: "*" } }, I: UpdateFlowActionRequest, O: FlowAction },
1182
+ { name: "DeleteFlowAction", idempotency: "IDEMPOTENT", options: { "google.api.http": { delete: "/v1/projects/{project_id}/flows/{flow_type}/actions/{action_id}" } }, I: DeleteFlowActionRequest, O: Empty }
1183
1183
  ]);
1184
1184
  //# sourceMappingURL=flow.js.map