@lazycatcloud/sdk 0.1.94 → 0.1.95

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazycatcloud/sdk",
3
- "version": "0.1.94",
3
+ "version": "0.1.95",
4
4
  "author": "snyh",
5
5
  "scripts": {
6
6
  "build": "tsc"
@@ -21,7 +21,7 @@ export interface GenUserInvitationRequest {
21
21
  /** 是否允许新用户安装应用 */
22
22
  allowInstallApp?: boolean | undefined;
23
23
  /** 对新用户可见的应用列表 */
24
- appAllowlist: string[];
24
+ appAllowList: string[];
25
25
  }
26
26
  export interface UserInvitation {
27
27
  token: string;
@@ -218,14 +218,14 @@ export declare const GenUserInvitationRequest: {
218
218
  limitUsageCount?: number | undefined;
219
219
  limitRole?: Role | undefined;
220
220
  allowInstallApp?: boolean | undefined;
221
- appAllowlist?: string[];
221
+ appAllowList?: string[];
222
222
  } & {
223
223
  limitUid?: string | undefined;
224
224
  notAfter?: Date | undefined;
225
225
  limitUsageCount?: number | undefined;
226
226
  limitRole?: Role | undefined;
227
227
  allowInstallApp?: boolean | undefined;
228
- appAllowlist?: string[] & string[] & { [K in Exclude<keyof I["appAllowlist"], keyof string[]>]: never; };
228
+ appAllowList?: string[] & string[] & { [K in Exclude<keyof I["appAllowList"], keyof string[]>]: never; };
229
229
  } & { [K_1 in Exclude<keyof I, keyof GenUserInvitationRequest>]: never; }>(object: I): GenUserInvitationRequest;
230
230
  };
231
231
  export declare const UserInvitation: {
@@ -121,7 +121,7 @@ function createBaseGenUserInvitationRequest() {
121
121
  limitUsageCount: undefined,
122
122
  limitRole: undefined,
123
123
  allowInstallApp: undefined,
124
- appAllowlist: [],
124
+ appAllowList: [],
125
125
  };
126
126
  }
127
127
  exports.GenUserInvitationRequest = {
@@ -141,7 +141,7 @@ exports.GenUserInvitationRequest = {
141
141
  if (message.allowInstallApp !== undefined) {
142
142
  writer.uint32(40).bool(message.allowInstallApp);
143
143
  }
144
- for (const v of message.appAllowlist) {
144
+ for (const v of message.appAllowList) {
145
145
  writer.uint32(50).string(v);
146
146
  }
147
147
  return writer;
@@ -169,7 +169,7 @@ exports.GenUserInvitationRequest = {
169
169
  message.allowInstallApp = reader.bool();
170
170
  break;
171
171
  case 6:
172
- message.appAllowlist.push(reader.string());
172
+ message.appAllowList.push(reader.string());
173
173
  break;
174
174
  default:
175
175
  reader.skipType(tag & 7);
@@ -193,8 +193,8 @@ exports.GenUserInvitationRequest = {
193
193
  allowInstallApp: isSet(object.allowInstallApp)
194
194
  ? Boolean(object.allowInstallApp)
195
195
  : undefined,
196
- appAllowlist: Array.isArray(object === null || object === void 0 ? void 0 : object.appAllowlist)
197
- ? object.appAllowlist.map((e) => String(e))
196
+ appAllowList: Array.isArray(object === null || object === void 0 ? void 0 : object.appAllowList)
197
+ ? object.appAllowList.map((e) => String(e))
198
198
  : [],
199
199
  };
200
200
  },
@@ -212,11 +212,11 @@ exports.GenUserInvitationRequest = {
212
212
  : undefined);
213
213
  message.allowInstallApp !== undefined &&
214
214
  (obj.allowInstallApp = message.allowInstallApp);
215
- if (message.appAllowlist) {
216
- obj.appAllowlist = message.appAllowlist.map((e) => e);
215
+ if (message.appAllowList) {
216
+ obj.appAllowList = message.appAllowList.map((e) => e);
217
217
  }
218
218
  else {
219
- obj.appAllowlist = [];
219
+ obj.appAllowList = [];
220
220
  }
221
221
  return obj;
222
222
  },
@@ -228,7 +228,7 @@ exports.GenUserInvitationRequest = {
228
228
  message.limitUsageCount = (_c = object.limitUsageCount) !== null && _c !== void 0 ? _c : undefined;
229
229
  message.limitRole = (_d = object.limitRole) !== null && _d !== void 0 ? _d : undefined;
230
230
  message.allowInstallApp = (_e = object.allowInstallApp) !== null && _e !== void 0 ? _e : undefined;
231
- message.appAllowlist = ((_f = object.appAllowlist) === null || _f === void 0 ? void 0 : _f.map((e) => e)) || [];
231
+ message.appAllowList = ((_f = object.appAllowList) === null || _f === void 0 ? void 0 : _f.map((e) => e)) || [];
232
232
  return message;
233
233
  },
234
234
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazycatcloud/sdk",
3
- "version": "0.1.94",
3
+ "version": "0.1.95",
4
4
  "author": "snyh",
5
5
  "scripts": {
6
6
  "build": "tsc"