@structured-id/proto 0.13.0 → 0.14.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 (47) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/generated/sid/v1/account/account.d.ts +8 -8
  3. package/dist/generated/sid/v1/account/account.js +34 -34
  4. package/dist/generated/sid/v1/account/account.js.map +1 -1
  5. package/dist/generated/sid/v1/admin/enrollment.d.ts +1 -1
  6. package/dist/generated/sid/v1/admin/enrollment.js +4 -4
  7. package/dist/generated/sid/v1/admin/enrollment.js.map +1 -1
  8. package/dist/generated/sid/v1/admin/operations.d.ts +8 -8
  9. package/dist/generated/sid/v1/admin/operations.js +32 -32
  10. package/dist/generated/sid/v1/admin/operations.js.map +1 -1
  11. package/dist/generated/sid/v1/admin/organizations.d.ts +4 -4
  12. package/dist/generated/sid/v1/admin/organizations.js +16 -16
  13. package/dist/generated/sid/v1/admin/organizations.js.map +1 -1
  14. package/dist/generated/sid/v1/admin/provisioning.d.ts +3 -3
  15. package/dist/generated/sid/v1/admin/provisioning.js +13 -13
  16. package/dist/generated/sid/v1/admin/provisioning.js.map +1 -1
  17. package/dist/generated/sid/v1/authn/auth.d.ts +94 -84
  18. package/dist/generated/sid/v1/authn/auth.js +315 -315
  19. package/dist/generated/sid/v1/authn/auth.js.map +1 -1
  20. package/dist/generated/sid/v1/authn/flows.d.ts +1 -1
  21. package/dist/generated/sid/v1/authn/flows.js +4 -4
  22. package/dist/generated/sid/v1/authn/flows.js.map +1 -1
  23. package/dist/generated/sid/v1/authn/native_session.d.ts +1 -1
  24. package/dist/generated/sid/v1/authn/native_session.js +5 -5
  25. package/dist/generated/sid/v1/authn/native_session.js.map +1 -1
  26. package/dist/generated/sid/v1/authn/password_history.d.ts +8 -8
  27. package/dist/generated/sid/v1/authn/password_history.js +35 -35
  28. package/dist/generated/sid/v1/authn/password_history.js.map +1 -1
  29. package/dist/generated/sid/v1/authz/authz.d.ts +30 -30
  30. package/dist/generated/sid/v1/authz/authz.js +113 -113
  31. package/dist/generated/sid/v1/authz/authz.js.map +1 -1
  32. package/dist/generated/sid/v1/common/operation.d.ts +3 -3
  33. package/dist/generated/sid/v1/common/operation.js +13 -13
  34. package/dist/generated/sid/v1/common/operation.js.map +1 -1
  35. package/dist/generated/sid/v1/federation/upstream.d.ts +16 -12
  36. package/dist/generated/sid/v1/federation/upstream.js +48 -48
  37. package/dist/generated/sid/v1/federation/upstream.js.map +1 -1
  38. package/dist/generated/sid/v1/identity/identity.d.ts +85 -85
  39. package/dist/generated/sid/v1/identity/identity.js +367 -367
  40. package/dist/generated/sid/v1/identity/identity.js.map +1 -1
  41. package/dist/generated/sid/v1/ids/ids.d.ts +12 -0
  42. package/dist/generated/sid/v1/ids/ids.js +6 -0
  43. package/dist/generated/sid/v1/ids/ids.js.map +1 -1
  44. package/dist/generated/sid/v1/machine/machine_user.d.ts +22 -15
  45. package/dist/generated/sid/v1/machine/machine_user.js +60 -60
  46. package/dist/generated/sid/v1/machine/machine_user.js.map +1 -1
  47. package/package.json +5 -5
@@ -112,7 +112,7 @@ export interface RoleAssignment {
112
112
  } | {
113
113
  oneofKind: "machineUserId";
114
114
  /**
115
- * @generated from protobuf field: string machine_user_id = 8
115
+ * @generated from protobuf field: string machine_user_id = 4
116
116
  */
117
117
  machineUserId: string;
118
118
  } | {
@@ -122,7 +122,7 @@ export interface RoleAssignment {
122
122
  * user's OAuth credentials resolve to the machine user, never to this
123
123
  * principal.
124
124
  *
125
- * @generated from protobuf field: string oauth_client_id = 9
125
+ * @generated from protobuf field: string oauth_client_id = 5
126
126
  */
127
127
  oauthClientId: string;
128
128
  } | {
@@ -131,14 +131,14 @@ export interface RoleAssignment {
131
131
  * A SCIM provisioning connector. Its roles take effect only for SCIM
132
132
  * actions on the protected directory resource named in `scope`.
133
133
  *
134
- * @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId provisioning_connector_id = 10
134
+ * @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId provisioning_connector_id = 6
135
135
  */
136
136
  provisioningConnectorId: ProvisioningConnectorId;
137
137
  } | {
138
138
  oneofKind: undefined;
139
139
  };
140
140
  /**
141
- * @generated from protobuf field: string role_id = 4
141
+ * @generated from protobuf field: string role_id = 7
142
142
  */
143
143
  roleId: string;
144
144
  /**
@@ -147,17 +147,17 @@ export interface RoleAssignment {
147
147
  * (its issuer is the resource's). The token inspector role is assigned
148
148
  * only with a protected-resource scope.
149
149
  *
150
- * @generated from protobuf field: optional string scope = 5
150
+ * @generated from protobuf field: optional string scope = 8
151
151
  */
152
152
  scope?: string;
153
153
  /**
154
154
  * Optional expiry (temporary role).
155
155
  *
156
- * @generated from protobuf field: optional google.protobuf.Timestamp expires_at = 6
156
+ * @generated from protobuf field: optional google.protobuf.Timestamp expires_at = 9
157
157
  */
158
158
  expiresAt?: Timestamp;
159
159
  /**
160
- * @generated from protobuf field: google.protobuf.Timestamp created_at = 7
160
+ * @generated from protobuf field: google.protobuf.Timestamp created_at = 10
161
161
  */
162
162
  createdAt?: Timestamp;
163
163
  /**
@@ -338,7 +338,7 @@ export interface Policy {
338
338
  /**
339
339
  * What the policy applies to; set by its creation and never changed.
340
340
  *
341
- * @generated from protobuf field: sid.v1.authz.PolicyScope scope = 10
341
+ * @generated from protobuf field: sid.v1.authz.PolicyScope scope = 2
342
342
  */
343
343
  scope?: PolicyScope;
344
344
  /**
@@ -378,7 +378,7 @@ export interface Policy {
378
378
  /**
379
379
  * Stored revision: 0 when created, moved on by every change.
380
380
  *
381
- * @generated from protobuf field: uint64 revision = 11
381
+ * @generated from protobuf field: uint64 revision = 10
382
382
  */
383
383
  revision: bigint;
384
384
  }
@@ -400,19 +400,19 @@ export interface CheckPermissionRequest {
400
400
  * vocabulary (for example "orders.read"). The receiver maps its real
401
401
  * operation to it; SID does not derive it from an HTTP method or path.
402
402
  *
403
- * @generated from protobuf field: string action = 2
403
+ * @generated from protobuf field: string action = 1
404
404
  */
405
405
  action: string;
406
406
  /**
407
407
  * How fresh the decision must be; unspecified is CONSISTENCY_EVENTUAL.
408
408
  *
409
- * @generated from protobuf field: sid.v1.authz.Consistency consistency = 4
409
+ * @generated from protobuf field: sid.v1.authz.Consistency consistency = 2
410
410
  */
411
411
  consistency: Consistency;
412
412
  /**
413
413
  * Where the action would take effect.
414
414
  *
415
- * @generated from protobuf field: sid.v1.authz.PermissionTarget target = 6
415
+ * @generated from protobuf field: sid.v1.authz.PermissionTarget target = 3
416
416
  */
417
417
  target?: PermissionTarget;
418
418
  /**
@@ -426,7 +426,7 @@ export interface CheckPermissionRequest {
426
426
  * The subject of one original request to the target, established from
427
427
  * that request's own access token (request-bound evaluation).
428
428
  *
429
- * @generated from protobuf field: sid.v1.authz.RequestEvaluation request = 7
429
+ * @generated from protobuf field: sid.v1.authz.RequestEvaluation request = 4
430
430
  */
431
431
  request: RequestEvaluation;
432
432
  } | {
@@ -436,7 +436,7 @@ export interface CheckPermissionRequest {
436
436
  * claims no presence, session, assurance or sender proof, and cannot
437
437
  * satisfy a policy that requires them.
438
438
  *
439
- * @generated from protobuf field: sid.v1.authz.SubjectReference named_subject = 8
439
+ * @generated from protobuf field: sid.v1.authz.SubjectReference named_subject = 5
440
440
  */
441
441
  namedSubject: SubjectReference;
442
442
  } | {
@@ -445,7 +445,7 @@ export interface CheckPermissionRequest {
445
445
  * The caller itself, as its own credential authenticates it. Needs no
446
446
  * checker assignment.
447
447
  *
448
- * @generated from protobuf field: sid.v1.authz.SelfEvaluation self = 9
448
+ * @generated from protobuf field: sid.v1.authz.SelfEvaluation self = 6
449
449
  */
450
450
  self: SelfEvaluation;
451
451
  } | {
@@ -591,6 +591,12 @@ export interface SelfEvaluation {
591
591
  * @generated from protobuf message sid.v1.authz.CheckPermissionResponse
592
592
  */
593
593
  export interface CheckPermissionResponse {
594
+ /**
595
+ * The decision.
596
+ *
597
+ * @generated from protobuf field: sid.v1.authz.PermissionOutcome outcome = 1
598
+ */
599
+ outcome: PermissionOutcome;
594
600
  /**
595
601
  * Explanation of the decision, for a caller asking about itself; absent
596
602
  * for a checker, which gets the decision without policy internals.
@@ -604,12 +610,6 @@ export interface CheckPermissionResponse {
604
610
  * @generated from protobuf field: optional string zookie = 3
605
611
  */
606
612
  zookie?: string;
607
- /**
608
- * The decision.
609
- *
610
- * @generated from protobuf field: sid.v1.authz.PermissionOutcome outcome = 4
611
- */
612
- outcome: PermissionOutcome;
613
613
  }
614
614
  /**
615
615
  * Several permission questions, answered together or refused together.
@@ -811,7 +811,7 @@ export interface AssignRoleRequest {
811
811
  } | {
812
812
  oneofKind: "machineUserId";
813
813
  /**
814
- * @generated from protobuf field: string machine_user_id = 6
814
+ * @generated from protobuf field: string machine_user_id = 3
815
815
  */
816
816
  machineUserId: string;
817
817
  } | {
@@ -820,7 +820,7 @@ export interface AssignRoleRequest {
820
820
  * `client_id` of an existing confidential OAuth client; a public or
821
821
  * unknown client is refused (INVALID_ARGUMENT / NOT_FOUND).
822
822
  *
823
- * @generated from protobuf field: string oauth_client_id = 7
823
+ * @generated from protobuf field: string oauth_client_id = 4
824
824
  */
825
825
  oauthClientId: string;
826
826
  } | {
@@ -831,14 +831,14 @@ export interface AssignRoleRequest {
831
831
  * else INVALID_ARGUMENT; an unknown connector is NOT_FOUND, a retired one
832
832
  * FAILED_PRECONDITION.
833
833
  *
834
- * @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId provisioning_connector_id = 8
834
+ * @generated from protobuf field: sid.v1.ids.ProvisioningConnectorId provisioning_connector_id = 5
835
835
  */
836
836
  provisioningConnectorId: ProvisioningConnectorId;
837
837
  } | {
838
838
  oneofKind: undefined;
839
839
  };
840
840
  /**
841
- * @generated from protobuf field: string role_id = 3
841
+ * @generated from protobuf field: string role_id = 6
842
842
  */
843
843
  roleId: string;
844
844
  /**
@@ -847,11 +847,11 @@ export interface AssignRoleRequest {
847
847
  * ("oauth_resource:<resource_id>"), else INVALID_ARGUMENT / NOT_FOUND /
848
848
  * FAILED_PRECONDITION (RESOURCE_RETIRED).
849
849
  *
850
- * @generated from protobuf field: optional string scope = 4
850
+ * @generated from protobuf field: optional string scope = 7
851
851
  */
852
852
  scope?: string;
853
853
  /**
854
- * @generated from protobuf field: optional google.protobuf.Timestamp expires_at = 5
854
+ * @generated from protobuf field: optional google.protobuf.Timestamp expires_at = 8
855
855
  */
856
856
  expiresAt?: Timestamp;
857
857
  /**
@@ -1146,7 +1146,7 @@ export interface CreatePolicyRequest {
1146
1146
  /**
1147
1147
  * What the new policy applies to; required.
1148
1148
  *
1149
- * @generated from protobuf field: sid.v1.authz.PolicyScope scope = 7
1149
+ * @generated from protobuf field: sid.v1.authz.PolicyScope scope = 1
1150
1150
  */
1151
1151
  scope?: PolicyScope;
1152
1152
  /**
@@ -1252,7 +1252,7 @@ export interface ListPoliciesRequest {
1252
1252
  /**
1253
1253
  * The scope whose own policies are listed; required.
1254
1254
  *
1255
- * @generated from protobuf field: sid.v1.authz.PolicyScope scope = 4
1255
+ * @generated from protobuf field: sid.v1.authz.PolicyScope scope = 1
1256
1256
  */
1257
1257
  scope?: PolicyScope;
1258
1258
  /**
@@ -1302,7 +1302,7 @@ export interface EvaluatePolicyRequest {
1302
1302
  /**
1303
1303
  * The scope whose own policies are evaluated; required.
1304
1304
  *
1305
- * @generated from protobuf field: sid.v1.authz.PolicyScope scope = 6
1305
+ * @generated from protobuf field: sid.v1.authz.PolicyScope scope = 5
1306
1306
  */
1307
1307
  scope?: PolicyScope;
1308
1308
  }