entity-client 1.0.16 → 1.0.18

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 (40) hide show
  1. package/dist/EntityAppServerApi.d.ts +112 -96
  2. package/dist/EntityServerApi.d.ts +60 -48
  3. package/dist/client/base.d.ts +8 -7
  4. package/dist/client/base.js +1 -1
  5. package/dist/client/base.js.map +3 -3
  6. package/dist/client/request.d.ts +1 -0
  7. package/dist/client/request.js +1 -1
  8. package/dist/client/request.js.map +3 -3
  9. package/dist/index.js +1 -1
  10. package/dist/index.js.map +3 -3
  11. package/dist/mixins/app/plugins/alimtalk.d.ts +7 -6
  12. package/dist/mixins/app/plugins/friendtalk.d.ts +7 -6
  13. package/dist/mixins/app/plugins/holidays.d.ts +7 -6
  14. package/dist/mixins/app/plugins/identity.d.ts +7 -6
  15. package/dist/mixins/app/plugins/llm.d.ts +7 -6
  16. package/dist/mixins/app/plugins/ocr.d.ts +7 -6
  17. package/dist/mixins/app/plugins/pg.d.ts +7 -6
  18. package/dist/mixins/app/plugins/push.d.ts +7 -6
  19. package/dist/mixins/app/plugins/sms.d.ts +7 -6
  20. package/dist/mixins/app/plugins/taxinvoice.d.ts +7 -6
  21. package/dist/mixins/app/routes/account.d.ts +7 -6
  22. package/dist/mixins/app/routes/board.d.ts +7 -6
  23. package/dist/mixins/app/routes/email-verify.d.ts +7 -6
  24. package/dist/mixins/app/routes/oauth.d.ts +7 -6
  25. package/dist/mixins/app/routes/password-reset.d.ts +7 -6
  26. package/dist/mixins/app/routes/two-factor.d.ts +7 -6
  27. package/dist/mixins/server/admin.d.ts +7 -6
  28. package/dist/mixins/server/auth.d.ts +11 -6
  29. package/dist/mixins/server/auth.js +1 -1
  30. package/dist/mixins/server/auth.js.map +3 -3
  31. package/dist/mixins/server/entity.d.ts +7 -6
  32. package/dist/mixins/server/file.d.ts +7 -6
  33. package/dist/mixins/server/push.d.ts +7 -6
  34. package/dist/mixins/server/smtp.d.ts +7 -6
  35. package/dist/mixins/server/transaction.d.ts +7 -6
  36. package/dist/mixins/server/utils.d.ts +7 -6
  37. package/dist/react.js +1 -1
  38. package/dist/react.js.map +3 -3
  39. package/dist/types.d.ts +1 -1
  40. package/package.json +1 -1
@@ -73,14 +73,15 @@ declare const EntityAppServerApi_base: {
73
73
  applyCsrfHealth(): void;
74
74
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
75
75
  get reqOpts(): import("./client/request.js").RequestOptions;
76
+ prepareRequest(_withAuth: boolean): Promise<void>;
76
77
  get http(): {
77
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
78
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
79
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
80
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
81
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
78
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
79
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
80
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
81
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
82
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
82
83
  };
83
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
84
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
84
85
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
85
86
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
86
87
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -156,14 +157,15 @@ declare const EntityAppServerApi_base: {
156
157
  applyCsrfHealth(): void;
157
158
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
158
159
  get reqOpts(): import("./client/request.js").RequestOptions;
160
+ prepareRequest(_withAuth: boolean): Promise<void>;
159
161
  get http(): {
160
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
161
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
162
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
163
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
164
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
162
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
163
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
164
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
165
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
166
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
165
167
  };
166
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
168
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
167
169
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
168
170
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
169
171
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -242,14 +244,15 @@ declare const EntityAppServerApi_base: {
242
244
  applyCsrfHealth(): void;
243
245
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
244
246
  get reqOpts(): import("./client/request.js").RequestOptions;
247
+ prepareRequest(_withAuth: boolean): Promise<void>;
245
248
  get http(): {
246
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
247
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
248
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
249
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
250
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
249
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
250
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
251
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
252
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
253
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
251
254
  };
252
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
255
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
253
256
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
254
257
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
255
258
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -329,14 +332,15 @@ declare const EntityAppServerApi_base: {
329
332
  applyCsrfHealth(): void;
330
333
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
331
334
  get reqOpts(): import("./client/request.js").RequestOptions;
335
+ prepareRequest(_withAuth: boolean): Promise<void>;
332
336
  get http(): {
333
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
334
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
335
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
336
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
337
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
337
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
338
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
339
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
340
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
341
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
338
342
  };
339
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
343
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
340
344
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
341
345
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
342
346
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -418,14 +422,15 @@ declare const EntityAppServerApi_base: {
418
422
  applyCsrfHealth(): void;
419
423
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
420
424
  get reqOpts(): import("./client/request.js").RequestOptions;
425
+ prepareRequest(_withAuth: boolean): Promise<void>;
421
426
  get http(): {
422
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
423
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
424
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
425
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
426
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
427
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
428
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
429
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
430
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
431
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
427
432
  };
428
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
433
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
429
434
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
430
435
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
431
436
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -506,14 +511,15 @@ declare const EntityAppServerApi_base: {
506
511
  applyCsrfHealth(): void;
507
512
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
508
513
  get reqOpts(): import("./client/request.js").RequestOptions;
514
+ prepareRequest(_withAuth: boolean): Promise<void>;
509
515
  get http(): {
510
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
511
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
512
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
513
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
514
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
516
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
517
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
518
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
519
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
520
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
515
521
  };
516
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
522
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
517
523
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
518
524
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
519
525
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -596,14 +602,15 @@ declare const EntityAppServerApi_base: {
596
602
  applyCsrfHealth(): void;
597
603
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
598
604
  get reqOpts(): import("./client/request.js").RequestOptions;
605
+ prepareRequest(_withAuth: boolean): Promise<void>;
599
606
  get http(): {
600
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
601
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
602
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
603
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
604
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
607
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
608
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
609
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
610
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
611
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
605
612
  };
606
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
613
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
607
614
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
608
615
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
609
616
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -713,14 +720,15 @@ declare const EntityAppServerApi_base: {
713
720
  applyCsrfHealth(): void;
714
721
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
715
722
  get reqOpts(): import("./client/request.js").RequestOptions;
723
+ prepareRequest(_withAuth: boolean): Promise<void>;
716
724
  get http(): {
717
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
718
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
719
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
720
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
721
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
725
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
726
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
727
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
728
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
729
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
722
730
  };
723
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
731
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
724
732
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
725
733
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
726
734
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -799,14 +807,15 @@ declare const EntityAppServerApi_base: {
799
807
  applyCsrfHealth(): void;
800
808
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
801
809
  get reqOpts(): import("./client/request.js").RequestOptions;
810
+ prepareRequest(_withAuth: boolean): Promise<void>;
802
811
  get http(): {
803
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
804
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
805
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
806
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
807
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
812
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
813
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
814
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
815
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
816
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
808
817
  };
809
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
818
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
810
819
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
811
820
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
812
821
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -888,14 +897,15 @@ declare const EntityAppServerApi_base: {
888
897
  applyCsrfHealth(): void;
889
898
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
890
899
  get reqOpts(): import("./client/request.js").RequestOptions;
900
+ prepareRequest(_withAuth: boolean): Promise<void>;
891
901
  get http(): {
892
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
893
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
894
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
895
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
896
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
902
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
903
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
904
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
905
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
906
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
897
907
  };
898
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
908
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
899
909
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
900
910
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
901
911
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -976,14 +986,15 @@ declare const EntityAppServerApi_base: {
976
986
  applyCsrfHealth(): void;
977
987
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
978
988
  get reqOpts(): import("./client/request.js").RequestOptions;
989
+ prepareRequest(_withAuth: boolean): Promise<void>;
979
990
  get http(): {
980
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
981
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
982
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
983
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
984
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
991
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
992
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
993
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
994
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
995
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
985
996
  };
986
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
997
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
987
998
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
988
999
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
989
1000
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -1065,14 +1076,15 @@ declare const EntityAppServerApi_base: {
1065
1076
  applyCsrfHealth(): void;
1066
1077
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
1067
1078
  get reqOpts(): import("./client/request.js").RequestOptions;
1079
+ prepareRequest(_withAuth: boolean): Promise<void>;
1068
1080
  get http(): {
1069
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1070
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1071
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1072
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1073
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1081
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1082
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1083
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1084
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1085
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1074
1086
  };
1075
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1087
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1076
1088
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
1077
1089
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
1078
1090
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -1152,14 +1164,15 @@ declare const EntityAppServerApi_base: {
1152
1164
  applyCsrfHealth(): void;
1153
1165
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
1154
1166
  get reqOpts(): import("./client/request.js").RequestOptions;
1167
+ prepareRequest(_withAuth: boolean): Promise<void>;
1155
1168
  get http(): {
1156
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1157
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1158
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1159
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1160
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1169
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1170
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1171
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1172
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1173
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1161
1174
  };
1162
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1175
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1163
1176
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
1164
1177
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
1165
1178
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -1239,14 +1252,15 @@ declare const EntityAppServerApi_base: {
1239
1252
  applyCsrfHealth(): void;
1240
1253
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
1241
1254
  get reqOpts(): import("./client/request.js").RequestOptions;
1255
+ prepareRequest(_withAuth: boolean): Promise<void>;
1242
1256
  get http(): {
1243
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1244
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1245
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1246
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1247
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1257
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1258
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1259
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1260
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1261
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1248
1262
  };
1249
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1263
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1250
1264
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
1251
1265
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
1252
1266
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -1354,14 +1368,15 @@ declare const EntityAppServerApi_base: {
1354
1368
  applyCsrfHealth(): void;
1355
1369
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
1356
1370
  get reqOpts(): import("./client/request.js").RequestOptions;
1371
+ prepareRequest(_withAuth: boolean): Promise<void>;
1357
1372
  get http(): {
1358
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1359
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1360
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1361
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1362
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1373
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1374
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1375
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1376
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1377
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1363
1378
  };
1364
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1379
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1365
1380
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
1366
1381
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
1367
1382
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -1446,14 +1461,15 @@ declare const EntityAppServerApi_base: {
1446
1461
  applyCsrfHealth(): void;
1447
1462
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
1448
1463
  get reqOpts(): import("./client/request.js").RequestOptions;
1464
+ prepareRequest(_withAuth: boolean): Promise<void>;
1449
1465
  get http(): {
1450
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1451
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1452
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1453
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1454
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1466
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1467
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1468
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1469
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1470
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1455
1471
  };
1456
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
1472
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
1457
1473
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
1458
1474
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
1459
1475
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -104,14 +104,15 @@ declare const EntityServerApi_base: {
104
104
  applyCsrfHealth(): void;
105
105
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
106
106
  get reqOpts(): import("./client/request.js").RequestOptions;
107
+ prepareRequest(_withAuth: boolean): Promise<void>;
107
108
  get http(): {
108
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
109
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
110
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
111
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
112
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
109
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
110
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
111
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
112
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
113
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
113
114
  };
114
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
115
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
115
116
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
116
117
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
117
118
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -189,14 +190,15 @@ declare const EntityServerApi_base: {
189
190
  applyCsrfHealth(): void;
190
191
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
191
192
  get reqOpts(): import("./client/request.js").RequestOptions;
193
+ prepareRequest(_withAuth: boolean): Promise<void>;
192
194
  get http(): {
193
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
194
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
195
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
196
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
197
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
195
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
196
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
197
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
198
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
199
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
198
200
  };
199
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
201
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
200
202
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
201
203
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
202
204
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -303,14 +305,15 @@ declare const EntityServerApi_base: {
303
305
  applyCsrfHealth(): void;
304
306
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
305
307
  get reqOpts(): import("./client/request.js").RequestOptions;
308
+ prepareRequest(_withAuth: boolean): Promise<void>;
306
309
  get http(): {
307
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
308
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
309
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
310
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
311
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
310
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
311
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
312
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
313
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
314
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
312
315
  };
313
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
316
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
314
317
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
315
318
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
316
319
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -394,14 +397,15 @@ declare const EntityServerApi_base: {
394
397
  applyCsrfHealth(): void;
395
398
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
396
399
  get reqOpts(): import("./client/request.js").RequestOptions;
400
+ prepareRequest(_withAuth: boolean): Promise<void>;
397
401
  get http(): {
398
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
399
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
400
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
401
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
402
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
402
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
403
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
404
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
405
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
406
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
403
407
  };
404
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
408
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
405
409
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
406
410
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
407
411
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -503,14 +507,15 @@ declare const EntityServerApi_base: {
503
507
  applyCsrfHealth(): void;
504
508
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
505
509
  get reqOpts(): import("./client/request.js").RequestOptions;
510
+ prepareRequest(_withAuth: boolean): Promise<void>;
506
511
  get http(): {
507
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
508
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
509
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
510
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
511
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
512
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
513
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
514
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
515
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
516
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
512
517
  };
513
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
518
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
514
519
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
515
520
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
516
521
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -647,14 +652,15 @@ declare const EntityServerApi_base: {
647
652
  applyCsrfHealth(): void;
648
653
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
649
654
  get reqOpts(): import("./client/request.js").RequestOptions;
655
+ prepareRequest(_withAuth: boolean): Promise<void>;
650
656
  get http(): {
651
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
652
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
653
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
654
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
655
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
657
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
658
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
659
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
660
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
661
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
656
662
  };
657
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
663
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
658
664
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
659
665
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
660
666
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
@@ -795,20 +801,24 @@ declare const EntityServerApi_base: {
795
801
  applyCsrfHealth(): void;
796
802
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
797
803
  get reqOpts(): import("./client/request.js").RequestOptions;
804
+ prepareRequest(_withAuth: boolean): Promise<void>;
798
805
  get http(): {
799
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
800
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
801
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
802
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
803
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
806
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
807
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
808
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
809
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
810
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
804
811
  };
805
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
812
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
806
813
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
807
814
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
808
815
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;
809
816
  };
810
817
  } & {
811
818
  new (...args: any[]): {
819
+ authBootstrapPromise: Promise<void> | null;
820
+ authBootstrapToken: string;
821
+ authBootstrapAnonymousCompleted: boolean;
812
822
  csrfRefresher: () => Promise<void>;
813
823
  checkHealth(bootstrapAuth?: boolean): Promise<{
814
824
  status: string;
@@ -817,6 +827,8 @@ declare const EntityServerApi_base: {
817
827
  }>;
818
828
  readCookie(name: string): string | null;
819
829
  ensurePublicAuthBootstrap(): Promise<void>;
830
+ ensureAuthenticatedRequestBootstrap(): Promise<void>;
831
+ prepareRequest(withAuth: boolean): Promise<void>;
820
832
  login(email: string, password: string): Promise<import("./index.js").AuthLoginResponse>;
821
833
  tokenRefresh(): Promise<{
822
834
  access_token: string;
@@ -906,13 +918,13 @@ declare const EntityServerApi_base: {
906
918
  readRequestBody<T = Record<string, unknown>>(body: ArrayBuffer | Uint8Array | string | T | null | undefined, contentType?: string, requireEncrypted?: boolean): T;
907
919
  get reqOpts(): import("./client/request.js").RequestOptions;
908
920
  get http(): {
909
- get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
910
- post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
911
- put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
912
- patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
913
- delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
921
+ get<T>(path: string, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
922
+ post<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
923
+ put<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
924
+ patch<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
925
+ delete<T>(path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
914
926
  };
915
- request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>): Promise<T>;
927
+ request<T>(method: string, path: string, body?: unknown, withAuth?: boolean, extraHeaders?: Record<string, string>, requestConfig?: import("./client/request.js").EntityRequestConfig): Promise<T>;
916
928
  requestBinary(method: string, path: string, body?: unknown, withAuth?: boolean): Promise<ArrayBuffer>;
917
929
  requestForm<T>(method: string, path: string, form: FormData, withAuth?: boolean): Promise<T>;
918
930
  requestFormBinary(method: string, path: string, form: FormData, withAuth?: boolean): Promise<ArrayBuffer>;