@azure-rest/confidential-ledger 1.1.2-beta.1 → 1.1.2-beta.3

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 (138) hide show
  1. package/dist/commonjs/clientDefinitions.d.ts +68 -10
  2. package/dist/commonjs/clientDefinitions.d.ts.map +1 -1
  3. package/dist/commonjs/clientDefinitions.js.map +1 -1
  4. package/dist/commonjs/confidentialLedger.d.ts +2 -2
  5. package/dist/commonjs/confidentialLedger.d.ts.map +1 -1
  6. package/dist/commonjs/confidentialLedger.js +5 -5
  7. package/dist/commonjs/confidentialLedger.js.map +1 -1
  8. package/dist/commonjs/isUnexpected.d.ts +19 -1
  9. package/dist/commonjs/isUnexpected.d.ts.map +1 -1
  10. package/dist/commonjs/isUnexpected.js +18 -0
  11. package/dist/commonjs/isUnexpected.js.map +1 -1
  12. package/dist/commonjs/models.d.ts +57 -12
  13. package/dist/commonjs/models.d.ts.map +1 -1
  14. package/dist/commonjs/models.js.map +1 -1
  15. package/dist/commonjs/outputModels.d.ts +71 -0
  16. package/dist/commonjs/outputModels.d.ts.map +1 -1
  17. package/dist/commonjs/outputModels.js.map +1 -1
  18. package/dist/commonjs/paginateHelper.d.ts +4 -0
  19. package/dist/commonjs/paginateHelper.d.ts.map +1 -1
  20. package/dist/commonjs/paginateHelper.js +8 -1
  21. package/dist/commonjs/paginateHelper.js.map +1 -1
  22. package/dist/commonjs/parameters.d.ts +92 -2
  23. package/dist/commonjs/parameters.d.ts.map +1 -1
  24. package/dist/commonjs/parameters.js.map +1 -1
  25. package/dist/commonjs/responses.d.ts +172 -12
  26. package/dist/commonjs/responses.d.ts.map +1 -1
  27. package/dist/commonjs/responses.js.map +1 -1
  28. package/dist/commonjs/tsdoc-metadata.json +1 -1
  29. package/dist/esm/clientDefinitions.d.ts +68 -10
  30. package/dist/esm/clientDefinitions.d.ts.map +1 -1
  31. package/dist/esm/clientDefinitions.js.map +1 -1
  32. package/dist/esm/confidentialLedger.d.ts +2 -2
  33. package/dist/esm/confidentialLedger.d.ts.map +1 -1
  34. package/dist/esm/confidentialLedger.js +5 -5
  35. package/dist/esm/confidentialLedger.js.map +1 -1
  36. package/dist/esm/isUnexpected.d.ts +19 -1
  37. package/dist/esm/isUnexpected.d.ts.map +1 -1
  38. package/dist/esm/isUnexpected.js +18 -0
  39. package/dist/esm/isUnexpected.js.map +1 -1
  40. package/dist/esm/models.d.ts +57 -12
  41. package/dist/esm/models.d.ts.map +1 -1
  42. package/dist/esm/models.js.map +1 -1
  43. package/dist/esm/outputModels.d.ts +71 -0
  44. package/dist/esm/outputModels.d.ts.map +1 -1
  45. package/dist/esm/outputModels.js.map +1 -1
  46. package/dist/esm/paginateHelper.d.ts +4 -0
  47. package/dist/esm/paginateHelper.d.ts.map +1 -1
  48. package/dist/esm/paginateHelper.js +8 -1
  49. package/dist/esm/paginateHelper.js.map +1 -1
  50. package/dist/esm/parameters.d.ts +92 -2
  51. package/dist/esm/parameters.d.ts.map +1 -1
  52. package/dist/esm/parameters.js.map +1 -1
  53. package/dist/esm/responses.d.ts +172 -12
  54. package/dist/esm/responses.d.ts.map +1 -1
  55. package/dist/esm/responses.js.map +1 -1
  56. package/package.json +9 -17
  57. package/CHANGELOG.md +0 -22
  58. package/dist/commonjs/generated/clientDefinitions.d.ts +0 -153
  59. package/dist/commonjs/generated/clientDefinitions.d.ts.map +0 -1
  60. package/dist/commonjs/generated/clientDefinitions.js +0 -5
  61. package/dist/commonjs/generated/clientDefinitions.js.map +0 -1
  62. package/dist/commonjs/generated/confidentialLedger.d.ts +0 -16
  63. package/dist/commonjs/generated/confidentialLedger.d.ts.map +0 -1
  64. package/dist/commonjs/generated/confidentialLedger.js +0 -48
  65. package/dist/commonjs/generated/confidentialLedger.js.map +0 -1
  66. package/dist/commonjs/generated/index.d.ts +0 -11
  67. package/dist/commonjs/generated/index.d.ts.map +0 -1
  68. package/dist/commonjs/generated/index.js +0 -16
  69. package/dist/commonjs/generated/index.js.map +0 -1
  70. package/dist/commonjs/generated/isUnexpected.d.ts +0 -34
  71. package/dist/commonjs/generated/isUnexpected.d.ts.map +0 -1
  72. package/dist/commonjs/generated/isUnexpected.js +0 -105
  73. package/dist/commonjs/generated/isUnexpected.js.map +0 -1
  74. package/dist/commonjs/generated/logger.d.ts +0 -2
  75. package/dist/commonjs/generated/logger.d.ts.map +0 -1
  76. package/dist/commonjs/generated/logger.js +0 -8
  77. package/dist/commonjs/generated/logger.js.map +0 -1
  78. package/dist/commonjs/generated/models.d.ts +0 -87
  79. package/dist/commonjs/generated/models.d.ts.map +0 -1
  80. package/dist/commonjs/generated/models.js +0 -5
  81. package/dist/commonjs/generated/models.js.map +0 -1
  82. package/dist/commonjs/generated/outputModels.d.ts +0 -280
  83. package/dist/commonjs/generated/outputModels.d.ts.map +0 -1
  84. package/dist/commonjs/generated/outputModels.js +0 -5
  85. package/dist/commonjs/generated/outputModels.js.map +0 -1
  86. package/dist/commonjs/generated/paginateHelper.d.ts +0 -88
  87. package/dist/commonjs/generated/paginateHelper.d.ts.map +0 -1
  88. package/dist/commonjs/generated/paginateHelper.js +0 -223
  89. package/dist/commonjs/generated/paginateHelper.js.map +0 -1
  90. package/dist/commonjs/generated/parameters.d.ts +0 -168
  91. package/dist/commonjs/generated/parameters.d.ts.map +0 -1
  92. package/dist/commonjs/generated/parameters.js +0 -5
  93. package/dist/commonjs/generated/parameters.js.map +0 -1
  94. package/dist/commonjs/generated/responses.d.ts +0 -337
  95. package/dist/commonjs/generated/responses.d.ts.map +0 -1
  96. package/dist/commonjs/generated/responses.js +0 -5
  97. package/dist/commonjs/generated/responses.js.map +0 -1
  98. package/dist/esm/generated/clientDefinitions.d.ts +0 -153
  99. package/dist/esm/generated/clientDefinitions.d.ts.map +0 -1
  100. package/dist/esm/generated/clientDefinitions.js +0 -4
  101. package/dist/esm/generated/clientDefinitions.js.map +0 -1
  102. package/dist/esm/generated/confidentialLedger.d.ts +0 -16
  103. package/dist/esm/generated/confidentialLedger.d.ts.map +0 -1
  104. package/dist/esm/generated/confidentialLedger.js +0 -45
  105. package/dist/esm/generated/confidentialLedger.js.map +0 -1
  106. package/dist/esm/generated/index.d.ts +0 -11
  107. package/dist/esm/generated/index.d.ts.map +0 -1
  108. package/dist/esm/generated/index.js +0 -13
  109. package/dist/esm/generated/index.js.map +0 -1
  110. package/dist/esm/generated/isUnexpected.d.ts +0 -34
  111. package/dist/esm/generated/isUnexpected.d.ts.map +0 -1
  112. package/dist/esm/generated/isUnexpected.js +0 -102
  113. package/dist/esm/generated/isUnexpected.js.map +0 -1
  114. package/dist/esm/generated/logger.d.ts +0 -2
  115. package/dist/esm/generated/logger.d.ts.map +0 -1
  116. package/dist/esm/generated/logger.js +0 -5
  117. package/dist/esm/generated/logger.js.map +0 -1
  118. package/dist/esm/generated/models.d.ts +0 -87
  119. package/dist/esm/generated/models.d.ts.map +0 -1
  120. package/dist/esm/generated/models.js +0 -4
  121. package/dist/esm/generated/models.js.map +0 -1
  122. package/dist/esm/generated/outputModels.d.ts +0 -280
  123. package/dist/esm/generated/outputModels.d.ts.map +0 -1
  124. package/dist/esm/generated/outputModels.js +0 -4
  125. package/dist/esm/generated/outputModels.js.map +0 -1
  126. package/dist/esm/generated/paginateHelper.d.ts +0 -88
  127. package/dist/esm/generated/paginateHelper.d.ts.map +0 -1
  128. package/dist/esm/generated/paginateHelper.js +0 -220
  129. package/dist/esm/generated/paginateHelper.js.map +0 -1
  130. package/dist/esm/generated/parameters.d.ts +0 -168
  131. package/dist/esm/generated/parameters.d.ts.map +0 -1
  132. package/dist/esm/generated/parameters.js +0 -4
  133. package/dist/esm/generated/parameters.js.map +0 -1
  134. package/dist/esm/generated/responses.d.ts +0 -337
  135. package/dist/esm/generated/responses.d.ts.map +0 -1
  136. package/dist/esm/generated/responses.js +0 -4
  137. package/dist/esm/generated/responses.js.map +0 -1
  138. package/review/confidential-ledger.api.md +0 -927
@@ -1,10 +1,9 @@
1
1
  import type { RequestParameters } from "@azure-rest/core-client";
2
- import type { Bundle, LedgerEntry, LedgerUser } from "./models.js";
2
+ import type { LedgerEntry, LedgerUser, LedgerUserMultipleRoles, Bundle, JSRuntimeOptions, UserDefinedFunction, UserDefinedFunctionExecutionProperties, Role } from "./models.js";
3
3
  export type GetConstitutionParameters = RequestParameters;
4
4
  export type ListConsortiumMembersParameters = RequestParameters;
5
5
  export type GetEnclaveQuotesParameters = RequestParameters;
6
6
  export type ListCollectionsParameters = RequestParameters;
7
- export type ListUserDefinedFunctionsParameters = RequestParameters;
8
7
  export interface ListLedgerEntriesQueryParamProperties {
9
8
  /** The collection id. */
10
9
  collectionId?: string;
@@ -12,6 +11,8 @@ export interface ListLedgerEntriesQueryParamProperties {
12
11
  fromTransactionId?: string;
13
12
  /** Specify the last transaction ID in a range. */
14
13
  toTransactionId?: string;
14
+ /** Single tag. */
15
+ tag?: string;
15
16
  }
16
17
  export interface ListLedgerEntriesQueryParam {
17
18
  queryParameters?: ListLedgerEntriesQueryParamProperties;
@@ -24,6 +25,8 @@ export interface CreateLedgerEntryBodyParam {
24
25
  export interface CreateLedgerEntryQueryParamProperties {
25
26
  /** The collection id. */
26
27
  collectionId?: string;
28
+ /** Comma separated tags. */
29
+ tags?: string;
27
30
  }
28
31
  export interface CreateLedgerEntryQueryParam {
29
32
  queryParameters?: CreateLedgerEntryQueryParamProperties;
@@ -52,6 +55,7 @@ export interface GetCurrentLedgerEntryQueryParam {
52
55
  }
53
56
  export type GetCurrentLedgerEntryParameters = GetCurrentLedgerEntryQueryParam & RequestParameters;
54
57
  export type ListUsersParameters = RequestParameters;
58
+ export type ListLedgerUsersParameters = RequestParameters;
55
59
  export type DeleteUserParameters = RequestParameters;
56
60
  export type GetUserParameters = RequestParameters;
57
61
  /** Details about a Confidential Ledger user. */
@@ -65,6 +69,19 @@ export interface CreateOrUpdateUserMediaTypesParam {
65
69
  contentType?: "application/merge-patch+json";
66
70
  }
67
71
  export type CreateOrUpdateUserParameters = CreateOrUpdateUserMediaTypesParam & CreateOrUpdateUserBodyParam & RequestParameters;
72
+ export type DeleteLedgerUserParameters = RequestParameters;
73
+ export type GetLedgerUserParameters = RequestParameters;
74
+ /** Details about a Confidential Ledger user with multiple roles. */
75
+ export type LedgerUserMultipleRolesResourceMergeAndPatch = Partial<LedgerUserMultipleRoles>;
76
+ export interface CreateOrUpdateLedgerUserBodyParam {
77
+ /** Details about a Confidential Ledger user with multiple roles. */
78
+ body: LedgerUserMultipleRolesResourceMergeAndPatch;
79
+ }
80
+ export interface CreateOrUpdateLedgerUserMediaTypesParam {
81
+ /** Request content type */
82
+ contentType?: "application/merge-patch+json";
83
+ }
84
+ export type CreateOrUpdateLedgerUserParameters = CreateOrUpdateLedgerUserMediaTypesParam & CreateOrUpdateLedgerUserBodyParam & RequestParameters;
68
85
  export type GetUserDefinedEndpointParameters = RequestParameters;
69
86
  export interface CreateUserDefinedEndpointBodyParam {
70
87
  /** bundle parameter description */
@@ -75,4 +92,77 @@ export interface CreateUserDefinedEndpointMediaTypesParam {
75
92
  contentType?: "application/json";
76
93
  }
77
94
  export type CreateUserDefinedEndpointParameters = CreateUserDefinedEndpointMediaTypesParam & CreateUserDefinedEndpointBodyParam & RequestParameters;
95
+ export type GetRuntimeOptionsParameters = RequestParameters;
96
+ export interface UpdateRuntimeOptionsBodyParam {
97
+ /** JS runtime options */
98
+ body: JSRuntimeOptions;
99
+ }
100
+ export interface UpdateRuntimeOptionsMediaTypesParam {
101
+ /** Request content type */
102
+ contentType?: "application/json";
103
+ }
104
+ export type UpdateRuntimeOptionsParameters = UpdateRuntimeOptionsMediaTypesParam & UpdateRuntimeOptionsBodyParam & RequestParameters;
105
+ export interface GetUserDefinedEndpointsModuleQueryParamProperties {
106
+ /** module name of the user defined endpoint */
107
+ module_name: string;
108
+ }
109
+ export interface GetUserDefinedEndpointsModuleQueryParam {
110
+ queryParameters: GetUserDefinedEndpointsModuleQueryParamProperties;
111
+ }
112
+ export type GetUserDefinedEndpointsModuleParameters = GetUserDefinedEndpointsModuleQueryParam & RequestParameters;
113
+ export type ListUserDefinedFunctionsParameters = RequestParameters;
114
+ export type DeleteUserDefinedFunctionParameters = RequestParameters;
115
+ export type GetUserDefinedFunctionParameters = RequestParameters;
116
+ export interface CreateUserDefinedFunctionBodyParam {
117
+ /** Specify a user defined function of a Confidential Ledger. */
118
+ body: UserDefinedFunction;
119
+ }
120
+ export interface CreateUserDefinedFunctionMediaTypesParam {
121
+ /** Request content type */
122
+ contentType?: "application/json";
123
+ }
124
+ export type CreateUserDefinedFunctionParameters = CreateUserDefinedFunctionMediaTypesParam & CreateUserDefinedFunctionBodyParam & RequestParameters;
125
+ export interface ExecuteUserDefinedFunctionBodyParam {
126
+ /** Specify user defined function execution properties. */
127
+ body?: UserDefinedFunctionExecutionProperties;
128
+ }
129
+ export interface ExecuteUserDefinedFunctionMediaTypesParam {
130
+ /** Request content type */
131
+ contentType?: "application/json";
132
+ }
133
+ export type ExecuteUserDefinedFunctionParameters = ExecuteUserDefinedFunctionMediaTypesParam & ExecuteUserDefinedFunctionBodyParam & RequestParameters;
134
+ export interface GetUserDefinedRoleQueryParamProperties {
135
+ /** user defined role name */
136
+ roleName: string;
137
+ }
138
+ export interface GetUserDefinedRoleQueryParam {
139
+ queryParameters: GetUserDefinedRoleQueryParamProperties;
140
+ }
141
+ export type GetUserDefinedRoleParameters = GetUserDefinedRoleQueryParam & RequestParameters;
142
+ export interface CreateUserDefinedRoleBodyParam {
143
+ /** user defined role */
144
+ body: Array<Role>;
145
+ }
146
+ export interface CreateUserDefinedRoleMediaTypesParam {
147
+ /** Request content type */
148
+ contentType?: "application/json";
149
+ }
150
+ export type CreateUserDefinedRoleParameters = CreateUserDefinedRoleMediaTypesParam & CreateUserDefinedRoleBodyParam & RequestParameters;
151
+ export interface UpdateUserDefinedRoleBodyParam {
152
+ /** user defined role */
153
+ body: Array<Role>;
154
+ }
155
+ export interface UpdateUserDefinedRoleMediaTypesParam {
156
+ /** Request content type */
157
+ contentType?: "application/json";
158
+ }
159
+ export type UpdateUserDefinedRoleParameters = UpdateUserDefinedRoleMediaTypesParam & UpdateUserDefinedRoleBodyParam & RequestParameters;
160
+ export interface DeleteUserDefinedRoleQueryParamProperties {
161
+ /** user defined role name */
162
+ roleName: string;
163
+ }
164
+ export interface DeleteUserDefinedRoleQueryParam {
165
+ queryParameters: DeleteUserDefinedRoleQueryParamProperties;
166
+ }
167
+ export type DeleteUserDefinedRoleParameters = DeleteUserDefinedRoleQueryParam & RequestParameters;
78
168
  //# sourceMappingURL=parameters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;AAC1D,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;AAChE,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAC3D,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;AAC1D,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;AAEnE,MAAM,WAAW,qCAAqC;IACpD,yBAAyB;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mDAAmD;IACnD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kDAAkD;IAClD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,2BAA2B;IAC1C,eAAe,CAAC,EAAE,qCAAqC,CAAC;CACzD;AAED,MAAM,MAAM,2BAA2B,GAAG,2BAA2B,GAAG,iBAAiB,CAAC;AAE1F,MAAM,WAAW,0BAA0B;IACzC,oBAAoB;IACpB,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,WAAW,qCAAqC;IACpD,yBAAyB;IACzB,Y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iBAAiB,CAAC;AAEpB,MAAM,WAAW,8BAA8B;IAC7C,wBAAwB;IACxB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;CACnB;AAED,MAAM,WAAW,oCAAoC;IACnD,2BAA2B;IAC3B,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC;AAED,MAAM,MAAM,+BAA+B,GAAG,oCAAoC,GAChF,8BAA8B,GAC9B,iBAAiB,CAAC;AAEpB,MAAM,WAAW,yCAAyC;IACxD,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,+BAA+B;IAC9C,eAAe,EAAE,yCAAyC,CAAC;CAC5D;AAED,MAAM,MAAM,+BAA+B,GAAG,+BAA+B,GAAG,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type { Bundle, LedgerEntry, LedgerUser } from \"./models.js\";\n\nexport type GetConstitutionParameters = RequestParameters;\nexport type ListConsortiumMembersParameters = RequestParameters;\nexport type GetEnclaveQuotesParameters = RequestParameters;\nexport type ListCollectionsParameters = RequestParameters;\nexport type ListUserDefinedFunctionsParameters = RequestParameters;\n\nexport interface ListLedgerEntriesQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n /** Specify the first transaction ID in a range. */\n fromTransactionId?: string;\n /** Specify the last transaction ID in a range. */\n toTransactionId?: string;\n}\n\nexport interface ListLedgerEntriesQueryParam {\n queryParameters?: ListLedgerEntriesQueryParamProperties;\n}\n\nexport type ListLedgerEntriesParameters = ListLedgerEntriesQueryParam & RequestParameters;\n\nexport interface CreateLedgerEntryBodyParam {\n /** Ledger entry. */\n body: LedgerEntry;\n}\n\nexport interface CreateLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface CreateLedgerEntryQueryParam {\n queryParameters?: CreateLedgerEntryQueryParamProperties;\n}\n\nexport interface CreateLedgerEntryMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateLedgerEntryParameters = CreateLedgerEntryQueryParam &\n CreateLedgerEntryMediaTypesParam &\n CreateLedgerEntryBodyParam &\n RequestParameters;\n\nexport interface GetLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface GetLedgerEntryQueryParam {\n queryParameters?: GetLedgerEntryQueryParamProperties;\n}\n\nexport type GetLedgerEntryParameters = GetLedgerEntryQueryParam & RequestParameters;\nexport type GetReceiptParameters = RequestParameters;\nexport type GetTransactionStatusParameters = RequestParameters;\n\nexport interface GetCurrentLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface GetCurrentLedgerEntryQueryParam {\n queryParameters?: GetCurrentLedgerEntryQueryParamProperties;\n}\n\nexport type GetCurrentLedgerEntryParameters = GetCurrentLedgerEntryQueryParam & RequestParameters;\nexport type ListUsersParameters = RequestParameters;\nexport type DeleteUserParameters = RequestParameters;\nexport type GetUserParameters = RequestParameters;\n/** Details about a Confidential Ledger user. */\nexport type LedgerUserResourceMergeAndPatch = Partial<LedgerUser>;\n\nexport interface CreateOrUpdateUserBodyParam {\n /** Details about a Confidential Ledger user. */\n body: LedgerUserResourceMergeAndPatch;\n}\n\nexport interface CreateOrUpdateUserMediaTypesParam {\n /** Request content type */\n contentType?: \"application/merge-patch+json\";\n}\n\nexport type CreateOrUpdateUserParameters = CreateOrUpdateUserMediaTypesParam &\n CreateOrUpdateUserBodyParam &\n RequestParameters;\n\nexport type GetUserDefinedEndpointParameters = RequestParameters;\n\nexport interface CreateUserDefinedEndpointBodyParam {\n /** bundle parameter description */\n body: Bundle;\n}\n\nexport interface CreateUserDefinedEndpointMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateUserDefinedEndpointParameters = CreateUserDefinedEndpointMediaTypesParam &\n CreateUserDefinedEndpointBodyParam &\n RequestParameters;\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type {\n LedgerEntry,\n LedgerUser,\n LedgerUserMultipleRoles,\n Bundle,\n JSRuntimeOptions,\n UserDefinedFunction,\n UserDefinedFunctionExecutionProperties,\n Role,\n} from \"./models.js\";\n\nexport type GetConstitutionParameters = RequestParameters;\nexport type ListConsortiumMembersParameters = RequestParameters;\nexport type GetEnclaveQuotesParameters = RequestParameters;\nexport type ListCollectionsParameters = RequestParameters;\n\nexport interface ListLedgerEntriesQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n /** Specify the first transaction ID in a range. */\n fromTransactionId?: string;\n /** Specify the last transaction ID in a range. */\n toTransactionId?: string;\n /** Single tag. */\n tag?: string;\n}\n\nexport interface ListLedgerEntriesQueryParam {\n queryParameters?: ListLedgerEntriesQueryParamProperties;\n}\n\nexport type ListLedgerEntriesParameters = ListLedgerEntriesQueryParam & RequestParameters;\n\nexport interface CreateLedgerEntryBodyParam {\n /** Ledger entry. */\n body: LedgerEntry;\n}\n\nexport interface CreateLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n /** Comma separated tags. */\n tags?: string;\n}\n\nexport interface CreateLedgerEntryQueryParam {\n queryParameters?: CreateLedgerEntryQueryParamProperties;\n}\n\nexport interface CreateLedgerEntryMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateLedgerEntryParameters = CreateLedgerEntryQueryParam &\n CreateLedgerEntryMediaTypesParam &\n CreateLedgerEntryBodyParam &\n RequestParameters;\n\nexport interface GetLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface GetLedgerEntryQueryParam {\n queryParameters?: GetLedgerEntryQueryParamProperties;\n}\n\nexport type GetLedgerEntryParameters = GetLedgerEntryQueryParam & RequestParameters;\nexport type GetReceiptParameters = RequestParameters;\nexport type GetTransactionStatusParameters = RequestParameters;\n\nexport interface GetCurrentLedgerEntryQueryParamProperties {\n /** The collection id. */\n collectionId?: string;\n}\n\nexport interface GetCurrentLedgerEntryQueryParam {\n queryParameters?: GetCurrentLedgerEntryQueryParamProperties;\n}\n\nexport type GetCurrentLedgerEntryParameters = GetCurrentLedgerEntryQueryParam & RequestParameters;\nexport type ListUsersParameters = RequestParameters;\nexport type ListLedgerUsersParameters = RequestParameters;\nexport type DeleteUserParameters = RequestParameters;\nexport type GetUserParameters = RequestParameters;\n/** Details about a Confidential Ledger user. */\nexport type LedgerUserResourceMergeAndPatch = Partial<LedgerUser>;\n\nexport interface CreateOrUpdateUserBodyParam {\n /** Details about a Confidential Ledger user. */\n body: LedgerUserResourceMergeAndPatch;\n}\n\nexport interface CreateOrUpdateUserMediaTypesParam {\n /** Request content type */\n contentType?: \"application/merge-patch+json\";\n}\n\nexport type CreateOrUpdateUserParameters = CreateOrUpdateUserMediaTypesParam &\n CreateOrUpdateUserBodyParam &\n RequestParameters;\nexport type DeleteLedgerUserParameters = RequestParameters;\nexport type GetLedgerUserParameters = RequestParameters;\n/** Details about a Confidential Ledger user with multiple roles. */\nexport type LedgerUserMultipleRolesResourceMergeAndPatch = Partial<LedgerUserMultipleRoles>;\n\nexport interface CreateOrUpdateLedgerUserBodyParam {\n /** Details about a Confidential Ledger user with multiple roles. */\n body: LedgerUserMultipleRolesResourceMergeAndPatch;\n}\n\nexport interface CreateOrUpdateLedgerUserMediaTypesParam {\n /** Request content type */\n contentType?: \"application/merge-patch+json\";\n}\n\nexport type CreateOrUpdateLedgerUserParameters = CreateOrUpdateLedgerUserMediaTypesParam &\n CreateOrUpdateLedgerUserBodyParam &\n RequestParameters;\nexport type GetUserDefinedEndpointParameters = RequestParameters;\n\nexport interface CreateUserDefinedEndpointBodyParam {\n /** bundle parameter description */\n body: Bundle;\n}\n\nexport interface CreateUserDefinedEndpointMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateUserDefinedEndpointParameters = CreateUserDefinedEndpointMediaTypesParam &\n CreateUserDefinedEndpointBodyParam &\n RequestParameters;\nexport type GetRuntimeOptionsParameters = RequestParameters;\n\nexport interface UpdateRuntimeOptionsBodyParam {\n /** JS runtime options */\n body: JSRuntimeOptions;\n}\n\nexport interface UpdateRuntimeOptionsMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type UpdateRuntimeOptionsParameters = UpdateRuntimeOptionsMediaTypesParam &\n UpdateRuntimeOptionsBodyParam &\n RequestParameters;\n\nexport interface GetUserDefinedEndpointsModuleQueryParamProperties {\n /** module name of the user defined endpoint */\n module_name: string;\n}\n\nexport interface GetUserDefinedEndpointsModuleQueryParam {\n queryParameters: GetUserDefinedEndpointsModuleQueryParamProperties;\n}\n\nexport type GetUserDefinedEndpointsModuleParameters = GetUserDefinedEndpointsModuleQueryParam &\n RequestParameters;\nexport type ListUserDefinedFunctionsParameters = RequestParameters;\nexport type DeleteUserDefinedFunctionParameters = RequestParameters;\nexport type GetUserDefinedFunctionParameters = RequestParameters;\n\nexport interface CreateUserDefinedFunctionBodyParam {\n /** Specify a user defined function of a Confidential Ledger. */\n body: UserDefinedFunction;\n}\n\nexport interface CreateUserDefinedFunctionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateUserDefinedFunctionParameters = CreateUserDefinedFunctionMediaTypesParam &\n CreateUserDefinedFunctionBodyParam &\n RequestParameters;\n\nexport interface ExecuteUserDefinedFunctionBodyParam {\n /** Specify user defined function execution properties. */\n body?: UserDefinedFunctionExecutionProperties;\n}\n\nexport interface ExecuteUserDefinedFunctionMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type ExecuteUserDefinedFunctionParameters = ExecuteUserDefinedFunctionMediaTypesParam &\n ExecuteUserDefinedFunctionBodyParam &\n RequestParameters;\n\nexport interface GetUserDefinedRoleQueryParamProperties {\n /** user defined role name */\n roleName: string;\n}\n\nexport interface GetUserDefinedRoleQueryParam {\n queryParameters: GetUserDefinedRoleQueryParamProperties;\n}\n\nexport type GetUserDefinedRoleParameters = GetUserDefinedRoleQueryParam & RequestParameters;\n\nexport interface CreateUserDefinedRoleBodyParam {\n /** user defined role */\n body: Array<Role>;\n}\n\nexport interface CreateUserDefinedRoleMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type CreateUserDefinedRoleParameters = CreateUserDefinedRoleMediaTypesParam &\n CreateUserDefinedRoleBodyParam &\n RequestParameters;\n\nexport interface UpdateUserDefinedRoleBodyParam {\n /** user defined role */\n body: Array<Role>;\n}\n\nexport interface UpdateUserDefinedRoleMediaTypesParam {\n /** Request content type */\n contentType?: \"application/json\";\n}\n\nexport type UpdateUserDefinedRoleParameters = UpdateUserDefinedRoleMediaTypesParam &\n UpdateUserDefinedRoleBodyParam &\n RequestParameters;\n\nexport interface DeleteUserDefinedRoleQueryParamProperties {\n /** user defined role name */\n roleName: string;\n}\n\nexport interface DeleteUserDefinedRoleQueryParam {\n queryParameters: DeleteUserDefinedRoleQueryParamProperties;\n}\n\nexport type DeleteUserDefinedRoleParameters = DeleteUserDefinedRoleQueryParam & RequestParameters;\n"]}
@@ -1,6 +1,6 @@
1
1
  import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
2
2
  import type { HttpResponse } from "@azure-rest/core-client";
3
- import type { ConstitutionOutput, BundleOutput, ConfidentialLedgerErrorOutput, ConsortiumOutput, ConfidentialLedgerEnclavesOutput, PagedCollectionsOutput, PagedLedgerEntriesOutput, LedgerWriteResultOutput, LedgerQueryResultOutput, TransactionReceiptOutput, TransactionStatusOutput, LedgerEntryOutput, PagedUsersOutput, LedgerUserOutput, PagedUserDefinedFunctionsOutput } from "./outputModels.js";
3
+ import type { ConstitutionOutput, ConfidentialLedgerErrorOutput, ConsortiumOutput, ConfidentialLedgerEnclavesOutput, PagedCollectionsOutput, PagedLedgerEntriesOutput, LedgerWriteResultOutput, LedgerQueryResultOutput, TransactionReceiptOutput, TransactionStatusOutput, LedgerEntryOutput, PagedUsersOutput, PagedLedgerUsersOutput, LedgerUserOutput, LedgerUserMultipleRolesOutput, BundleOutput, JSRuntimeOptionsOutput, ModuleDefOutput, PagedUserDefinedFunctionsOutput, UserDefinedFunctionOutput, UserDefinedFunctionExecutionResponseOutput, RoleOutput } from "./outputModels.js";
4
4
  /** The constitution is a script that assesses and applies proposals from consortium members. */
5
5
  export interface GetConstitution200Response extends HttpResponse {
6
6
  status: "200";
@@ -11,15 +11,6 @@ export interface GetConstitutionDefaultResponse extends HttpResponse {
11
11
  status: string;
12
12
  body: ConfidentialLedgerErrorOutput;
13
13
  }
14
- /** Creates the user defined endpoint in the ACL instance */
15
- export interface CreateUserDefinedEndpoint201Response extends HttpResponse {
16
- status: "201";
17
- }
18
- /** Creates the user defined endpoint in the ACL instance */
19
- export interface CreateUserDefinedEndpointDefaultResponse extends HttpResponse {
20
- status: string;
21
- body: ConfidentialLedgerErrorOutput;
22
- }
23
14
  /** Consortium members can manage the Confidential Ledger. */
24
15
  export interface ListConsortiumMembers200Response extends HttpResponse {
25
16
  status: "200";
@@ -115,16 +106,26 @@ export interface GetCurrentLedgerEntryDefaultResponse extends HttpResponse {
115
106
  status: string;
116
107
  body: ConfidentialLedgerErrorOutput;
117
108
  }
118
- /** All users' object IDs and roles will be returned. */
109
+ /** All users' object IDs and single role per user will be returned. */
119
110
  export interface ListUsers200Response extends HttpResponse {
120
111
  status: "200";
121
112
  body: PagedUsersOutput;
122
113
  }
123
- /** All users' object IDs and roles will be returned. */
114
+ /** All users' object IDs and single role per user will be returned. */
124
115
  export interface ListUsersDefaultResponse extends HttpResponse {
125
116
  status: string;
126
117
  body: ConfidentialLedgerErrorOutput;
127
118
  }
119
+ /** All users' object IDs and multiple roles will be returned. */
120
+ export interface ListLedgerUsers200Response extends HttpResponse {
121
+ status: "200";
122
+ body: PagedLedgerUsersOutput;
123
+ }
124
+ /** All users' object IDs and multiple roles will be returned. */
125
+ export interface ListLedgerUsersDefaultResponse extends HttpResponse {
126
+ status: string;
127
+ body: ConfidentialLedgerErrorOutput;
128
+ }
128
129
  /** Deletes a user from the Confidential Ledger. */
129
130
  export interface DeleteUser204Response extends HttpResponse {
130
131
  status: "204";
@@ -154,6 +155,35 @@ export interface CreateOrUpdateUserDefaultResponse extends HttpResponse {
154
155
  status: string;
155
156
  body: ConfidentialLedgerErrorOutput;
156
157
  }
158
+ /** Deletes a user with multiple roles from the Confidential Ledger. */
159
+ export interface DeleteLedgerUser204Response extends HttpResponse {
160
+ status: "204";
161
+ }
162
+ /** Deletes a user with multiple roles from the Confidential Ledger. */
163
+ export interface DeleteLedgerUserDefaultResponse extends HttpResponse {
164
+ status: string;
165
+ body: ConfidentialLedgerErrorOutput;
166
+ }
167
+ /** Gets a user with multiple roles. */
168
+ export interface GetLedgerUser200Response extends HttpResponse {
169
+ status: "200";
170
+ body: LedgerUserMultipleRolesOutput;
171
+ }
172
+ /** Gets a user with multiple roles. */
173
+ export interface GetLedgerUserDefaultResponse extends HttpResponse {
174
+ status: string;
175
+ body: ConfidentialLedgerErrorOutput;
176
+ }
177
+ /** A JSON merge patch is applied for existing users */
178
+ export interface CreateOrUpdateLedgerUser200Response extends HttpResponse {
179
+ status: "200";
180
+ body: LedgerUserMultipleRolesOutput;
181
+ }
182
+ /** A JSON merge patch is applied for existing users */
183
+ export interface CreateOrUpdateLedgerUserDefaultResponse extends HttpResponse {
184
+ status: string;
185
+ body: ConfidentialLedgerErrorOutput;
186
+ }
157
187
  /** Returns the user defined endpoint in the ACL instance */
158
188
  export interface GetUserDefinedEndpoint200Response extends HttpResponse {
159
189
  status: "200";
@@ -164,6 +194,45 @@ export interface GetUserDefinedEndpointDefaultResponse extends HttpResponse {
164
194
  status: string;
165
195
  body: ConfidentialLedgerErrorOutput;
166
196
  }
197
+ /** Creates the user defined endpoint in the ACL instance */
198
+ export interface CreateUserDefinedEndpoint201Response extends HttpResponse {
199
+ status: "201";
200
+ }
201
+ /** Creates the user defined endpoint in the ACL instance */
202
+ export interface CreateUserDefinedEndpointDefaultResponse extends HttpResponse {
203
+ status: string;
204
+ body: ConfidentialLedgerErrorOutput;
205
+ }
206
+ /** It returns the runtime options */
207
+ export interface GetRuntimeOptions200Response extends HttpResponse {
208
+ status: "200";
209
+ body: JSRuntimeOptionsOutput;
210
+ }
211
+ /** It returns the runtime options */
212
+ export interface GetRuntimeOptionsDefaultResponse extends HttpResponse {
213
+ status: string;
214
+ body: ConfidentialLedgerErrorOutput;
215
+ }
216
+ /** Updates the runtime options. */
217
+ export interface UpdateRuntimeOptions200Response extends HttpResponse {
218
+ status: "200";
219
+ body: JSRuntimeOptionsOutput;
220
+ }
221
+ /** Updates the runtime options. */
222
+ export interface UpdateRuntimeOptionsDefaultResponse extends HttpResponse {
223
+ status: string;
224
+ body: ConfidentialLedgerErrorOutput;
225
+ }
226
+ /** It gets the module for the user defined endpoint. */
227
+ export interface GetUserDefinedEndpointsModule200Response extends HttpResponse {
228
+ status: "200";
229
+ body: ModuleDefOutput;
230
+ }
231
+ /** It gets the module for the user defined endpoint. */
232
+ export interface GetUserDefinedEndpointsModuleDefaultResponse extends HttpResponse {
233
+ status: string;
234
+ body: ConfidentialLedgerErrorOutput;
235
+ }
167
236
  /** User defined functions stored in the Confidential Ledger */
168
237
  export interface ListUserDefinedFunctions200Response extends HttpResponse {
169
238
  status: "200";
@@ -174,4 +243,95 @@ export interface ListUserDefinedFunctionsDefaultResponse extends HttpResponse {
174
243
  status: string;
175
244
  body: ConfidentialLedgerErrorOutput;
176
245
  }
246
+ /** Deletes a user defined function from the Confidential Ledger. */
247
+ export interface DeleteUserDefinedFunction204Response extends HttpResponse {
248
+ status: "204";
249
+ }
250
+ /** Deletes a user defined function from the Confidential Ledger. */
251
+ export interface DeleteUserDefinedFunctionDefaultResponse extends HttpResponse {
252
+ status: string;
253
+ body: ConfidentialLedgerErrorOutput;
254
+ }
255
+ /** Returns the user defined function in the Confidential Ledger */
256
+ export interface GetUserDefinedFunction200Response extends HttpResponse {
257
+ status: "200";
258
+ body: UserDefinedFunctionOutput;
259
+ }
260
+ /** Returns the user defined function in the Confidential Ledger */
261
+ export interface GetUserDefinedFunctionDefaultResponse extends HttpResponse {
262
+ status: string;
263
+ body: ConfidentialLedgerErrorOutput;
264
+ }
265
+ export interface CreateUserDefinedFunction200Headers {
266
+ /** The transaction id at which this write will become durable. */
267
+ "x-ms-ccf-transaction-id"?: string;
268
+ }
269
+ /** Creates the user defined function in the Confidential Ledger */
270
+ export interface CreateUserDefinedFunction200Response extends HttpResponse {
271
+ status: "200";
272
+ body: UserDefinedFunctionOutput;
273
+ headers: RawHttpHeaders & CreateUserDefinedFunction200Headers;
274
+ }
275
+ export interface CreateUserDefinedFunction201Headers {
276
+ /** The transaction id at which this write will become durable. */
277
+ "x-ms-ccf-transaction-id"?: string;
278
+ }
279
+ /** Creates the user defined function in the Confidential Ledger */
280
+ export interface CreateUserDefinedFunction201Response extends HttpResponse {
281
+ status: "201";
282
+ body: UserDefinedFunctionOutput;
283
+ headers: RawHttpHeaders & CreateUserDefinedFunction201Headers;
284
+ }
285
+ /** Creates the user defined function in the Confidential Ledger */
286
+ export interface CreateUserDefinedFunctionDefaultResponse extends HttpResponse {
287
+ status: string;
288
+ body: ConfidentialLedgerErrorOutput;
289
+ }
290
+ /** Executes the user defined function in the Confidential Ledger */
291
+ export interface ExecuteUserDefinedFunction200Response extends HttpResponse {
292
+ status: "200";
293
+ body: UserDefinedFunctionExecutionResponseOutput;
294
+ }
295
+ /** Executes the user defined function in the Confidential Ledger */
296
+ export interface ExecuteUserDefinedFunctionDefaultResponse extends HttpResponse {
297
+ status: string;
298
+ body: ConfidentialLedgerErrorOutput;
299
+ }
300
+ /** user defined roles allow users to define and manage app specific AuthZ policy. */
301
+ export interface GetUserDefinedRole200Response extends HttpResponse {
302
+ status: "200";
303
+ body: Array<RoleOutput>;
304
+ }
305
+ /** user defined roles allow users to define and manage app specific AuthZ policy. */
306
+ export interface GetUserDefinedRoleDefaultResponse extends HttpResponse {
307
+ status: string;
308
+ body: ConfidentialLedgerErrorOutput;
309
+ }
310
+ /** User defined roles allow users to define and manage app specific AuthZ policy. */
311
+ export interface CreateUserDefinedRole200Response extends HttpResponse {
312
+ status: "200";
313
+ }
314
+ /** User defined roles allow users to define and manage app specific AuthZ policy. */
315
+ export interface CreateUserDefinedRoleDefaultResponse extends HttpResponse {
316
+ status: string;
317
+ body: ConfidentialLedgerErrorOutput;
318
+ }
319
+ /** User defined roles allow users to define and manage app specific AuthZ policy. */
320
+ export interface UpdateUserDefinedRole200Response extends HttpResponse {
321
+ status: "200";
322
+ }
323
+ /** User defined roles allow users to define and manage app specific AuthZ policy. */
324
+ export interface UpdateUserDefinedRoleDefaultResponse extends HttpResponse {
325
+ status: string;
326
+ body: ConfidentialLedgerErrorOutput;
327
+ }
328
+ /** A user defined role allows the users to create and manage their own role actions using the API. */
329
+ export interface DeleteUserDefinedRole200Response extends HttpResponse {
330
+ status: "200";
331
+ }
332
+ /** A user defined role allows the users to create and manage their own role actions using the API. */
333
+ export interface DeleteUserDefinedRoleDefaultResponse extends HttpResponse {
334
+ status: string;
335
+ body: ConfidentialLedgerErrorOutput;
336
+ }
177
337
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EACV,kBAAkB,EAClB,YAAY,EACZ,6BAA6B,EAC7B,gBAAgB,EAChB,gCAAgC,EAChC,sBAAsB,EACtB,wB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F;AACrF,MAAM,WAAW,gCAAiC,SAAQ,YAAY;IACpE,MAAM,EAAE,KAAK,CAAC;CACf;AAED,qFAAqF;AACrF,MAAM,WAAW,oCAAqC,SAAQ,YAAY;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,6BAA6B,CAAC;CACrC;AAED,qFAAqF;AACrF,MAAM,WAAW,gCAAiC,SAAQ,YAAY;IACpE,MAAM,EAAE,KAAK,CAAC;CACf;AAED,qFAAqF;AACrF,MAAM,WAAW,oCAAqC,SAAQ,YAAY;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,6BAA6B,CAAC;CACrC;AAED,sGAAsG;AACtG,MAAM,WAAW,gCAAiC,SAAQ,YAAY;IACpE,MAAM,EAAE,KAAK,CAAC;CACf;AAED,sGAAsG;AACtG,MAAM,WAAW,oCAAqC,SAAQ,YAAY;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,6BAA6B,CAAC;CACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse } from \"@azure-rest/core-client\";\nimport type {\n ConstitutionOutput,\n BundleOutput,\n ConfidentialLedgerErrorOutput,\n ConsortiumOutput,\n ConfidentialLedgerEnclavesOutput,\n PagedCollectionsOutput,\n PagedLedgerEntriesOutput,\n LedgerWriteResultOutput,\n LedgerQueryResultOutput,\n TransactionReceiptOutput,\n TransactionStatusOutput,\n LedgerEntryOutput,\n PagedUsersOutput,\n LedgerUserOutput,\n PagedUserDefinedFunctionsOutput,\n} from \"./outputModels.js\";\n\n/** The constitution is a script that assesses and applies proposals from consortium members. */\nexport interface GetConstitution200Response extends HttpResponse {\n status: \"200\";\n body: ConstitutionOutput;\n}\n\n/** The constitution is a script that assesses and applies proposals from consortium members. */\nexport interface GetConstitutionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Creates the user defined endpoint in the ACL instance */\nexport interface CreateUserDefinedEndpoint201Response extends HttpResponse {\n status: \"201\";\n}\n\n/** Creates the user defined endpoint in the ACL instance */\nexport interface CreateUserDefinedEndpointDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Consortium members can manage the Confidential Ledger. */\nexport interface ListConsortiumMembers200Response extends HttpResponse {\n status: \"200\";\n body: ConsortiumOutput;\n}\n\n/** Consortium members can manage the Confidential Ledger. */\nexport interface ListConsortiumMembersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. */\nexport interface GetEnclaveQuotes200Response extends HttpResponse {\n status: \"200\";\n body: ConfidentialLedgerEnclavesOutput;\n}\n\n/** A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. */\nexport interface GetEnclaveQuotesDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Collection ids are user-created collections of ledger entries */\nexport interface ListCollections200Response extends HttpResponse {\n status: \"200\";\n body: PagedCollectionsOutput;\n}\n\n/** Collection ids are user-created collections of ledger entries */\nexport interface ListCollectionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A collection id may optionally be specified. Only entries in the specified (or default) collection will be returned. */\nexport interface ListLedgerEntries200Response extends HttpResponse {\n status: \"200\";\n body: PagedLedgerEntriesOutput;\n}\n\n/** A collection id may optionally be specified. Only entries in the specified (or default) collection will be returned. */\nexport interface ListLedgerEntriesDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\nexport interface CreateLedgerEntry200Headers {\n /** The transaction id at which this write will become durable. */\n \"x-ms-ccf-transaction-id\"?: string;\n}\n\n/** A collection id may optionally be specified. */\nexport interface CreateLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerWriteResultOutput;\n headers: RawHttpHeaders & CreateLedgerEntry200Headers;\n}\n\n/** A collection id may optionally be specified. */\nexport interface CreateLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. */\nexport interface GetLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerQueryResultOutput;\n}\n\n/** To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. */\nexport interface GetLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a receipt certifying ledger contents at a particular transaction id. */\nexport interface GetReceipt200Response extends HttpResponse {\n status: \"200\";\n body: TransactionReceiptOutput;\n}\n\n/** Gets a receipt certifying ledger contents at a particular transaction id. */\nexport interface GetReceiptDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets the status of an entry identified by a transaction id. */\nexport interface GetTransactionStatus200Response extends HttpResponse {\n status: \"200\";\n body: TransactionStatusOutput;\n}\n\n/** Gets the status of an entry identified by a transaction id. */\nexport interface GetTransactionStatusDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A collection id may optionally be specified. */\nexport interface GetCurrentLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerEntryOutput;\n}\n\n/** A collection id may optionally be specified. */\nexport interface GetCurrentLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** All users' object IDs and roles will be returned. */\nexport interface ListUsers200Response extends HttpResponse {\n status: \"200\";\n body: PagedUsersOutput;\n}\n\n/** All users' object IDs and roles will be returned. */\nexport interface ListUsersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Deletes a user from the Confidential Ledger. */\nexport interface DeleteUser204Response extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a user from the Confidential Ledger. */\nexport interface DeleteUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a user. */\nexport interface GetUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserOutput;\n}\n\n/** Gets a user. */\nexport interface GetUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Returns the user defined endpoint in the ACL instance */\nexport interface GetUserDefinedEndpoint200Response extends HttpResponse {\n status: \"200\";\n body: BundleOutput;\n}\n\n/** Returns the user defined endpoint in the ACL instance */\nexport interface GetUserDefinedEndpointDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** User defined functions stored in the Confidential Ledger */\nexport interface ListUserDefinedFunctions200Response extends HttpResponse {\n status: \"200\";\n body: PagedUserDefinedFunctionsOutput;\n}\n\n/** User defined functions stored in the Confidential Ledger */\nexport interface ListUserDefinedFunctionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n"]}
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse } from \"@azure-rest/core-client\";\nimport type {\n ConstitutionOutput,\n ConfidentialLedgerErrorOutput,\n ConsortiumOutput,\n ConfidentialLedgerEnclavesOutput,\n PagedCollectionsOutput,\n PagedLedgerEntriesOutput,\n LedgerWriteResultOutput,\n LedgerQueryResultOutput,\n TransactionReceiptOutput,\n TransactionStatusOutput,\n LedgerEntryOutput,\n PagedUsersOutput,\n PagedLedgerUsersOutput,\n LedgerUserOutput,\n LedgerUserMultipleRolesOutput,\n BundleOutput,\n JSRuntimeOptionsOutput,\n ModuleDefOutput,\n PagedUserDefinedFunctionsOutput,\n UserDefinedFunctionOutput,\n UserDefinedFunctionExecutionResponseOutput,\n RoleOutput,\n} from \"./outputModels.js\";\n\n/** The constitution is a script that assesses and applies proposals from consortium members. */\nexport interface GetConstitution200Response extends HttpResponse {\n status: \"200\";\n body: ConstitutionOutput;\n}\n\n/** The constitution is a script that assesses and applies proposals from consortium members. */\nexport interface GetConstitutionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Consortium members can manage the Confidential Ledger. */\nexport interface ListConsortiumMembers200Response extends HttpResponse {\n status: \"200\";\n body: ConsortiumOutput;\n}\n\n/** Consortium members can manage the Confidential Ledger. */\nexport interface ListConsortiumMembersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. */\nexport interface GetEnclaveQuotes200Response extends HttpResponse {\n status: \"200\";\n body: ConfidentialLedgerEnclavesOutput;\n}\n\n/** A quote is an SGX enclave measurement that can be used to verify the validity of a node and its enclave. */\nexport interface GetEnclaveQuotesDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Collection ids are user-created collections of ledger entries */\nexport interface ListCollections200Response extends HttpResponse {\n status: \"200\";\n body: PagedCollectionsOutput;\n}\n\n/** Collection ids are user-created collections of ledger entries */\nexport interface ListCollectionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A collection id may optionally be specified. Only entries in the specified (or default) collection will be returned. */\nexport interface ListLedgerEntries200Response extends HttpResponse {\n status: \"200\";\n body: PagedLedgerEntriesOutput;\n}\n\n/** A collection id may optionally be specified. Only entries in the specified (or default) collection will be returned. */\nexport interface ListLedgerEntriesDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\nexport interface CreateLedgerEntry200Headers {\n /** The transaction id at which this write will become durable. */\n \"x-ms-ccf-transaction-id\"?: string;\n}\n\n/** A collection id may optionally be specified. */\nexport interface CreateLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerWriteResultOutput;\n headers: RawHttpHeaders & CreateLedgerEntry200Headers;\n}\n\n/** A collection id may optionally be specified. */\nexport interface CreateLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. */\nexport interface GetLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerQueryResultOutput;\n}\n\n/** To return older ledger entries, the relevant sections of the ledger must be read from disk and validated. To prevent blocking within the enclave, the response will indicate whether the entry is ready and part of the response, or if the loading is still ongoing. */\nexport interface GetLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a receipt certifying ledger contents at a particular transaction id. */\nexport interface GetReceipt200Response extends HttpResponse {\n status: \"200\";\n body: TransactionReceiptOutput;\n}\n\n/** Gets a receipt certifying ledger contents at a particular transaction id. */\nexport interface GetReceiptDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets the status of an entry identified by a transaction id. */\nexport interface GetTransactionStatus200Response extends HttpResponse {\n status: \"200\";\n body: TransactionStatusOutput;\n}\n\n/** Gets the status of an entry identified by a transaction id. */\nexport interface GetTransactionStatusDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A collection id may optionally be specified. */\nexport interface GetCurrentLedgerEntry200Response extends HttpResponse {\n status: \"200\";\n body: LedgerEntryOutput;\n}\n\n/** A collection id may optionally be specified. */\nexport interface GetCurrentLedgerEntryDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** All users' object IDs and single role per user will be returned. */\nexport interface ListUsers200Response extends HttpResponse {\n status: \"200\";\n body: PagedUsersOutput;\n}\n\n/** All users' object IDs and single role per user will be returned. */\nexport interface ListUsersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** All users' object IDs and multiple roles will be returned. */\nexport interface ListLedgerUsers200Response extends HttpResponse {\n status: \"200\";\n body: PagedLedgerUsersOutput;\n}\n\n/** All users' object IDs and multiple roles will be returned. */\nexport interface ListLedgerUsersDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Deletes a user from the Confidential Ledger. */\nexport interface DeleteUser204Response extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a user from the Confidential Ledger. */\nexport interface DeleteUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a user. */\nexport interface GetUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserOutput;\n}\n\n/** Gets a user. */\nexport interface GetUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Deletes a user with multiple roles from the Confidential Ledger. */\nexport interface DeleteLedgerUser204Response extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a user with multiple roles from the Confidential Ledger. */\nexport interface DeleteLedgerUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Gets a user with multiple roles. */\nexport interface GetLedgerUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserMultipleRolesOutput;\n}\n\n/** Gets a user with multiple roles. */\nexport interface GetLedgerUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateLedgerUser200Response extends HttpResponse {\n status: \"200\";\n body: LedgerUserMultipleRolesOutput;\n}\n\n/** A JSON merge patch is applied for existing users */\nexport interface CreateOrUpdateLedgerUserDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Returns the user defined endpoint in the ACL instance */\nexport interface GetUserDefinedEndpoint200Response extends HttpResponse {\n status: \"200\";\n body: BundleOutput;\n}\n\n/** Returns the user defined endpoint in the ACL instance */\nexport interface GetUserDefinedEndpointDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Creates the user defined endpoint in the ACL instance */\nexport interface CreateUserDefinedEndpoint201Response extends HttpResponse {\n status: \"201\";\n}\n\n/** Creates the user defined endpoint in the ACL instance */\nexport interface CreateUserDefinedEndpointDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** It returns the runtime options */\nexport interface GetRuntimeOptions200Response extends HttpResponse {\n status: \"200\";\n body: JSRuntimeOptionsOutput;\n}\n\n/** It returns the runtime options */\nexport interface GetRuntimeOptionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Updates the runtime options. */\nexport interface UpdateRuntimeOptions200Response extends HttpResponse {\n status: \"200\";\n body: JSRuntimeOptionsOutput;\n}\n\n/** Updates the runtime options. */\nexport interface UpdateRuntimeOptionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** It gets the module for the user defined endpoint. */\nexport interface GetUserDefinedEndpointsModule200Response extends HttpResponse {\n status: \"200\";\n body: ModuleDefOutput;\n}\n\n/** It gets the module for the user defined endpoint. */\nexport interface GetUserDefinedEndpointsModuleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** User defined functions stored in the Confidential Ledger */\nexport interface ListUserDefinedFunctions200Response extends HttpResponse {\n status: \"200\";\n body: PagedUserDefinedFunctionsOutput;\n}\n\n/** User defined functions stored in the Confidential Ledger */\nexport interface ListUserDefinedFunctionsDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Deletes a user defined function from the Confidential Ledger. */\nexport interface DeleteUserDefinedFunction204Response extends HttpResponse {\n status: \"204\";\n}\n\n/** Deletes a user defined function from the Confidential Ledger. */\nexport interface DeleteUserDefinedFunctionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Returns the user defined function in the Confidential Ledger */\nexport interface GetUserDefinedFunction200Response extends HttpResponse {\n status: \"200\";\n body: UserDefinedFunctionOutput;\n}\n\n/** Returns the user defined function in the Confidential Ledger */\nexport interface GetUserDefinedFunctionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\nexport interface CreateUserDefinedFunction200Headers {\n /** The transaction id at which this write will become durable. */\n \"x-ms-ccf-transaction-id\"?: string;\n}\n\n/** Creates the user defined function in the Confidential Ledger */\nexport interface CreateUserDefinedFunction200Response extends HttpResponse {\n status: \"200\";\n body: UserDefinedFunctionOutput;\n headers: RawHttpHeaders & CreateUserDefinedFunction200Headers;\n}\n\nexport interface CreateUserDefinedFunction201Headers {\n /** The transaction id at which this write will become durable. */\n \"x-ms-ccf-transaction-id\"?: string;\n}\n\n/** Creates the user defined function in the Confidential Ledger */\nexport interface CreateUserDefinedFunction201Response extends HttpResponse {\n status: \"201\";\n body: UserDefinedFunctionOutput;\n headers: RawHttpHeaders & CreateUserDefinedFunction201Headers;\n}\n\n/** Creates the user defined function in the Confidential Ledger */\nexport interface CreateUserDefinedFunctionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** Executes the user defined function in the Confidential Ledger */\nexport interface ExecuteUserDefinedFunction200Response extends HttpResponse {\n status: \"200\";\n body: UserDefinedFunctionExecutionResponseOutput;\n}\n\n/** Executes the user defined function in the Confidential Ledger */\nexport interface ExecuteUserDefinedFunctionDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** user defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface GetUserDefinedRole200Response extends HttpResponse {\n status: \"200\";\n body: Array<RoleOutput>;\n}\n\n/** user defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface GetUserDefinedRoleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** User defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface CreateUserDefinedRole200Response extends HttpResponse {\n status: \"200\";\n}\n\n/** User defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface CreateUserDefinedRoleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** User defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface UpdateUserDefinedRole200Response extends HttpResponse {\n status: \"200\";\n}\n\n/** User defined roles allow users to define and manage app specific AuthZ policy. */\nexport interface UpdateUserDefinedRoleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n\n/** A user defined role allows the users to create and manage their own role actions using the API. */\nexport interface DeleteUserDefinedRole200Response extends HttpResponse {\n status: \"200\";\n}\n\n/** A user defined role allows the users to create and manage their own role actions using the API. */\nexport interface DeleteUserDefinedRoleDefaultResponse extends HttpResponse {\n status: string;\n body: ConfidentialLedgerErrorOutput;\n}\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "client",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "An isomorphic rest level client library for the Azure Confidential Ledger service.",
6
- "version": "1.1.2-beta.1",
6
+ "version": "1.1.2-beta.3",
7
7
  "keywords": [
8
8
  "node",
9
9
  "azure",
@@ -24,9 +24,7 @@
24
24
  "files": [
25
25
  "dist/",
26
26
  "README.md",
27
- "LICENSE",
28
- "review/",
29
- "CHANGELOG.md"
27
+ "LICENSE"
30
28
  ],
31
29
  "//metadata": {
32
30
  "constantPaths": [
@@ -53,25 +51,19 @@
53
51
  "scripts": {
54
52
  "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
55
53
  "build:samples": "echo skipped.",
56
- "build:test": "echo skipped.",
57
54
  "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
58
55
  "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm dist-test temp types *.tgz *.log",
59
56
  "execute:samples": "dev-tool samples run samples-dev",
60
57
  "extract-api": "dev-tool run build-package && dev-tool run extract-api",
61
58
  "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
62
59
  "generate:client": "autorest --typescript swagger/README.md && rushx format",
63
- "integration-test": "npm run integration-test:node",
64
- "integration-test:browser": "echo \"Browser is not supported.\" && exit 0",
65
- "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
66
60
  "lint": "eslint package.json api-extractor.json src test",
67
61
  "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
68
62
  "pack": "npm pack 2>&1",
69
- "test": "npm run clean && npm run build:test && npm run unit-test",
70
- "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
71
- "test:node": "npm run clean && npm run build:test && npm run unit-test:node",
72
- "unit-test": "npm run unit-test:node",
73
- "unit-test:browser": "echo \"Browser is not supported.\" && exit 0",
74
- "unit-test:node": "dev-tool run test:vitest",
63
+ "test": "npm run test:node && npm run test:browser",
64
+ "test:browser": "echo \"Browser is not supported.\" && exit 0",
65
+ "test:node": "dev-tool run test:vitest",
66
+ "test:node:esm": "dev-tool run test:vitest --esm",
75
67
  "update-snippets": "dev-tool run update-snippets"
76
68
  },
77
69
  "sideEffects": false,
@@ -79,8 +71,8 @@
79
71
  "dependencies": {
80
72
  "@azure-rest/core-client": "^2.3.1",
81
73
  "@azure/core-auth": "^1.9.0",
82
- "@azure/core-rest-pipeline": "^1.18.2",
83
- "@azure/logger": "^1.1.4",
74
+ "@azure/core-rest-pipeline": "^1.20.0",
75
+ "@azure/logger": "^1.2.0",
84
76
  "tslib": "^2.8.1"
85
77
  },
86
78
  "devDependencies": {
@@ -89,7 +81,7 @@
89
81
  "@azure-tools/test-utils-vitest": "^1.0.0",
90
82
  "@azure/dev-tool": "^1.0.0",
91
83
  "@azure/eslint-plugin-azure-sdk": "^3.0.0",
92
- "@azure/identity": "^4.5.0",
84
+ "@azure/identity": "^4.10.0",
93
85
  "@types/node": "^18.0.0",
94
86
  "@vitest/coverage-istanbul": "^3.0.9",
95
87
  "dotenv": "^16.0.0",
package/CHANGELOG.md DELETED
@@ -1,22 +0,0 @@
1
- # Release History
2
-
3
- ## 1.1.2-beta.1 (2025-04-23)
4
-
5
- ### Features Added
6
-
7
- - User defined endpoint
8
- - User defined endpoint runtimeoptions
9
- - User defined endpoint modules
10
- - User defined roles
11
- - User defined functions support on ledger API
12
- - User List endpoint
13
-
14
- ## 1.0.0 (2022-07-18)
15
-
16
- - Pageable collections and consortium endpoints
17
- - Renaming ledgerUri to ledgerEndpoint
18
- - postLedgerEntry changed to createLedgerEntry
19
-
20
- ## 1.0.0-beta.2 (2021-05-12)
21
-
22
- - First release of package, see README.md for details.