@simpleapps-com/augur-api 2026.6.2 → 2026.6.4

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/index.mjs CHANGED
@@ -9725,6 +9725,34 @@ var AgrInfoClient = class extends BaseServiceClient {
9725
9725
 
9726
9726
  // src/services/agr-int/generated/schemas.ts
9727
9727
  import * as v22 from "valibot";
9728
+ var BundlesListParamsSchema = v22.looseObject({
9729
+ ...EdgeCacheParamsSchema.entries,
9730
+ bundleId: v22.optional(v22.string()),
9731
+ bundleName: v22.optional(v22.string()),
9732
+ limit: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9733
+ offset: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9734
+ orderBy: v22.optional(v22.string()),
9735
+ statusCd: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9736
+ systemFlag: v22.optional(v22.string())
9737
+ });
9738
+ var BundlesResourcesListParamsSchema = v22.looseObject({
9739
+ ...EdgeCacheParamsSchema.entries,
9740
+ limit: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9741
+ offset: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9742
+ orderBy: v22.optional(v22.string()),
9743
+ statusCd: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number)))
9744
+ });
9745
+ var ResourcesListParamsSchema = v22.looseObject({
9746
+ ...EdgeCacheParamsSchema.entries,
9747
+ limit: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9748
+ offset: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9749
+ orderBy: v22.optional(v22.string()),
9750
+ resourceId: v22.optional(v22.string()),
9751
+ resourceName: v22.optional(v22.string()),
9752
+ resourcePath: v22.optional(v22.string()),
9753
+ resourceType: v22.optional(v22.string()),
9754
+ statusCd: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number)))
9755
+ });
9728
9756
  var RolesListParamsSchema = v22.looseObject({
9729
9757
  ...EdgeCacheParamsSchema.entries,
9730
9758
  limit: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
@@ -9735,6 +9763,13 @@ var RolesListParamsSchema = v22.looseObject({
9735
9763
  statusCd: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9736
9764
  systemFlag: v22.optional(v22.string())
9737
9765
  });
9766
+ var RolesBundlesListParamsSchema = v22.looseObject({
9767
+ ...EdgeCacheParamsSchema.entries,
9768
+ limit: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9769
+ offset: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number))),
9770
+ orderBy: v22.optional(v22.string()),
9771
+ statusCd: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number)))
9772
+ });
9738
9773
  var UsersListParamsSchema = v22.looseObject({
9739
9774
  ...EdgeCacheParamsSchema.entries,
9740
9775
  email: v22.optional(v22.string()),
@@ -9752,6 +9787,44 @@ var UsersRolesListParamsSchema = v22.looseObject({
9752
9787
  orderBy: v22.optional(v22.string()),
9753
9788
  statusCd: v22.optional(v22.pipe(v22.unknown(), v22.transform(Number)))
9754
9789
  });
9790
+ var BundlesDataSchema = v22.looseObject({
9791
+ bundlesUid: v22.optional(v22.number()),
9792
+ bundleId: v22.optional(v22.string()),
9793
+ bundleName: v22.optional(v22.string()),
9794
+ description: v22.optional(v22.nullable(v22.string())),
9795
+ systemFlag: v22.optional(v22.string()),
9796
+ dateCreated: v22.optional(v22.string()),
9797
+ dateLastModified: v22.optional(v22.string()),
9798
+ updateCd: v22.optional(v22.number()),
9799
+ statusCd: v22.optional(v22.number()),
9800
+ processCd: v22.optional(v22.number())
9801
+ });
9802
+ var BundlesResourcesDataSchema = v22.looseObject({
9803
+ bundlesXResourcesUid: v22.optional(v22.number()),
9804
+ bundlesUid: v22.optional(v22.number()),
9805
+ resourcesUid: v22.optional(v22.number()),
9806
+ readCd: v22.optional(v22.number()),
9807
+ writeCd: v22.optional(v22.number()),
9808
+ executeCd: v22.optional(v22.number()),
9809
+ dateCreated: v22.optional(v22.string()),
9810
+ dateLastModified: v22.optional(v22.string()),
9811
+ updateCd: v22.optional(v22.number()),
9812
+ statusCd: v22.optional(v22.number()),
9813
+ processCd: v22.optional(v22.number())
9814
+ });
9815
+ var ResourcesDataSchema = v22.looseObject({
9816
+ resourcesUid: v22.optional(v22.number()),
9817
+ resourceId: v22.optional(v22.string()),
9818
+ resourceName: v22.optional(v22.string()),
9819
+ resourceType: v22.optional(v22.string()),
9820
+ resourcePath: v22.optional(v22.string()),
9821
+ description: v22.optional(v22.nullable(v22.string())),
9822
+ dateCreated: v22.optional(v22.string()),
9823
+ dateLastModified: v22.optional(v22.string()),
9824
+ updateCd: v22.optional(v22.number()),
9825
+ statusCd: v22.optional(v22.number()),
9826
+ processCd: v22.optional(v22.number())
9827
+ });
9755
9828
  var RolesDataSchema = v22.looseObject({
9756
9829
  rolesUid: v22.optional(v22.number()),
9757
9830
  roleId: v22.optional(v22.string()),
@@ -9764,6 +9837,16 @@ var RolesDataSchema = v22.looseObject({
9764
9837
  statusCd: v22.optional(v22.number()),
9765
9838
  processCd: v22.optional(v22.number())
9766
9839
  });
9840
+ var RolesBundlesDataSchema = v22.looseObject({
9841
+ rolesXBundlesUid: v22.optional(v22.number()),
9842
+ rolesUid: v22.optional(v22.number()),
9843
+ bundlesUid: v22.optional(v22.number()),
9844
+ dateCreated: v22.optional(v22.string()),
9845
+ dateLastModified: v22.optional(v22.string()),
9846
+ updateCd: v22.optional(v22.number()),
9847
+ statusCd: v22.optional(v22.number()),
9848
+ processCd: v22.optional(v22.number())
9849
+ });
9767
9850
  var UsersDataSchema = v22.looseObject({
9768
9851
  usersUid: v22.optional(v22.number()),
9769
9852
  username: v22.optional(v22.string()),
@@ -9777,9 +9860,18 @@ var UsersDataSchema = v22.looseObject({
9777
9860
  statusCd: v22.optional(v22.number()),
9778
9861
  processCd: v22.optional(v22.number())
9779
9862
  });
9780
- var UsersVerifyDataSchema = v22.looseObject({
9863
+ var UsersRotateDataSchema = v22.looseObject({
9781
9864
  usersUid: v22.optional(v22.number()),
9782
- username: v22.optional(v22.string())
9865
+ username: v22.optional(v22.string()),
9866
+ token: v22.optional(v22.string())
9867
+ });
9868
+ var UsersValidateDataSchema = v22.looseObject({
9869
+ valid: v22.optional(v22.boolean()),
9870
+ scope: v22.optional(v22.string()),
9871
+ userId: v22.optional(v22.number()),
9872
+ username: v22.optional(v22.string()),
9873
+ email: v22.optional(v22.string()),
9874
+ name: v22.optional(v22.string())
9783
9875
  });
9784
9876
  var UsersRolesDataSchema = v22.looseObject({
9785
9877
  usersXRolesUid: v22.optional(v22.number()),
@@ -9795,6 +9887,195 @@ var PassthroughDataSchema15 = v22.record(v22.string(), v22.unknown());
9795
9887
 
9796
9888
  // src/services/agr-int/generated/endpoints.ts
9797
9889
  var endpoints15 = [
9890
+ {
9891
+ method: "GET",
9892
+ path: "/bundles",
9893
+ chain: "bundles",
9894
+ action: "list",
9895
+ aliases: [],
9896
+ pathParams: [],
9897
+ queryParams: ["bundleId", "bundleName", "limit", "offset", "orderBy", "statusCd", "systemFlag"],
9898
+ edgeCache: true,
9899
+ responseSchema: BundlesDataSchema,
9900
+ responseType: "array"
9901
+ },
9902
+ {
9903
+ method: "POST",
9904
+ path: "/bundles",
9905
+ chain: "bundles",
9906
+ action: "create",
9907
+ aliases: [],
9908
+ pathParams: [],
9909
+ queryParams: [],
9910
+ edgeCache: false,
9911
+ responseSchema: BundlesDataSchema,
9912
+ responseType: "object"
9913
+ },
9914
+ {
9915
+ method: "GET",
9916
+ path: "/bundles/{bundlesUid}",
9917
+ chain: "bundles",
9918
+ action: "get",
9919
+ aliases: [],
9920
+ pathParams: ["bundlesUid"],
9921
+ queryParams: [],
9922
+ edgeCache: true,
9923
+ responseSchema: BundlesDataSchema,
9924
+ responseType: "object"
9925
+ },
9926
+ {
9927
+ method: "PUT",
9928
+ path: "/bundles/{bundlesUid}",
9929
+ chain: "bundles",
9930
+ action: "update",
9931
+ aliases: [],
9932
+ pathParams: ["bundlesUid"],
9933
+ queryParams: [],
9934
+ edgeCache: false,
9935
+ responseSchema: BundlesDataSchema,
9936
+ responseType: "object"
9937
+ },
9938
+ {
9939
+ method: "DELETE",
9940
+ path: "/bundles/{bundlesUid}",
9941
+ chain: "bundles",
9942
+ action: "delete",
9943
+ aliases: [],
9944
+ pathParams: ["bundlesUid"],
9945
+ queryParams: [],
9946
+ edgeCache: false,
9947
+ responseSchema: BundlesDataSchema,
9948
+ responseType: "object"
9949
+ },
9950
+ {
9951
+ method: "GET",
9952
+ path: "/bundles/{bundlesUid}/resources",
9953
+ chain: "bundles.resources",
9954
+ action: "list",
9955
+ aliases: [],
9956
+ pathParams: ["bundlesUid"],
9957
+ queryParams: ["limit", "offset", "orderBy", "statusCd"],
9958
+ edgeCache: true,
9959
+ responseSchema: BundlesResourcesDataSchema,
9960
+ responseType: "array"
9961
+ },
9962
+ {
9963
+ method: "POST",
9964
+ path: "/bundles/{bundlesUid}/resources",
9965
+ chain: "bundles.resources",
9966
+ action: "create",
9967
+ aliases: [],
9968
+ pathParams: ["bundlesUid"],
9969
+ queryParams: [],
9970
+ edgeCache: false,
9971
+ responseSchema: BundlesResourcesDataSchema,
9972
+ responseType: "object"
9973
+ },
9974
+ {
9975
+ method: "GET",
9976
+ path: "/bundles/{bundlesUid}/resources/{bundlesXResourcesUid}",
9977
+ chain: "bundles.resources",
9978
+ action: "get",
9979
+ aliases: [],
9980
+ pathParams: ["bundlesUid", "bundlesXResourcesUid"],
9981
+ queryParams: [],
9982
+ edgeCache: true,
9983
+ responseSchema: BundlesResourcesDataSchema,
9984
+ responseType: "object"
9985
+ },
9986
+ {
9987
+ method: "PUT",
9988
+ path: "/bundles/{bundlesUid}/resources/{bundlesXResourcesUid}",
9989
+ chain: "bundles.resources",
9990
+ action: "update",
9991
+ aliases: [],
9992
+ pathParams: ["bundlesUid", "bundlesXResourcesUid"],
9993
+ queryParams: [],
9994
+ edgeCache: false,
9995
+ responseSchema: BundlesResourcesDataSchema,
9996
+ responseType: "object"
9997
+ },
9998
+ {
9999
+ method: "DELETE",
10000
+ path: "/bundles/{bundlesUid}/resources/{bundlesXResourcesUid}",
10001
+ chain: "bundles.resources",
10002
+ action: "delete",
10003
+ aliases: [],
10004
+ pathParams: ["bundlesUid", "bundlesXResourcesUid"],
10005
+ queryParams: [],
10006
+ edgeCache: false,
10007
+ responseSchema: BundlesResourcesDataSchema,
10008
+ responseType: "object"
10009
+ },
10010
+ {
10011
+ method: "GET",
10012
+ path: "/resources",
10013
+ chain: "resources",
10014
+ action: "list",
10015
+ aliases: [],
10016
+ pathParams: [],
10017
+ queryParams: [
10018
+ "limit",
10019
+ "offset",
10020
+ "orderBy",
10021
+ "resourceId",
10022
+ "resourceName",
10023
+ "resourcePath",
10024
+ "resourceType",
10025
+ "statusCd"
10026
+ ],
10027
+ edgeCache: true,
10028
+ responseSchema: ResourcesDataSchema,
10029
+ responseType: "array"
10030
+ },
10031
+ {
10032
+ method: "POST",
10033
+ path: "/resources",
10034
+ chain: "resources",
10035
+ action: "create",
10036
+ aliases: [],
10037
+ pathParams: [],
10038
+ queryParams: [],
10039
+ edgeCache: false,
10040
+ responseSchema: ResourcesDataSchema,
10041
+ responseType: "object"
10042
+ },
10043
+ {
10044
+ method: "GET",
10045
+ path: "/resources/{resourcesUid}",
10046
+ chain: "resources",
10047
+ action: "get",
10048
+ aliases: [],
10049
+ pathParams: ["resourcesUid"],
10050
+ queryParams: [],
10051
+ edgeCache: true,
10052
+ responseSchema: ResourcesDataSchema,
10053
+ responseType: "object"
10054
+ },
10055
+ {
10056
+ method: "PUT",
10057
+ path: "/resources/{resourcesUid}",
10058
+ chain: "resources",
10059
+ action: "update",
10060
+ aliases: [],
10061
+ pathParams: ["resourcesUid"],
10062
+ queryParams: [],
10063
+ edgeCache: false,
10064
+ responseSchema: ResourcesDataSchema,
10065
+ responseType: "object"
10066
+ },
10067
+ {
10068
+ method: "DELETE",
10069
+ path: "/resources/{resourcesUid}",
10070
+ chain: "resources",
10071
+ action: "delete",
10072
+ aliases: [],
10073
+ pathParams: ["resourcesUid"],
10074
+ queryParams: [],
10075
+ edgeCache: false,
10076
+ responseSchema: ResourcesDataSchema,
10077
+ responseType: "object"
10078
+ },
9798
10079
  {
9799
10080
  method: "GET",
9800
10081
  path: "/roles",
@@ -9855,6 +10136,66 @@ var endpoints15 = [
9855
10136
  responseSchema: RolesDataSchema,
9856
10137
  responseType: "object"
9857
10138
  },
10139
+ {
10140
+ method: "GET",
10141
+ path: "/roles/{rolesUid}/bundles",
10142
+ chain: "roles.bundles",
10143
+ action: "list",
10144
+ aliases: [],
10145
+ pathParams: ["rolesUid"],
10146
+ queryParams: ["limit", "offset", "orderBy", "statusCd"],
10147
+ edgeCache: true,
10148
+ responseSchema: RolesBundlesDataSchema,
10149
+ responseType: "array"
10150
+ },
10151
+ {
10152
+ method: "POST",
10153
+ path: "/roles/{rolesUid}/bundles",
10154
+ chain: "roles.bundles",
10155
+ action: "create",
10156
+ aliases: [],
10157
+ pathParams: ["rolesUid"],
10158
+ queryParams: [],
10159
+ edgeCache: false,
10160
+ responseSchema: RolesBundlesDataSchema,
10161
+ responseType: "object"
10162
+ },
10163
+ {
10164
+ method: "GET",
10165
+ path: "/roles/{rolesUid}/bundles/{rolesXBundlesUid}",
10166
+ chain: "roles.bundles",
10167
+ action: "get",
10168
+ aliases: [],
10169
+ pathParams: ["rolesUid", "rolesXBundlesUid"],
10170
+ queryParams: [],
10171
+ edgeCache: true,
10172
+ responseSchema: RolesBundlesDataSchema,
10173
+ responseType: "object"
10174
+ },
10175
+ {
10176
+ method: "PUT",
10177
+ path: "/roles/{rolesUid}/bundles/{rolesXBundlesUid}",
10178
+ chain: "roles.bundles",
10179
+ action: "update",
10180
+ aliases: [],
10181
+ pathParams: ["rolesUid", "rolesXBundlesUid"],
10182
+ queryParams: [],
10183
+ edgeCache: false,
10184
+ responseSchema: RolesBundlesDataSchema,
10185
+ responseType: "object"
10186
+ },
10187
+ {
10188
+ method: "DELETE",
10189
+ path: "/roles/{rolesUid}/bundles/{rolesXBundlesUid}",
10190
+ chain: "roles.bundles",
10191
+ action: "delete",
10192
+ aliases: [],
10193
+ pathParams: ["rolesUid", "rolesXBundlesUid"],
10194
+ queryParams: [],
10195
+ edgeCache: false,
10196
+ responseSchema: RolesBundlesDataSchema,
10197
+ responseType: "object"
10198
+ },
9858
10199
  {
9859
10200
  method: "GET",
9860
10201
  path: "/users",
@@ -9879,6 +10220,30 @@ var endpoints15 = [
9879
10220
  responseSchema: UsersDataSchema,
9880
10221
  responseType: "object"
9881
10222
  },
10223
+ {
10224
+ method: "POST",
10225
+ path: "/users/rotate",
10226
+ chain: "users.rotate",
10227
+ action: "create",
10228
+ aliases: [],
10229
+ pathParams: [],
10230
+ queryParams: [],
10231
+ edgeCache: false,
10232
+ responseSchema: UsersRotateDataSchema,
10233
+ responseType: "object"
10234
+ },
10235
+ {
10236
+ method: "POST",
10237
+ path: "/users/validate",
10238
+ chain: "users.validate",
10239
+ action: "create",
10240
+ aliases: [],
10241
+ pathParams: [],
10242
+ queryParams: [],
10243
+ edgeCache: false,
10244
+ responseSchema: UsersValidateDataSchema,
10245
+ responseType: "object"
10246
+ },
9882
10247
  {
9883
10248
  method: "POST",
9884
10249
  path: "/users/verify",
@@ -9888,7 +10253,7 @@ var endpoints15 = [
9888
10253
  pathParams: [],
9889
10254
  queryParams: [],
9890
10255
  edgeCache: false,
9891
- responseSchema: UsersVerifyDataSchema,
10256
+ responseSchema: UsersRotateDataSchema,
9892
10257
  responseType: "object"
9893
10258
  },
9894
10259
  {
@@ -9998,8 +10363,12 @@ var AgrIntClient = class extends BaseServiceClient {
9998
10363
  };
9999
10364
  const proxy = createServiceProxy("agr-int", boundExecuteRequest, endpoints15);
10000
10365
  const dataProxy = createDataProxy(proxy);
10366
+ this.bundles = proxy.bundles;
10367
+ this.resources = proxy.resources;
10001
10368
  this.roles = proxy.roles;
10002
10369
  this.users = proxy.users;
10370
+ this.bundlesData = dataProxy.bundles;
10371
+ this.resourcesData = dataProxy.resources;
10003
10372
  this.rolesData = dataProxy.roles;
10004
10373
  this.usersData = dataProxy.users;
10005
10374
  }
@@ -14479,7 +14848,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
14479
14848
  }
14480
14849
 
14481
14850
  // src/index.ts
14482
- var VERSION = "2026.6.2";
14851
+ var VERSION = "2026.6.4";
14483
14852
  export {
14484
14853
  AgrInfoClient,
14485
14854
  AgrIntClient,