@gobodo/gobodo-api-heyapi 1.0.0 → 1.0.1

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.
@@ -4116,6 +4116,25 @@ export type RbacPolicyValidationResponse = {
4116
4116
  policyId?: number;
4117
4117
  policyFormat?: 'JSON' | 'YAML' | 'REGO';
4118
4118
  };
4119
+ export type RbacPolicyDefaultsResult = {
4120
+ schemaId?: number;
4121
+ objectTypesProcessed?: number;
4122
+ actionTypesProcessed?: number;
4123
+ relationshipTypesProcessed?: number;
4124
+ objectTypesFailed?: number;
4125
+ actionTypesFailed?: number;
4126
+ relationshipTypesFailed?: number;
4127
+ policiesCreated?: number;
4128
+ policiesExisting?: number;
4129
+ errors?: Array<string>;
4130
+ };
4131
+ export type RbacTypePolicyDefaultsResult = {
4132
+ typeKind?: 'objecttype' | 'actiontype' | 'relationshiptype';
4133
+ typeId?: number;
4134
+ created?: number;
4135
+ existing?: number;
4136
+ linkMode?: string;
4137
+ };
4119
4138
  export type RbacPrivilegeInput = {
4120
4139
  privilege?: string;
4121
4140
  scope?: RbacScopeReference;
@@ -36588,6 +36607,314 @@ export type UpsertRbacPolicyResponses = {
36588
36607
  200: RbacPolicy;
36589
36608
  };
36590
36609
  export type UpsertRbacPolicyResponse = UpsertRbacPolicyResponses[keyof UpsertRbacPolicyResponses];
36610
+ export type GenerateDefaultRbacPoliciesData = {
36611
+ body?: never;
36612
+ headers?: {
36613
+ /**
36614
+ * Not supported here: this write cannot be staged, so a request carrying a transaction id is rejected with 400 rather than run outside the transaction. Alias: X-Gobodo-Transaction-Id.
36615
+ */
36616
+ transactionid?: string;
36617
+ /**
36618
+ * Id of the organization page to perform this operation as; the caller must administer the page. Alias: X-Gobodo-Post-As-Page.
36619
+ */
36620
+ 'zeusportal-postas'?: number;
36621
+ /**
36622
+ * Id of the application to perform this operation as; the caller must administer the application. Alias: X-Gobodo-Post-As-App.
36623
+ */
36624
+ 'zeusportal-postas-app'?: number;
36625
+ /**
36626
+ * Id of the site to perform this operation as; the caller must administer the site. Alias: X-Gobodo-Post-As-Site.
36627
+ */
36628
+ 'zeusportal-postas-site'?: number;
36629
+ /**
36630
+ * Id of the console organization to perform this operation as; the caller needs create permission in the organization. Alias: X-Gobodo-Post-As-Organization.
36631
+ */
36632
+ 'zeusportal-postas-org'?: number;
36633
+ };
36634
+ path?: never;
36635
+ query?: {
36636
+ /**
36637
+ * REST request cache key. Repeat the parameter or send one JSON array string. Applies only where the platform enables the REST request cache.
36638
+ */
36639
+ cachekey?: Array<string>;
36640
+ /**
36641
+ * Scope of the cachekey entry.
36642
+ */
36643
+ cachescope?: 'APPLICATION' | 'SESSION' | 'USER' | 'ALL';
36644
+ /**
36645
+ * Cache duration override in seconds, capped by the platform maximum.
36646
+ */
36647
+ cacheduration?: number;
36648
+ /**
36649
+ * Cache group(s) the cachekey entry belongs to. Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36650
+ */
36651
+ cachegroup?: Array<string>;
36652
+ /**
36653
+ * Users the cachekey entry applies to (used to clear entries cached for those users). Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36654
+ */
36655
+ cacheuser?: Array<string>;
36656
+ /**
36657
+ * On writes, a JSON array of {"key": [...], "scope": "APPLICATION|SESSION|USER|ALL"} entries whose cached responses are removed.
36658
+ */
36659
+ invalidationkeys?: string;
36660
+ };
36661
+ url: '/rbac/policies/generate-defaults';
36662
+ };
36663
+ export type GenerateDefaultRbacPoliciesResponses = {
36664
+ /**
36665
+ * OK
36666
+ */
36667
+ 200: RbacPolicyDefaultsResult;
36668
+ };
36669
+ export type GenerateDefaultRbacPoliciesResponse = GenerateDefaultRbacPoliciesResponses[keyof GenerateDefaultRbacPoliciesResponses];
36670
+ export type GenerateSchemaDefaultRbacPoliciesData = {
36671
+ body?: never;
36672
+ headers?: {
36673
+ /**
36674
+ * Not supported here: this write cannot be staged, so a request carrying a transaction id is rejected with 400 rather than run outside the transaction. Alias: X-Gobodo-Transaction-Id.
36675
+ */
36676
+ transactionid?: string;
36677
+ /**
36678
+ * Id of the organization page to perform this operation as; the caller must administer the page. Alias: X-Gobodo-Post-As-Page.
36679
+ */
36680
+ 'zeusportal-postas'?: number;
36681
+ /**
36682
+ * Id of the application to perform this operation as; the caller must administer the application. Alias: X-Gobodo-Post-As-App.
36683
+ */
36684
+ 'zeusportal-postas-app'?: number;
36685
+ /**
36686
+ * Id of the site to perform this operation as; the caller must administer the site. Alias: X-Gobodo-Post-As-Site.
36687
+ */
36688
+ 'zeusportal-postas-site'?: number;
36689
+ /**
36690
+ * Id of the console organization to perform this operation as; the caller needs create permission in the organization. Alias: X-Gobodo-Post-As-Organization.
36691
+ */
36692
+ 'zeusportal-postas-org'?: number;
36693
+ };
36694
+ path: {
36695
+ schemaId: number;
36696
+ };
36697
+ query?: {
36698
+ /**
36699
+ * REST request cache key. Repeat the parameter or send one JSON array string. Applies only where the platform enables the REST request cache.
36700
+ */
36701
+ cachekey?: Array<string>;
36702
+ /**
36703
+ * Scope of the cachekey entry.
36704
+ */
36705
+ cachescope?: 'APPLICATION' | 'SESSION' | 'USER' | 'ALL';
36706
+ /**
36707
+ * Cache duration override in seconds, capped by the platform maximum.
36708
+ */
36709
+ cacheduration?: number;
36710
+ /**
36711
+ * Cache group(s) the cachekey entry belongs to. Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36712
+ */
36713
+ cachegroup?: Array<string>;
36714
+ /**
36715
+ * Users the cachekey entry applies to (used to clear entries cached for those users). Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36716
+ */
36717
+ cacheuser?: Array<string>;
36718
+ /**
36719
+ * On writes, a JSON array of {"key": [...], "scope": "APPLICATION|SESSION|USER|ALL"} entries whose cached responses are removed.
36720
+ */
36721
+ invalidationkeys?: string;
36722
+ };
36723
+ url: '/rbac/policies/generate-defaults/schema/{schemaId}';
36724
+ };
36725
+ export type GenerateSchemaDefaultRbacPoliciesResponses = {
36726
+ /**
36727
+ * OK
36728
+ */
36729
+ 200: RbacPolicyDefaultsResult;
36730
+ };
36731
+ export type GenerateSchemaDefaultRbacPoliciesResponse = GenerateSchemaDefaultRbacPoliciesResponses[keyof GenerateSchemaDefaultRbacPoliciesResponses];
36732
+ export type GenerateRelationshipTypeDefaultRbacPoliciesData = {
36733
+ body?: never;
36734
+ headers?: {
36735
+ /**
36736
+ * Not supported here: this write cannot be staged, so a request carrying a transaction id is rejected with 400 rather than run outside the transaction. Alias: X-Gobodo-Transaction-Id.
36737
+ */
36738
+ transactionid?: string;
36739
+ /**
36740
+ * Id of the organization page to perform this operation as; the caller must administer the page. Alias: X-Gobodo-Post-As-Page.
36741
+ */
36742
+ 'zeusportal-postas'?: number;
36743
+ /**
36744
+ * Id of the application to perform this operation as; the caller must administer the application. Alias: X-Gobodo-Post-As-App.
36745
+ */
36746
+ 'zeusportal-postas-app'?: number;
36747
+ /**
36748
+ * Id of the site to perform this operation as; the caller must administer the site. Alias: X-Gobodo-Post-As-Site.
36749
+ */
36750
+ 'zeusportal-postas-site'?: number;
36751
+ /**
36752
+ * Id of the console organization to perform this operation as; the caller needs create permission in the organization. Alias: X-Gobodo-Post-As-Organization.
36753
+ */
36754
+ 'zeusportal-postas-org'?: number;
36755
+ };
36756
+ path: {
36757
+ typeId: number;
36758
+ };
36759
+ query?: {
36760
+ /**
36761
+ * REST request cache key. Repeat the parameter or send one JSON array string. Applies only where the platform enables the REST request cache.
36762
+ */
36763
+ cachekey?: Array<string>;
36764
+ /**
36765
+ * Scope of the cachekey entry.
36766
+ */
36767
+ cachescope?: 'APPLICATION' | 'SESSION' | 'USER' | 'ALL';
36768
+ /**
36769
+ * Cache duration override in seconds, capped by the platform maximum.
36770
+ */
36771
+ cacheduration?: number;
36772
+ /**
36773
+ * Cache group(s) the cachekey entry belongs to. Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36774
+ */
36775
+ cachegroup?: Array<string>;
36776
+ /**
36777
+ * Users the cachekey entry applies to (used to clear entries cached for those users). Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36778
+ */
36779
+ cacheuser?: Array<string>;
36780
+ /**
36781
+ * On writes, a JSON array of {"key": [...], "scope": "APPLICATION|SESSION|USER|ALL"} entries whose cached responses are removed.
36782
+ */
36783
+ invalidationkeys?: string;
36784
+ };
36785
+ url: '/rbac/policies/generate-defaults/relationshiptype/{typeId}';
36786
+ };
36787
+ export type GenerateRelationshipTypeDefaultRbacPoliciesResponses = {
36788
+ /**
36789
+ * OK
36790
+ */
36791
+ 200: RbacTypePolicyDefaultsResult;
36792
+ };
36793
+ export type GenerateRelationshipTypeDefaultRbacPoliciesResponse = GenerateRelationshipTypeDefaultRbacPoliciesResponses[keyof GenerateRelationshipTypeDefaultRbacPoliciesResponses];
36794
+ export type GenerateObjectTypeDefaultRbacPoliciesData = {
36795
+ body?: never;
36796
+ headers?: {
36797
+ /**
36798
+ * Not supported here: this write cannot be staged, so a request carrying a transaction id is rejected with 400 rather than run outside the transaction. Alias: X-Gobodo-Transaction-Id.
36799
+ */
36800
+ transactionid?: string;
36801
+ /**
36802
+ * Id of the organization page to perform this operation as; the caller must administer the page. Alias: X-Gobodo-Post-As-Page.
36803
+ */
36804
+ 'zeusportal-postas'?: number;
36805
+ /**
36806
+ * Id of the application to perform this operation as; the caller must administer the application. Alias: X-Gobodo-Post-As-App.
36807
+ */
36808
+ 'zeusportal-postas-app'?: number;
36809
+ /**
36810
+ * Id of the site to perform this operation as; the caller must administer the site. Alias: X-Gobodo-Post-As-Site.
36811
+ */
36812
+ 'zeusportal-postas-site'?: number;
36813
+ /**
36814
+ * Id of the console organization to perform this operation as; the caller needs create permission in the organization. Alias: X-Gobodo-Post-As-Organization.
36815
+ */
36816
+ 'zeusportal-postas-org'?: number;
36817
+ };
36818
+ path: {
36819
+ typeId: number;
36820
+ };
36821
+ query?: {
36822
+ /**
36823
+ * REST request cache key. Repeat the parameter or send one JSON array string. Applies only where the platform enables the REST request cache.
36824
+ */
36825
+ cachekey?: Array<string>;
36826
+ /**
36827
+ * Scope of the cachekey entry.
36828
+ */
36829
+ cachescope?: 'APPLICATION' | 'SESSION' | 'USER' | 'ALL';
36830
+ /**
36831
+ * Cache duration override in seconds, capped by the platform maximum.
36832
+ */
36833
+ cacheduration?: number;
36834
+ /**
36835
+ * Cache group(s) the cachekey entry belongs to. Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36836
+ */
36837
+ cachegroup?: Array<string>;
36838
+ /**
36839
+ * Users the cachekey entry applies to (used to clear entries cached for those users). Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36840
+ */
36841
+ cacheuser?: Array<string>;
36842
+ /**
36843
+ * On writes, a JSON array of {"key": [...], "scope": "APPLICATION|SESSION|USER|ALL"} entries whose cached responses are removed.
36844
+ */
36845
+ invalidationkeys?: string;
36846
+ };
36847
+ url: '/rbac/policies/generate-defaults/objecttype/{typeId}';
36848
+ };
36849
+ export type GenerateObjectTypeDefaultRbacPoliciesResponses = {
36850
+ /**
36851
+ * OK
36852
+ */
36853
+ 200: RbacTypePolicyDefaultsResult;
36854
+ };
36855
+ export type GenerateObjectTypeDefaultRbacPoliciesResponse = GenerateObjectTypeDefaultRbacPoliciesResponses[keyof GenerateObjectTypeDefaultRbacPoliciesResponses];
36856
+ export type GenerateActionTypeDefaultRbacPoliciesData = {
36857
+ body?: never;
36858
+ headers?: {
36859
+ /**
36860
+ * Not supported here: this write cannot be staged, so a request carrying a transaction id is rejected with 400 rather than run outside the transaction. Alias: X-Gobodo-Transaction-Id.
36861
+ */
36862
+ transactionid?: string;
36863
+ /**
36864
+ * Id of the organization page to perform this operation as; the caller must administer the page. Alias: X-Gobodo-Post-As-Page.
36865
+ */
36866
+ 'zeusportal-postas'?: number;
36867
+ /**
36868
+ * Id of the application to perform this operation as; the caller must administer the application. Alias: X-Gobodo-Post-As-App.
36869
+ */
36870
+ 'zeusportal-postas-app'?: number;
36871
+ /**
36872
+ * Id of the site to perform this operation as; the caller must administer the site. Alias: X-Gobodo-Post-As-Site.
36873
+ */
36874
+ 'zeusportal-postas-site'?: number;
36875
+ /**
36876
+ * Id of the console organization to perform this operation as; the caller needs create permission in the organization. Alias: X-Gobodo-Post-As-Organization.
36877
+ */
36878
+ 'zeusportal-postas-org'?: number;
36879
+ };
36880
+ path: {
36881
+ typeId: number;
36882
+ };
36883
+ query?: {
36884
+ /**
36885
+ * REST request cache key. Repeat the parameter or send one JSON array string. Applies only where the platform enables the REST request cache.
36886
+ */
36887
+ cachekey?: Array<string>;
36888
+ /**
36889
+ * Scope of the cachekey entry.
36890
+ */
36891
+ cachescope?: 'APPLICATION' | 'SESSION' | 'USER' | 'ALL';
36892
+ /**
36893
+ * Cache duration override in seconds, capped by the platform maximum.
36894
+ */
36895
+ cacheduration?: number;
36896
+ /**
36897
+ * Cache group(s) the cachekey entry belongs to. Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36898
+ */
36899
+ cachegroup?: Array<string>;
36900
+ /**
36901
+ * Users the cachekey entry applies to (used to clear entries cached for those users). Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
36902
+ */
36903
+ cacheuser?: Array<string>;
36904
+ /**
36905
+ * On writes, a JSON array of {"key": [...], "scope": "APPLICATION|SESSION|USER|ALL"} entries whose cached responses are removed.
36906
+ */
36907
+ invalidationkeys?: string;
36908
+ };
36909
+ url: '/rbac/policies/generate-defaults/actiontype/{typeId}';
36910
+ };
36911
+ export type GenerateActionTypeDefaultRbacPoliciesResponses = {
36912
+ /**
36913
+ * OK
36914
+ */
36915
+ 200: RbacTypePolicyDefaultsResult;
36916
+ };
36917
+ export type GenerateActionTypeDefaultRbacPoliciesResponse = GenerateActionTypeDefaultRbacPoliciesResponses[keyof GenerateActionTypeDefaultRbacPoliciesResponses];
36591
36918
  export type RevokeRbacRolePrivilegeData = {
36592
36919
  body?: never;
36593
36920
  headers?: {
@@ -65160,6 +65487,68 @@ export type GetRbacAppAccessControlResponses = {
65160
65487
  200: RbacAccessControlCatalog;
65161
65488
  };
65162
65489
  export type GetRbacAppAccessControlResponse = GetRbacAppAccessControlResponses[keyof GetRbacAppAccessControlResponses];
65490
+ export type IsPublicationExistsData = {
65491
+ body?: never;
65492
+ headers?: {
65493
+ /**
65494
+ * Ignored on reads. Alias: X-Gobodo-Transaction-Id.
65495
+ */
65496
+ transactionid?: string;
65497
+ /**
65498
+ * Id of the organization page to perform this operation as; the caller must administer the page. Alias: X-Gobodo-Post-As-Page.
65499
+ */
65500
+ 'zeusportal-postas'?: number;
65501
+ /**
65502
+ * Id of the application to perform this operation as; the caller must administer the application. Alias: X-Gobodo-Post-As-App.
65503
+ */
65504
+ 'zeusportal-postas-app'?: number;
65505
+ /**
65506
+ * Id of the site to perform this operation as; the caller must administer the site. Alias: X-Gobodo-Post-As-Site.
65507
+ */
65508
+ 'zeusportal-postas-site'?: number;
65509
+ /**
65510
+ * Id of the console organization to perform this operation as; the caller needs create permission in the organization. Alias: X-Gobodo-Post-As-Organization.
65511
+ */
65512
+ 'zeusportal-postas-org'?: number;
65513
+ };
65514
+ path: {
65515
+ id: number;
65516
+ };
65517
+ query?: {
65518
+ /**
65519
+ * REST request cache key. Repeat the parameter or send one JSON array string. Applies only where the platform enables the REST request cache.
65520
+ */
65521
+ cachekey?: Array<string>;
65522
+ /**
65523
+ * Scope of the cachekey entry.
65524
+ */
65525
+ cachescope?: 'APPLICATION' | 'SESSION' | 'USER' | 'ALL';
65526
+ /**
65527
+ * Cache duration override in seconds, capped by the platform maximum.
65528
+ */
65529
+ cacheduration?: number;
65530
+ /**
65531
+ * Cache group(s) the cachekey entry belongs to. Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
65532
+ */
65533
+ cachegroup?: Array<string>;
65534
+ /**
65535
+ * Users the cachekey entry applies to (used to clear entries cached for those users). Repeat the parameter. Honored by the gobodo-rest-cache edge layer; no effect on the v1 path until it is routed through that layer.
65536
+ */
65537
+ cacheuser?: Array<string>;
65538
+ /**
65539
+ * On writes, a JSON array of {"key": [...], "scope": "APPLICATION|SESSION|USER|ALL"} entries whose cached responses are removed.
65540
+ */
65541
+ invalidationkeys?: string;
65542
+ };
65543
+ url: '/publications/{id}/exists';
65544
+ };
65545
+ export type IsPublicationExistsResponses = {
65546
+ /**
65547
+ * OK
65548
+ */
65549
+ 200: boolean;
65550
+ };
65551
+ export type IsPublicationExistsResponse = IsPublicationExistsResponses[keyof IsPublicationExistsResponses];
65163
65552
  export type ListPublicationsByMemberData = {
65164
65553
  body?: never;
65165
65554
  headers?: {