@meshery/schemas 0.8.59 → 0.8.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cloudApi.d.mts +447 -13
- package/dist/cloudApi.d.ts +447 -13
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/index.d.mts +246 -24
- package/dist/index.d.ts +246 -24
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -37693,7 +37693,7 @@ declare const schema: {
|
|
|
37693
37693
|
type: string;
|
|
37694
37694
|
required: string[];
|
|
37695
37695
|
properties: {
|
|
37696
|
-
|
|
37696
|
+
Data: {
|
|
37697
37697
|
type: string;
|
|
37698
37698
|
items: {
|
|
37699
37699
|
"x-go-type": string;
|
|
@@ -37705,31 +37705,61 @@ declare const schema: {
|
|
|
37705
37705
|
"x-go-name": string;
|
|
37706
37706
|
description: string;
|
|
37707
37707
|
};
|
|
37708
|
-
|
|
37708
|
+
isDefault: {
|
|
37709
37709
|
type: string;
|
|
37710
37710
|
description: string;
|
|
37711
|
+
"x-oapi-codegen-extra-tags": {
|
|
37712
|
+
db: string;
|
|
37713
|
+
json: string;
|
|
37714
|
+
};
|
|
37711
37715
|
};
|
|
37712
|
-
|
|
37716
|
+
name: {
|
|
37713
37717
|
type: string;
|
|
37714
|
-
format: string;
|
|
37715
37718
|
description: string;
|
|
37716
37719
|
};
|
|
37720
|
+
description: {
|
|
37721
|
+
type: string;
|
|
37722
|
+
description: string;
|
|
37723
|
+
};
|
|
37724
|
+
emails: {
|
|
37725
|
+
type: string;
|
|
37726
|
+
items: {
|
|
37727
|
+
type: string;
|
|
37728
|
+
format: string;
|
|
37729
|
+
description: string;
|
|
37730
|
+
};
|
|
37731
|
+
};
|
|
37717
37732
|
orgId: {
|
|
37718
37733
|
type: string;
|
|
37719
37734
|
description: string;
|
|
37735
|
+
"x-oapi-codegen-extra-tags": {
|
|
37736
|
+
db: string;
|
|
37737
|
+
json: string;
|
|
37738
|
+
};
|
|
37720
37739
|
};
|
|
37721
37740
|
expiresAt: {
|
|
37722
37741
|
type: string;
|
|
37723
37742
|
format: string;
|
|
37724
37743
|
description: string;
|
|
37744
|
+
"x-oapi-codegen-extra-tags": {
|
|
37745
|
+
db: string;
|
|
37746
|
+
json: string;
|
|
37747
|
+
};
|
|
37725
37748
|
};
|
|
37726
37749
|
quota: {
|
|
37727
37750
|
type: string;
|
|
37728
37751
|
description: string;
|
|
37729
37752
|
};
|
|
37730
|
-
|
|
37753
|
+
acceptedBy: {
|
|
37731
37754
|
type: string;
|
|
37755
|
+
items: {
|
|
37756
|
+
type: string;
|
|
37757
|
+
};
|
|
37732
37758
|
description: string;
|
|
37759
|
+
"x-oapi-codegen-extra-tags": {
|
|
37760
|
+
db: string;
|
|
37761
|
+
json: string;
|
|
37762
|
+
};
|
|
37733
37763
|
};
|
|
37734
37764
|
roles: {
|
|
37735
37765
|
type: string;
|
|
@@ -37755,25 +37785,43 @@ declare const schema: {
|
|
|
37755
37785
|
type: string;
|
|
37756
37786
|
format: string;
|
|
37757
37787
|
description: string;
|
|
37788
|
+
"x-oapi-codegen-extra-tags": {
|
|
37789
|
+
db: string;
|
|
37790
|
+
json: string;
|
|
37791
|
+
};
|
|
37758
37792
|
};
|
|
37759
37793
|
updatedAt: {
|
|
37760
37794
|
type: string;
|
|
37761
37795
|
format: string;
|
|
37762
37796
|
description: string;
|
|
37797
|
+
"x-oapi-codegen-extra-tags": {
|
|
37798
|
+
db: string;
|
|
37799
|
+
json: string;
|
|
37800
|
+
};
|
|
37763
37801
|
};
|
|
37764
37802
|
deletedAt: {
|
|
37765
37803
|
type: string;
|
|
37766
37804
|
format: string;
|
|
37767
37805
|
"x-go-type": string;
|
|
37768
37806
|
description: string;
|
|
37807
|
+
"x-oapi-codegen-extra-tags": {
|
|
37808
|
+
db: string;
|
|
37809
|
+
json: string;
|
|
37810
|
+
};
|
|
37769
37811
|
};
|
|
37770
37812
|
};
|
|
37771
37813
|
};
|
|
37772
37814
|
description: string;
|
|
37815
|
+
"x-oapi-codegen-extra-tags": {
|
|
37816
|
+
json: string;
|
|
37817
|
+
};
|
|
37773
37818
|
};
|
|
37774
|
-
|
|
37819
|
+
TotalCount: {
|
|
37775
37820
|
type: string;
|
|
37776
37821
|
description: string;
|
|
37822
|
+
"x-oapi-codegen-extra-tags": {
|
|
37823
|
+
json: string;
|
|
37824
|
+
};
|
|
37777
37825
|
};
|
|
37778
37826
|
};
|
|
37779
37827
|
};
|
|
@@ -37808,31 +37856,61 @@ declare const schema: {
|
|
|
37808
37856
|
"x-go-name": string;
|
|
37809
37857
|
description: string;
|
|
37810
37858
|
};
|
|
37811
|
-
|
|
37859
|
+
isDefault: {
|
|
37812
37860
|
type: string;
|
|
37813
37861
|
description: string;
|
|
37862
|
+
"x-oapi-codegen-extra-tags": {
|
|
37863
|
+
db: string;
|
|
37864
|
+
json: string;
|
|
37865
|
+
};
|
|
37814
37866
|
};
|
|
37815
|
-
|
|
37867
|
+
name: {
|
|
37868
|
+
type: string;
|
|
37869
|
+
description: string;
|
|
37870
|
+
};
|
|
37871
|
+
description: {
|
|
37816
37872
|
type: string;
|
|
37817
|
-
format: string;
|
|
37818
37873
|
description: string;
|
|
37819
37874
|
};
|
|
37875
|
+
emails: {
|
|
37876
|
+
type: string;
|
|
37877
|
+
items: {
|
|
37878
|
+
type: string;
|
|
37879
|
+
format: string;
|
|
37880
|
+
description: string;
|
|
37881
|
+
};
|
|
37882
|
+
};
|
|
37820
37883
|
orgId: {
|
|
37821
37884
|
type: string;
|
|
37822
37885
|
description: string;
|
|
37886
|
+
"x-oapi-codegen-extra-tags": {
|
|
37887
|
+
db: string;
|
|
37888
|
+
json: string;
|
|
37889
|
+
};
|
|
37823
37890
|
};
|
|
37824
37891
|
expiresAt: {
|
|
37825
37892
|
type: string;
|
|
37826
37893
|
format: string;
|
|
37827
37894
|
description: string;
|
|
37895
|
+
"x-oapi-codegen-extra-tags": {
|
|
37896
|
+
db: string;
|
|
37897
|
+
json: string;
|
|
37898
|
+
};
|
|
37828
37899
|
};
|
|
37829
37900
|
quota: {
|
|
37830
37901
|
type: string;
|
|
37831
37902
|
description: string;
|
|
37832
37903
|
};
|
|
37833
|
-
|
|
37904
|
+
acceptedBy: {
|
|
37834
37905
|
type: string;
|
|
37906
|
+
items: {
|
|
37907
|
+
type: string;
|
|
37908
|
+
};
|
|
37835
37909
|
description: string;
|
|
37910
|
+
"x-oapi-codegen-extra-tags": {
|
|
37911
|
+
db: string;
|
|
37912
|
+
json: string;
|
|
37913
|
+
};
|
|
37836
37914
|
};
|
|
37837
37915
|
roles: {
|
|
37838
37916
|
type: string;
|
|
@@ -37858,17 +37936,29 @@ declare const schema: {
|
|
|
37858
37936
|
type: string;
|
|
37859
37937
|
format: string;
|
|
37860
37938
|
description: string;
|
|
37939
|
+
"x-oapi-codegen-extra-tags": {
|
|
37940
|
+
db: string;
|
|
37941
|
+
json: string;
|
|
37942
|
+
};
|
|
37861
37943
|
};
|
|
37862
37944
|
updatedAt: {
|
|
37863
37945
|
type: string;
|
|
37864
37946
|
format: string;
|
|
37865
37947
|
description: string;
|
|
37948
|
+
"x-oapi-codegen-extra-tags": {
|
|
37949
|
+
db: string;
|
|
37950
|
+
json: string;
|
|
37951
|
+
};
|
|
37866
37952
|
};
|
|
37867
37953
|
deletedAt: {
|
|
37868
37954
|
type: string;
|
|
37869
37955
|
format: string;
|
|
37870
37956
|
"x-go-type": string;
|
|
37871
37957
|
description: string;
|
|
37958
|
+
"x-oapi-codegen-extra-tags": {
|
|
37959
|
+
db: string;
|
|
37960
|
+
json: string;
|
|
37961
|
+
};
|
|
37872
37962
|
};
|
|
37873
37963
|
};
|
|
37874
37964
|
};
|
|
@@ -37889,31 +37979,61 @@ declare const schema: {
|
|
|
37889
37979
|
"x-go-name": string;
|
|
37890
37980
|
description: string;
|
|
37891
37981
|
};
|
|
37892
|
-
|
|
37982
|
+
isDefault: {
|
|
37893
37983
|
type: string;
|
|
37894
37984
|
description: string;
|
|
37985
|
+
"x-oapi-codegen-extra-tags": {
|
|
37986
|
+
db: string;
|
|
37987
|
+
json: string;
|
|
37988
|
+
};
|
|
37895
37989
|
};
|
|
37896
|
-
|
|
37990
|
+
name: {
|
|
37897
37991
|
type: string;
|
|
37898
|
-
format: string;
|
|
37899
37992
|
description: string;
|
|
37900
37993
|
};
|
|
37994
|
+
description: {
|
|
37995
|
+
type: string;
|
|
37996
|
+
description: string;
|
|
37997
|
+
};
|
|
37998
|
+
emails: {
|
|
37999
|
+
type: string;
|
|
38000
|
+
items: {
|
|
38001
|
+
type: string;
|
|
38002
|
+
format: string;
|
|
38003
|
+
description: string;
|
|
38004
|
+
};
|
|
38005
|
+
};
|
|
37901
38006
|
orgId: {
|
|
37902
38007
|
type: string;
|
|
37903
38008
|
description: string;
|
|
38009
|
+
"x-oapi-codegen-extra-tags": {
|
|
38010
|
+
db: string;
|
|
38011
|
+
json: string;
|
|
38012
|
+
};
|
|
37904
38013
|
};
|
|
37905
38014
|
expiresAt: {
|
|
37906
38015
|
type: string;
|
|
37907
38016
|
format: string;
|
|
37908
38017
|
description: string;
|
|
38018
|
+
"x-oapi-codegen-extra-tags": {
|
|
38019
|
+
db: string;
|
|
38020
|
+
json: string;
|
|
38021
|
+
};
|
|
37909
38022
|
};
|
|
37910
38023
|
quota: {
|
|
37911
38024
|
type: string;
|
|
37912
38025
|
description: string;
|
|
37913
38026
|
};
|
|
37914
|
-
|
|
38027
|
+
acceptedBy: {
|
|
37915
38028
|
type: string;
|
|
38029
|
+
items: {
|
|
38030
|
+
type: string;
|
|
38031
|
+
};
|
|
37916
38032
|
description: string;
|
|
38033
|
+
"x-oapi-codegen-extra-tags": {
|
|
38034
|
+
db: string;
|
|
38035
|
+
json: string;
|
|
38036
|
+
};
|
|
37917
38037
|
};
|
|
37918
38038
|
roles: {
|
|
37919
38039
|
type: string;
|
|
@@ -37939,17 +38059,29 @@ declare const schema: {
|
|
|
37939
38059
|
type: string;
|
|
37940
38060
|
format: string;
|
|
37941
38061
|
description: string;
|
|
38062
|
+
"x-oapi-codegen-extra-tags": {
|
|
38063
|
+
db: string;
|
|
38064
|
+
json: string;
|
|
38065
|
+
};
|
|
37942
38066
|
};
|
|
37943
38067
|
updatedAt: {
|
|
37944
38068
|
type: string;
|
|
37945
38069
|
format: string;
|
|
37946
38070
|
description: string;
|
|
38071
|
+
"x-oapi-codegen-extra-tags": {
|
|
38072
|
+
db: string;
|
|
38073
|
+
json: string;
|
|
38074
|
+
};
|
|
37947
38075
|
};
|
|
37948
38076
|
deletedAt: {
|
|
37949
38077
|
type: string;
|
|
37950
38078
|
format: string;
|
|
37951
38079
|
"x-go-type": string;
|
|
37952
38080
|
description: string;
|
|
38081
|
+
"x-oapi-codegen-extra-tags": {
|
|
38082
|
+
db: string;
|
|
38083
|
+
json: string;
|
|
38084
|
+
};
|
|
37953
38085
|
};
|
|
37954
38086
|
};
|
|
37955
38087
|
};
|
|
@@ -38006,7 +38138,7 @@ declare const schema: {
|
|
|
38006
38138
|
type: string;
|
|
38007
38139
|
required: string[];
|
|
38008
38140
|
properties: {
|
|
38009
|
-
|
|
38141
|
+
Data: {
|
|
38010
38142
|
type: string;
|
|
38011
38143
|
items: {
|
|
38012
38144
|
"x-go-type": string;
|
|
@@ -38018,31 +38150,61 @@ declare const schema: {
|
|
|
38018
38150
|
"x-go-name": string;
|
|
38019
38151
|
description: string;
|
|
38020
38152
|
};
|
|
38021
|
-
|
|
38153
|
+
isDefault: {
|
|
38022
38154
|
type: string;
|
|
38023
38155
|
description: string;
|
|
38156
|
+
"x-oapi-codegen-extra-tags": {
|
|
38157
|
+
db: string;
|
|
38158
|
+
json: string;
|
|
38159
|
+
};
|
|
38024
38160
|
};
|
|
38025
|
-
|
|
38161
|
+
name: {
|
|
38162
|
+
type: string;
|
|
38163
|
+
description: string;
|
|
38164
|
+
};
|
|
38165
|
+
description: {
|
|
38026
38166
|
type: string;
|
|
38027
|
-
format: string;
|
|
38028
38167
|
description: string;
|
|
38029
38168
|
};
|
|
38169
|
+
emails: {
|
|
38170
|
+
type: string;
|
|
38171
|
+
items: {
|
|
38172
|
+
type: string;
|
|
38173
|
+
format: string;
|
|
38174
|
+
description: string;
|
|
38175
|
+
};
|
|
38176
|
+
};
|
|
38030
38177
|
orgId: {
|
|
38031
38178
|
type: string;
|
|
38032
38179
|
description: string;
|
|
38180
|
+
"x-oapi-codegen-extra-tags": {
|
|
38181
|
+
db: string;
|
|
38182
|
+
json: string;
|
|
38183
|
+
};
|
|
38033
38184
|
};
|
|
38034
38185
|
expiresAt: {
|
|
38035
38186
|
type: string;
|
|
38036
38187
|
format: string;
|
|
38037
38188
|
description: string;
|
|
38189
|
+
"x-oapi-codegen-extra-tags": {
|
|
38190
|
+
db: string;
|
|
38191
|
+
json: string;
|
|
38192
|
+
};
|
|
38038
38193
|
};
|
|
38039
38194
|
quota: {
|
|
38040
38195
|
type: string;
|
|
38041
38196
|
description: string;
|
|
38042
38197
|
};
|
|
38043
|
-
|
|
38198
|
+
acceptedBy: {
|
|
38044
38199
|
type: string;
|
|
38200
|
+
items: {
|
|
38201
|
+
type: string;
|
|
38202
|
+
};
|
|
38045
38203
|
description: string;
|
|
38204
|
+
"x-oapi-codegen-extra-tags": {
|
|
38205
|
+
db: string;
|
|
38206
|
+
json: string;
|
|
38207
|
+
};
|
|
38046
38208
|
};
|
|
38047
38209
|
roles: {
|
|
38048
38210
|
type: string;
|
|
@@ -38068,25 +38230,43 @@ declare const schema: {
|
|
|
38068
38230
|
type: string;
|
|
38069
38231
|
format: string;
|
|
38070
38232
|
description: string;
|
|
38233
|
+
"x-oapi-codegen-extra-tags": {
|
|
38234
|
+
db: string;
|
|
38235
|
+
json: string;
|
|
38236
|
+
};
|
|
38071
38237
|
};
|
|
38072
38238
|
updatedAt: {
|
|
38073
38239
|
type: string;
|
|
38074
38240
|
format: string;
|
|
38075
38241
|
description: string;
|
|
38242
|
+
"x-oapi-codegen-extra-tags": {
|
|
38243
|
+
db: string;
|
|
38244
|
+
json: string;
|
|
38245
|
+
};
|
|
38076
38246
|
};
|
|
38077
38247
|
deletedAt: {
|
|
38078
38248
|
type: string;
|
|
38079
38249
|
format: string;
|
|
38080
38250
|
"x-go-type": string;
|
|
38081
38251
|
description: string;
|
|
38252
|
+
"x-oapi-codegen-extra-tags": {
|
|
38253
|
+
db: string;
|
|
38254
|
+
json: string;
|
|
38255
|
+
};
|
|
38082
38256
|
};
|
|
38083
38257
|
};
|
|
38084
38258
|
};
|
|
38085
38259
|
description: string;
|
|
38260
|
+
"x-oapi-codegen-extra-tags": {
|
|
38261
|
+
json: string;
|
|
38262
|
+
};
|
|
38086
38263
|
};
|
|
38087
|
-
|
|
38264
|
+
TotalCount: {
|
|
38088
38265
|
type: string;
|
|
38089
38266
|
description: string;
|
|
38267
|
+
"x-oapi-codegen-extra-tags": {
|
|
38268
|
+
json: string;
|
|
38269
|
+
};
|
|
38090
38270
|
};
|
|
38091
38271
|
};
|
|
38092
38272
|
};
|
|
@@ -38104,31 +38284,61 @@ declare const schema: {
|
|
|
38104
38284
|
"x-go-name": string;
|
|
38105
38285
|
description: string;
|
|
38106
38286
|
};
|
|
38107
|
-
|
|
38287
|
+
isDefault: {
|
|
38108
38288
|
type: string;
|
|
38109
38289
|
description: string;
|
|
38290
|
+
"x-oapi-codegen-extra-tags": {
|
|
38291
|
+
db: string;
|
|
38292
|
+
json: string;
|
|
38293
|
+
};
|
|
38110
38294
|
};
|
|
38111
|
-
|
|
38295
|
+
name: {
|
|
38296
|
+
type: string;
|
|
38297
|
+
description: string;
|
|
38298
|
+
};
|
|
38299
|
+
description: {
|
|
38112
38300
|
type: string;
|
|
38113
|
-
format: string;
|
|
38114
38301
|
description: string;
|
|
38115
38302
|
};
|
|
38303
|
+
emails: {
|
|
38304
|
+
type: string;
|
|
38305
|
+
items: {
|
|
38306
|
+
type: string;
|
|
38307
|
+
format: string;
|
|
38308
|
+
description: string;
|
|
38309
|
+
};
|
|
38310
|
+
};
|
|
38116
38311
|
orgId: {
|
|
38117
38312
|
type: string;
|
|
38118
38313
|
description: string;
|
|
38314
|
+
"x-oapi-codegen-extra-tags": {
|
|
38315
|
+
db: string;
|
|
38316
|
+
json: string;
|
|
38317
|
+
};
|
|
38119
38318
|
};
|
|
38120
38319
|
expiresAt: {
|
|
38121
38320
|
type: string;
|
|
38122
38321
|
format: string;
|
|
38123
38322
|
description: string;
|
|
38323
|
+
"x-oapi-codegen-extra-tags": {
|
|
38324
|
+
db: string;
|
|
38325
|
+
json: string;
|
|
38326
|
+
};
|
|
38124
38327
|
};
|
|
38125
38328
|
quota: {
|
|
38126
38329
|
type: string;
|
|
38127
38330
|
description: string;
|
|
38128
38331
|
};
|
|
38129
|
-
|
|
38332
|
+
acceptedBy: {
|
|
38130
38333
|
type: string;
|
|
38334
|
+
items: {
|
|
38335
|
+
type: string;
|
|
38336
|
+
};
|
|
38131
38337
|
description: string;
|
|
38338
|
+
"x-oapi-codegen-extra-tags": {
|
|
38339
|
+
db: string;
|
|
38340
|
+
json: string;
|
|
38341
|
+
};
|
|
38132
38342
|
};
|
|
38133
38343
|
roles: {
|
|
38134
38344
|
type: string;
|
|
@@ -38154,17 +38364,29 @@ declare const schema: {
|
|
|
38154
38364
|
type: string;
|
|
38155
38365
|
format: string;
|
|
38156
38366
|
description: string;
|
|
38367
|
+
"x-oapi-codegen-extra-tags": {
|
|
38368
|
+
db: string;
|
|
38369
|
+
json: string;
|
|
38370
|
+
};
|
|
38157
38371
|
};
|
|
38158
38372
|
updatedAt: {
|
|
38159
38373
|
type: string;
|
|
38160
38374
|
format: string;
|
|
38161
38375
|
description: string;
|
|
38376
|
+
"x-oapi-codegen-extra-tags": {
|
|
38377
|
+
db: string;
|
|
38378
|
+
json: string;
|
|
38379
|
+
};
|
|
38162
38380
|
};
|
|
38163
38381
|
deletedAt: {
|
|
38164
38382
|
type: string;
|
|
38165
38383
|
format: string;
|
|
38166
38384
|
"x-go-type": string;
|
|
38167
38385
|
description: string;
|
|
38386
|
+
"x-oapi-codegen-extra-tags": {
|
|
38387
|
+
db: string;
|
|
38388
|
+
json: string;
|
|
38389
|
+
};
|
|
38168
38390
|
};
|
|
38169
38391
|
};
|
|
38170
38392
|
};
|
package/dist/index.js
CHANGED
|
@@ -362,5 +362,5 @@ copy: Copies a value from one location to another.
|
|
|
362
362
|
move: Moves a value from one location to another.
|
|
363
363
|
test: Tests that a value at the target location is equal to a specified value.`,$comment:`Array Indexing: When working with arrays, be aware that Kubernetes uses zero-based indexing in JSON patch paths.
|
|
364
364
|
Merge Patch vs. JSON Patch: Merge patches are less flexible than JSON patches and do not support all the same operations.
|
|
365
|
-
Strategic Merge Patch: For some Kubernetes resources, you can also use the strategic type for a strategic merge patch, which understands the structure of Kubernetes objects and can handle complex operations.`,type:"string",enum:["merge","strategic","add","remove","copy","move","test"],default:"copy"}}},{oneOf:[{properties:{mutatorRef:{type:"array",items:{type:"array",items:{type:"string"},description:"The sequence of mutatorRef and mutatedRef must match. eg: mutatorRef: [[config, url], [config, name]], mutatedRef: [[configPatch, value], [name]]. The value [config, url] will be patched at [configPatch, value]. Similarly [config,name] will be patched at [name]."},description:"JSON ref to value from where patch should be applied."}}},{properties:{mutatedRef:{type:"array",items:{type:"array",items:{type:"string"},description:"JSONPath (https://en.wikipedia.org/wiki/JSONPath) to property to be patched."}}}}]}],"x-oapi-codegen-extra-tags":{yaml:"patch",json:"patch"}}},description:"Optional fields that are a part of the `from` selector. Absence of a field has an implied * meaning."}}}}}}}}}}},$schema:"http://json-schema.org/draft-04/schema#"},h=y;var u={openapi:"3.0.0",info:{title:"invitation",description:"OpenAPI schema for managing invitations",version:"v1beta1"},tags:[{name:"Invitation",description:"Operations related to invitation"}],paths:{"/api/organizations/invitations":{get:{"x-internal":["cloud"],operationId:"getInvitations",tags:["Invitation"],summary:"Get all invitations for the organization",responses:{200:{content:{"application/json":{schema:{type:"object",required:["items","totalCount"],properties:{data:{type:"array",items:{"x-go-type":"Invitation",type:"object",required:["id","default","email","orgId","expiresAt","quota","usedQuota","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},is_default:{type:"boolean",description:"Indicates whether the invitation is a default invitation, which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation"},email:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null or empty string means the invitation is valid for all email addresses"},orgId:{type:"string",description:"ID of the organization to which the user is invited"},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire"},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},usedQuota:{type:"integer",description:"Number of times the invitation has been used, null or empty string means the invitation has not been used yet"},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created"},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated"},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable"}}},description:"List of invitations"},totalCount:{type:"integer",description:"Total number of invitations available"}}}}}},400:{description:"Bad Request"},401:{description:"Unauthorized"},500:{description:"Internal Server Error"}}},post:{"x-internal":["cloud"],operationId:"createInvitation",tags:["Invitation"],summary:"Create a new invitation for the organization",requestBody:{content:{"application/json":{schema:{type:"object",required:["id","default","email","orgId","expiresAt","quota","usedQuota","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},is_default:{type:"boolean",description:"Indicates whether the invitation is a default invitation, which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation"},email:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null or empty string means the invitation is valid for all email addresses"},orgId:{type:"string",description:"ID of the organization to which the user is invited"},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire"},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},usedQuota:{type:"integer",description:"Number of times the invitation has been used, null or empty string means the invitation has not been used yet"},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created"},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated"},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable"}}}}},required:true},responses:{201:{content:{"application/json":{schema:{type:"object",required:["id","default","email","orgId","expiresAt","quota","usedQuota","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},is_default:{type:"boolean",description:"Indicates whether the invitation is a default invitation, which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation"},email:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null or empty string means the invitation is valid for all email addresses"},orgId:{type:"string",description:"ID of the organization to which the user is invited"},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire"},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},usedQuota:{type:"integer",description:"Number of times the invitation has been used, null or empty string means the invitation has not been used yet"},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created"},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated"},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable"}}}}}},400:{description:"Bad Request"},401:{description:"Unauthorized"},500:{description:"Internal Server Error"}}}}},components:{parameters:{organization_id:{name:"organizationId",in:"path",required:true,description:"The ID of the organization",schema:{type:"string"}}},responses:{400:{description:"Bad Request"},401:{description:"Unauthorized"},500:{description:"Internal Server Error"}},schemas:{uuid:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},InvitationsPage:{type:"object",required:["items","totalCount"],properties:{data:{type:"array",items:{"x-go-type":"Invitation",type:"object",required:["id","default","email","orgId","expiresAt","quota","usedQuota","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},is_default:{type:"boolean",description:"Indicates whether the invitation is a default invitation, which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation"},email:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null or empty string means the invitation is valid for all email addresses"},orgId:{type:"string",description:"ID of the organization to which the user is invited"},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire"},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},usedQuota:{type:"integer",description:"Number of times the invitation has been used, null or empty string means the invitation has not been used yet"},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created"},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated"},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable"}}},description:"List of invitations"},totalCount:{type:"integer",description:"Total number of invitations available"}}},InvitationStatus:{type:"string",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},Invitation:{type:"object",required:["id","default","email","orgId","expiresAt","quota","usedQuota","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},is_default:{type:"boolean",description:"Indicates whether the invitation is a default invitation, which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation"},email:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null or empty string means the invitation is valid for all email addresses"},orgId:{type:"string",description:"ID of the organization to which the user is invited"},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire"},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},usedQuota:{type:"integer",description:"Number of times the invitation has been used, null or empty string means the invitation has not been used yet"},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created"},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated"},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable"}}}}},$schema:"http://json-schema.org/draft-04/schema#"},f=u;
|
|
365
|
+
Strategic Merge Patch: For some Kubernetes resources, you can also use the strategic type for a strategic merge patch, which understands the structure of Kubernetes objects and can handle complex operations.`,type:"string",enum:["merge","strategic","add","remove","copy","move","test"],default:"copy"}}},{oneOf:[{properties:{mutatorRef:{type:"array",items:{type:"array",items:{type:"string"},description:"The sequence of mutatorRef and mutatedRef must match. eg: mutatorRef: [[config, url], [config, name]], mutatedRef: [[configPatch, value], [name]]. The value [config, url] will be patched at [configPatch, value]. Similarly [config,name] will be patched at [name]."},description:"JSON ref to value from where patch should be applied."}}},{properties:{mutatedRef:{type:"array",items:{type:"array",items:{type:"string"},description:"JSONPath (https://en.wikipedia.org/wiki/JSONPath) to property to be patched."}}}}]}],"x-oapi-codegen-extra-tags":{yaml:"patch",json:"patch"}}},description:"Optional fields that are a part of the `from` selector. Absence of a field has an implied * meaning."}}}}}}}}}}},$schema:"http://json-schema.org/draft-04/schema#"},h=y;var u={openapi:"3.0.0",info:{title:"invitation",description:"OpenAPI schema for managing invitations",version:"v1beta1"},tags:[{name:"Invitation",description:"Operations related to invitation"}],paths:{"/api/organizations/invitations":{get:{"x-internal":["cloud"],operationId:"getInvitations",tags:["Invitation"],summary:"Get all invitations for the organization",responses:{200:{content:{"application/json":{schema:{type:"object",required:["data","totalCount"],properties:{Data:{type:"array",items:{"x-go-type":"Invitation",type:"object",required:["id","default","name","description","emails","orgId","expiresAt","quota","acceptedBy","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},isDefault:{type:"boolean",description:"Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation","x-oapi-codegen-extra-tags":{db:"is_default",json:"is_default"}},name:{type:"string",description:"Name of the invitation, which can be used to identify the invitation, required and cant be empty string,"},description:{type:"string",description:"Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description"},emails:{type:"array",items:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null means the invitation is valid for all email addresses"}},orgId:{type:"string",description:"ID of the organization to which the user is invited","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"}},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire","x-oapi-codegen-extra-tags":{db:"expires_at",json:"expires_at"}},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},acceptedBy:{type:"array",items:{type:"string"},description:"List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet","x-oapi-codegen-extra-tags":{db:"accepted_by",json:"accepted_by"}},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created","x-oapi-codegen-extra-tags":{db:"created_at",json:"created_at"}},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated","x-oapi-codegen-extra-tags":{db:"updated_at",json:"updated_at"}},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}},description:"List of invitations","x-oapi-codegen-extra-tags":{json:"data"}},TotalCount:{type:"integer",description:"Total number of invitations available","x-oapi-codegen-extra-tags":{json:"total_count"}}}}}}},400:{description:"Bad Request"},401:{description:"Unauthorized"},500:{description:"Internal Server Error"}}},post:{"x-internal":["cloud"],operationId:"createInvitation",tags:["Invitation"],summary:"Create a new invitation for the organization",requestBody:{content:{"application/json":{schema:{type:"object",required:["id","default","name","description","emails","orgId","expiresAt","quota","acceptedBy","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},isDefault:{type:"boolean",description:"Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation","x-oapi-codegen-extra-tags":{db:"is_default",json:"is_default"}},name:{type:"string",description:"Name of the invitation, which can be used to identify the invitation, required and cant be empty string,"},description:{type:"string",description:"Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description"},emails:{type:"array",items:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null means the invitation is valid for all email addresses"}},orgId:{type:"string",description:"ID of the organization to which the user is invited","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"}},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire","x-oapi-codegen-extra-tags":{db:"expires_at",json:"expires_at"}},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},acceptedBy:{type:"array",items:{type:"string"},description:"List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet","x-oapi-codegen-extra-tags":{db:"accepted_by",json:"accepted_by"}},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created","x-oapi-codegen-extra-tags":{db:"created_at",json:"created_at"}},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated","x-oapi-codegen-extra-tags":{db:"updated_at",json:"updated_at"}},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}},required:true},responses:{201:{content:{"application/json":{schema:{type:"object",required:["id","default","name","description","emails","orgId","expiresAt","quota","acceptedBy","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},isDefault:{type:"boolean",description:"Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation","x-oapi-codegen-extra-tags":{db:"is_default",json:"is_default"}},name:{type:"string",description:"Name of the invitation, which can be used to identify the invitation, required and cant be empty string,"},description:{type:"string",description:"Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description"},emails:{type:"array",items:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null means the invitation is valid for all email addresses"}},orgId:{type:"string",description:"ID of the organization to which the user is invited","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"}},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire","x-oapi-codegen-extra-tags":{db:"expires_at",json:"expires_at"}},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},acceptedBy:{type:"array",items:{type:"string"},description:"List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet","x-oapi-codegen-extra-tags":{db:"accepted_by",json:"accepted_by"}},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created","x-oapi-codegen-extra-tags":{db:"created_at",json:"created_at"}},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated","x-oapi-codegen-extra-tags":{db:"updated_at",json:"updated_at"}},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}}},400:{description:"Bad Request"},401:{description:"Unauthorized"},500:{description:"Internal Server Error"}}}}},components:{parameters:{organization_id:{name:"organizationId",in:"path",required:true,description:"The ID of the organization",schema:{type:"string"}}},responses:{400:{description:"Bad Request"},401:{description:"Unauthorized"},500:{description:"Internal Server Error"}},schemas:{uuid:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},InvitationsPage:{type:"object",required:["data","totalCount"],properties:{Data:{type:"array",items:{"x-go-type":"Invitation",type:"object",required:["id","default","name","description","emails","orgId","expiresAt","quota","acceptedBy","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},isDefault:{type:"boolean",description:"Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation","x-oapi-codegen-extra-tags":{db:"is_default",json:"is_default"}},name:{type:"string",description:"Name of the invitation, which can be used to identify the invitation, required and cant be empty string,"},description:{type:"string",description:"Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description"},emails:{type:"array",items:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null means the invitation is valid for all email addresses"}},orgId:{type:"string",description:"ID of the organization to which the user is invited","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"}},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire","x-oapi-codegen-extra-tags":{db:"expires_at",json:"expires_at"}},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},acceptedBy:{type:"array",items:{type:"string"},description:"List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet","x-oapi-codegen-extra-tags":{db:"accepted_by",json:"accepted_by"}},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created","x-oapi-codegen-extra-tags":{db:"created_at",json:"created_at"}},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated","x-oapi-codegen-extra-tags":{db:"updated_at",json:"updated_at"}},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}},description:"List of invitations","x-oapi-codegen-extra-tags":{json:"data"}},TotalCount:{type:"integer",description:"Total number of invitations available","x-oapi-codegen-extra-tags":{json:"total_count"}}}},InvitationStatus:{type:"string",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},Invitation:{type:"object",required:["id","default","name","description","emails","orgId","expiresAt","quota","acceptedBy","status","roles","teams","createdAt","updatedAt","deletedAt"],properties:{id:{ref:"#/components/schemas/uuid","x-go-name":"ID",description:"Unique identifier for the invitation , is also used as the invitation code"},isDefault:{type:"boolean",description:"Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation","x-oapi-codegen-extra-tags":{db:"is_default",json:"is_default"}},name:{type:"string",description:"Name of the invitation, which can be used to identify the invitation, required and cant be empty string,"},description:{type:"string",description:"Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description"},emails:{type:"array",items:{type:"string",format:"email",description:"Exact email address or the email address pattern for which the invitation is valid , null means the invitation is valid for all email addresses"}},orgId:{type:"string",description:"ID of the organization to which the user is invited","x-oapi-codegen-extra-tags":{db:"org_id",json:"org_id"}},expiresAt:{type:"string",format:"date-time",description:"Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire","x-oapi-codegen-extra-tags":{db:"expires_at",json:"expires_at"}},quota:{type:"integer",description:"Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota"},acceptedBy:{type:"array",items:{type:"string"},description:"List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet","x-oapi-codegen-extra-tags":{db:"accepted_by",json:"accepted_by"}},roles:{type:"array",items:{type:"string",description:"Roles that the user will have when accepting the invitation, null or empty string means the invitation does not specify any roles"}},teams:{type:"array",items:{type:"string",description:"Teams that the user will be added to when accepting the invitation, null or empty string means the invitation does not specify any teams"}},status:{type:"string","x-go-type":"InvitationStatus",enum:["enabled","disabled"],description:"Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later."},createdAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was created","x-oapi-codegen-extra-tags":{db:"created_at",json:"created_at"}},updatedAt:{type:"string",format:"date-time",description:"Timestamp when the invitation was last updated","x-oapi-codegen-extra-tags":{db:"updated_at",json:"updated_at"}},deletedAt:{type:"string",format:"date-time","x-go-type":"core.NullTime",description:"Timestamp when the invitation was deleted, if applicable","x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deleted_at"}}}}}},$schema:"http://json-schema.org/draft-04/schema#"},f=u;
|
|
366
366
|
exports.CategoryDefinitionV1Beta1OpenApiSchema=a;exports.ComponentDefinitionV1Beta1OpenApiSchema=s;exports.DesignDefinitionV1Beta1OpenApiSchema=t;exports.EnvironmentDefinitionV1Beta1OpenApiSchema=l;exports.InvitationSchema=f;exports.ModelDefinitionV1Beta1OpenApiSchema=d;exports.RelationshipDefinitionV1Alpha3OpenApiSchema=h;exports.SubCategoryDefinitionV1Beta1OpenApiSchema=n;exports.WorkspaceDefinitionV1Beta1OpenApiSchema=g;
|