@formalingo/sdk 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/README.md +31 -9
  2. package/dist/client/api/v1/analytics/index.d.ts +20 -0
  3. package/dist/client/api/v1/analytics/index.d.ts.map +1 -0
  4. package/dist/client/api/v1/analytics/index.js +20 -0
  5. package/dist/client/api/v1/analytics/index.js.map +1 -0
  6. package/dist/client/api/v1/analytics/summary/index.d.ts +131 -0
  7. package/dist/client/api/v1/analytics/summary/index.d.ts.map +1 -0
  8. package/dist/client/api/v1/analytics/summary/index.js +137 -0
  9. package/dist/client/api/v1/analytics/summary/index.js.map +1 -0
  10. package/dist/client/api/v1/deliveries/index.d.ts +192 -0
  11. package/dist/client/api/v1/deliveries/index.d.ts.map +1 -0
  12. package/dist/client/api/v1/deliveries/index.js +189 -0
  13. package/dist/client/api/v1/deliveries/index.js.map +1 -0
  14. package/dist/client/api/v1/documents/importEscaped/index.d.ts +144 -0
  15. package/dist/client/api/v1/documents/importEscaped/index.d.ts.map +1 -0
  16. package/dist/client/api/v1/documents/importEscaped/index.js +153 -0
  17. package/dist/client/api/v1/documents/importEscaped/index.js.map +1 -0
  18. package/dist/client/api/v1/documents/index.d.ts +5 -0
  19. package/dist/client/api/v1/documents/index.d.ts.map +1 -1
  20. package/dist/client/api/v1/documents/index.js +5 -0
  21. package/dist/client/api/v1/documents/index.js.map +1 -1
  22. package/dist/client/api/v1/documents/item/exportEscaped/index.d.ts +103 -0
  23. package/dist/client/api/v1/documents/item/exportEscaped/index.d.ts.map +1 -0
  24. package/dist/client/api/v1/documents/item/exportEscaped/index.js +102 -0
  25. package/dist/client/api/v1/documents/item/exportEscaped/index.js.map +1 -0
  26. package/dist/client/api/v1/documents/item/fields/index.d.ts +121 -7
  27. package/dist/client/api/v1/documents/item/fields/index.d.ts.map +1 -1
  28. package/dist/client/api/v1/documents/item/fields/index.js +125 -0
  29. package/dist/client/api/v1/documents/item/fields/index.js.map +1 -1
  30. package/dist/client/api/v1/documents/item/fields/item/index.d.ts +106 -16
  31. package/dist/client/api/v1/documents/item/fields/item/index.d.ts.map +1 -1
  32. package/dist/client/api/v1/documents/item/fields/item/index.js +97 -4
  33. package/dist/client/api/v1/documents/item/fields/item/index.js.map +1 -1
  34. package/dist/client/api/v1/documents/item/index.d.ts +104 -6
  35. package/dist/client/api/v1/documents/item/index.d.ts.map +1 -1
  36. package/dist/client/api/v1/documents/item/index.js +111 -4
  37. package/dist/client/api/v1/documents/item/index.js.map +1 -1
  38. package/dist/client/api/v1/documents/item/parseJobs/index.d.ts +155 -0
  39. package/dist/client/api/v1/documents/item/parseJobs/index.d.ts.map +1 -0
  40. package/dist/client/api/v1/documents/item/parseJobs/index.js +163 -0
  41. package/dist/client/api/v1/documents/item/parseJobs/index.js.map +1 -0
  42. package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.d.ts +180 -0
  43. package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.d.ts.map +1 -0
  44. package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.js +189 -0
  45. package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.js.map +1 -0
  46. package/dist/client/api/v1/documents/item/parseJobs/item/index.d.ts +75 -0
  47. package/dist/client/api/v1/documents/item/parseJobs/item/index.d.ts.map +1 -0
  48. package/dist/client/api/v1/documents/item/parseJobs/item/index.js +76 -0
  49. package/dist/client/api/v1/documents/item/parseJobs/item/index.js.map +1 -0
  50. package/dist/client/api/v1/documents/item/publish/index.d.ts +200 -0
  51. package/dist/client/api/v1/documents/item/publish/index.d.ts.map +1 -0
  52. package/dist/client/api/v1/documents/item/publish/index.js +220 -0
  53. package/dist/client/api/v1/documents/item/publish/index.js.map +1 -0
  54. package/dist/client/api/v1/documents/item/revisions/index.d.ts +112 -0
  55. package/dist/client/api/v1/documents/item/revisions/index.d.ts.map +1 -0
  56. package/dist/client/api/v1/documents/item/revisions/index.js +110 -0
  57. package/dist/client/api/v1/documents/item/revisions/index.js.map +1 -0
  58. package/dist/client/api/v1/documents/item/revisions/item/index.d.ts +95 -0
  59. package/dist/client/api/v1/documents/item/revisions/item/index.d.ts.map +1 -0
  60. package/dist/client/api/v1/documents/item/revisions/item/index.js +102 -0
  61. package/dist/client/api/v1/documents/item/revisions/item/index.js.map +1 -0
  62. package/dist/client/api/v1/documents/item/signerRoles/index.d.ts +1 -0
  63. package/dist/client/api/v1/documents/item/signerRoles/index.d.ts.map +1 -1
  64. package/dist/client/api/v1/documents/item/signerRoles/index.js +4 -1
  65. package/dist/client/api/v1/documents/item/signerRoles/index.js.map +1 -1
  66. package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts +121 -1
  67. package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts.map +1 -1
  68. package/dist/client/api/v1/documents/item/signerRoles/item/index.js +133 -0
  69. package/dist/client/api/v1/documents/item/signerRoles/item/index.js.map +1 -1
  70. package/dist/client/api/v1/documents/item/submissions/index.d.ts +40 -30
  71. package/dist/client/api/v1/documents/item/submissions/index.d.ts.map +1 -1
  72. package/dist/client/api/v1/documents/item/submissions/index.js +36 -28
  73. package/dist/client/api/v1/documents/item/submissions/index.js.map +1 -1
  74. package/dist/client/api/v1/documents/item/submissions/item/expire/index.d.ts +280 -0
  75. package/dist/client/api/v1/documents/item/submissions/item/expire/index.d.ts.map +1 -0
  76. package/dist/client/api/v1/documents/item/submissions/item/expire/index.js +301 -0
  77. package/dist/client/api/v1/documents/item/submissions/item/expire/index.js.map +1 -0
  78. package/dist/client/api/v1/documents/item/submissions/item/index.d.ts +86 -1
  79. package/dist/client/api/v1/documents/item/submissions/item/index.d.ts.map +1 -1
  80. package/dist/client/api/v1/documents/item/submissions/item/index.js +92 -0
  81. package/dist/client/api/v1/documents/item/submissions/item/index.js.map +1 -1
  82. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts +42 -0
  83. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts.map +1 -1
  84. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js +43 -0
  85. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js.map +1 -1
  86. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts +5 -41
  87. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts.map +1 -1
  88. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js +7 -44
  89. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js.map +1 -1
  90. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts +7 -2
  91. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts.map +1 -1
  92. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js +5 -0
  93. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js.map +1 -1
  94. package/dist/client/api/v1/files/index.d.ts +22 -0
  95. package/dist/client/api/v1/files/index.d.ts.map +1 -0
  96. package/dist/client/api/v1/files/index.js +21 -0
  97. package/dist/client/api/v1/files/index.js.map +1 -0
  98. package/dist/client/api/v1/files/item/download/index.d.ts +180 -0
  99. package/dist/client/api/v1/files/item/download/index.d.ts.map +1 -0
  100. package/dist/client/api/v1/files/item/download/index.js +189 -0
  101. package/dist/client/api/v1/files/item/download/index.js.map +1 -0
  102. package/dist/client/api/v1/files/item/index.d.ts +20 -0
  103. package/dist/client/api/v1/files/item/index.d.ts.map +1 -0
  104. package/dist/client/api/v1/files/item/index.js +20 -0
  105. package/dist/client/api/v1/files/item/index.js.map +1 -0
  106. package/dist/client/api/v1/forms/index.d.ts +46 -1
  107. package/dist/client/api/v1/forms/index.d.ts.map +1 -1
  108. package/dist/client/api/v1/forms/index.js +22 -1
  109. package/dist/client/api/v1/forms/index.js.map +1 -1
  110. package/dist/client/api/v1/forms/item/index.d.ts +18 -0
  111. package/dist/client/api/v1/forms/item/index.d.ts.map +1 -1
  112. package/dist/client/api/v1/forms/item/index.js +15 -0
  113. package/dist/client/api/v1/forms/item/index.js.map +1 -1
  114. package/dist/client/api/v1/forms/item/publish/index.d.ts +200 -0
  115. package/dist/client/api/v1/forms/item/publish/index.d.ts.map +1 -0
  116. package/dist/client/api/v1/forms/item/publish/index.js +220 -0
  117. package/dist/client/api/v1/forms/item/publish/index.js.map +1 -0
  118. package/dist/client/api/v1/forms/item/recipients/bulk/index.d.ts +274 -0
  119. package/dist/client/api/v1/forms/item/recipients/bulk/index.d.ts.map +1 -0
  120. package/dist/client/api/v1/forms/item/recipients/bulk/index.js +302 -0
  121. package/dist/client/api/v1/forms/item/recipients/bulk/index.js.map +1 -0
  122. package/dist/client/api/v1/forms/item/recipients/index.d.ts +10 -4
  123. package/dist/client/api/v1/forms/item/recipients/index.d.ts.map +1 -1
  124. package/dist/client/api/v1/forms/item/recipients/index.js +11 -3
  125. package/dist/client/api/v1/forms/item/recipients/index.js.map +1 -1
  126. package/dist/client/api/v1/forms/item/recipients/item/index.d.ts +3 -2
  127. package/dist/client/api/v1/forms/item/recipients/item/index.d.ts.map +1 -1
  128. package/dist/client/api/v1/forms/item/recipients/item/index.js +6 -3
  129. package/dist/client/api/v1/forms/item/recipients/item/index.js.map +1 -1
  130. package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts +4 -0
  131. package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts.map +1 -1
  132. package/dist/client/api/v1/forms/item/recipients/item/responses/index.js +2 -0
  133. package/dist/client/api/v1/forms/item/recipients/item/responses/index.js.map +1 -1
  134. package/dist/client/api/v1/forms/item/revisions/index.d.ts +112 -0
  135. package/dist/client/api/v1/forms/item/revisions/index.d.ts.map +1 -0
  136. package/dist/client/api/v1/forms/item/revisions/index.js +110 -0
  137. package/dist/client/api/v1/forms/item/revisions/index.js.map +1 -0
  138. package/dist/client/api/v1/forms/item/revisions/item/index.d.ts +95 -0
  139. package/dist/client/api/v1/forms/item/revisions/item/index.d.ts.map +1 -0
  140. package/dist/client/api/v1/forms/item/revisions/item/index.js +102 -0
  141. package/dist/client/api/v1/forms/item/revisions/item/index.js.map +1 -0
  142. package/dist/client/api/v1/index.d.ts +25 -0
  143. package/dist/client/api/v1/index.d.ts.map +1 -1
  144. package/dist/client/api/v1/index.js +25 -0
  145. package/dist/client/api/v1/index.js.map +1 -1
  146. package/dist/client/api/v1/integrations/index.d.ts +20 -0
  147. package/dist/client/api/v1/integrations/index.d.ts.map +1 -0
  148. package/dist/client/api/v1/integrations/index.js +20 -0
  149. package/dist/client/api/v1/integrations/index.js.map +1 -0
  150. package/dist/client/api/v1/integrations/status/index.d.ts +168 -0
  151. package/dist/client/api/v1/integrations/status/index.d.ts.map +1 -0
  152. package/dist/client/api/v1/integrations/status/index.js +177 -0
  153. package/dist/client/api/v1/integrations/status/index.js.map +1 -0
  154. package/dist/client/api/v1/quota/index.d.ts +93 -0
  155. package/dist/client/api/v1/quota/index.d.ts.map +1 -0
  156. package/dist/client/api/v1/quota/index.js +99 -0
  157. package/dist/client/api/v1/quota/index.js.map +1 -0
  158. package/dist/client/models/index.d.ts +1961 -137
  159. package/dist/client/models/index.d.ts.map +1 -1
  160. package/dist/client/models/index.js +2001 -211
  161. package/dist/client/models/index.js.map +1 -1
  162. package/dist/index.d.ts +15 -0
  163. package/dist/index.d.ts.map +1 -1
  164. package/dist/index.js +89 -1
  165. package/dist/index.js.map +1 -1
  166. package/package.json +1 -1
@@ -0,0 +1,103 @@
1
+ import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Creates a new instance of the appropriate class based on discriminator value
4
+ * @param parseNode The parse node to use to read the discriminator value and create the object
5
+ * @returns {Export404Error}
6
+ */
7
+ export declare function createExport404ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
8
+ /**
9
+ * Creates a new instance of the appropriate class based on discriminator value
10
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11
+ * @returns {Export409Error}
12
+ */
13
+ export declare function createExport409ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
14
+ /**
15
+ * The deserialization information for the current model
16
+ * @param Export404Error The instance to deserialize into.
17
+ * @returns {Record<string, (node: ParseNode) => void>}
18
+ */
19
+ export declare function deserializeIntoExport404Error(export404Error?: Partial<Export404Error> | undefined): Record<string, (node: ParseNode) => void>;
20
+ /**
21
+ * The deserialization information for the current model
22
+ * @param Export409Error The instance to deserialize into.
23
+ * @returns {Record<string, (node: ParseNode) => void>}
24
+ */
25
+ export declare function deserializeIntoExport409Error(export409Error?: Partial<Export409Error> | undefined): Record<string, (node: ParseNode) => void>;
26
+ export interface Export404Error extends AdditionalDataHolder, ApiError, Parsable {
27
+ /**
28
+ * Stable machine-readable error code when available.
29
+ */
30
+ code?: string | null;
31
+ /**
32
+ * The error property
33
+ */
34
+ errorEscaped?: string | null;
35
+ /**
36
+ * The hint property
37
+ */
38
+ hint?: string | null;
39
+ /**
40
+ * The success property
41
+ */
42
+ success?: boolean | null;
43
+ }
44
+ export interface Export409Error extends AdditionalDataHolder, ApiError, Parsable {
45
+ /**
46
+ * Stable machine-readable error code when available.
47
+ */
48
+ code?: string | null;
49
+ /**
50
+ * The error property
51
+ */
52
+ errorEscaped?: string | null;
53
+ /**
54
+ * The hint property
55
+ */
56
+ hint?: string | null;
57
+ /**
58
+ * The success property
59
+ */
60
+ success?: boolean | null;
61
+ }
62
+ /**
63
+ * Builds and executes requests for operations under /api/v1/documents/{id}/export
64
+ */
65
+ export interface ExportRequestBuilder extends BaseRequestBuilder<ExportRequestBuilder> {
66
+ /**
67
+ * Exports the current editable document as a portable .formalingo-doc bundle containing manifest.json and original.pdf for uploaded documents. Integrations, automation actions, submissions, signers, responses, and deliveries are excluded.
68
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
69
+ * @returns {Promise<ArrayBuffer>}
70
+ * @throws {Export404Error} error when the service returns a 404 status code
71
+ * @throws {Export409Error} error when the service returns a 409 status code
72
+ */
73
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
74
+ /**
75
+ * Exports the current editable document as a portable .formalingo-doc bundle containing manifest.json and original.pdf for uploaded documents. Integrations, automation actions, submissions, signers, responses, and deliveries are excluded.
76
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
77
+ * @returns {RequestInformation}
78
+ */
79
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
80
+ }
81
+ /**
82
+ * Serializes information the current object
83
+ * @param Export404Error The instance to serialize from.
84
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
85
+ * @param writer Serialization writer to use to serialize this model
86
+ */
87
+ export declare function serializeExport404Error(writer: SerializationWriter, export404Error?: Partial<Export404Error> | undefined | null, isSerializingDerivedType?: boolean): void;
88
+ /**
89
+ * Serializes information the current object
90
+ * @param Export409Error The instance to serialize from.
91
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
92
+ * @param writer Serialization writer to use to serialize this model
93
+ */
94
+ export declare function serializeExport409Error(writer: SerializationWriter, export409Error?: Partial<Export409Error> | undefined | null, isSerializingDerivedType?: boolean): void;
95
+ /**
96
+ * Uri template for the request builder.
97
+ */
98
+ export declare const ExportRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/export";
99
+ /**
100
+ * Metadata for all the requests in the request builder.
101
+ */
102
+ export declare const ExportRequestBuilderRequestsMetadata: RequestsMetadata;
103
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/exportEscaped/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,KAAK,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oBAAoB,EAAE,QAAQ,EAAE,QAAQ;IAC5E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;;;;GAKG;AAEH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,mBAAmB,EAAE,cAAc,GAAE,OAAO,CAAC,cAAc,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAOtL;AACD;;;;;GAKG;AAEH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,mBAAmB,EAAE,cAAc,GAAE,OAAO,CAAC,cAAc,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAOtL;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,4CAA4C,CAAC;AACzF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAWlD,CAAC"}
@@ -0,0 +1,102 @@
1
+ /**
2
+ * Creates a new instance of the appropriate class based on discriminator value
3
+ * @param parseNode The parse node to use to read the discriminator value and create the object
4
+ * @returns {Export404Error}
5
+ */
6
+ // @ts-ignore
7
+ export function createExport404ErrorFromDiscriminatorValue(parseNode) {
8
+ return deserializeIntoExport404Error;
9
+ }
10
+ /**
11
+ * Creates a new instance of the appropriate class based on discriminator value
12
+ * @param parseNode The parse node to use to read the discriminator value and create the object
13
+ * @returns {Export409Error}
14
+ */
15
+ // @ts-ignore
16
+ export function createExport409ErrorFromDiscriminatorValue(parseNode) {
17
+ return deserializeIntoExport409Error;
18
+ }
19
+ /**
20
+ * The deserialization information for the current model
21
+ * @param Export404Error The instance to deserialize into.
22
+ * @returns {Record<string, (node: ParseNode) => void>}
23
+ */
24
+ // @ts-ignore
25
+ export function deserializeIntoExport404Error(export404Error = {}) {
26
+ return {
27
+ "code": n => { export404Error.code = n.getStringValue(); },
28
+ "error": n => { export404Error.errorEscaped = n.getStringValue(); },
29
+ "hint": n => { export404Error.hint = n.getStringValue(); },
30
+ "success": n => { export404Error.success = n.getBooleanValue(); },
31
+ };
32
+ }
33
+ /**
34
+ * The deserialization information for the current model
35
+ * @param Export409Error The instance to deserialize into.
36
+ * @returns {Record<string, (node: ParseNode) => void>}
37
+ */
38
+ // @ts-ignore
39
+ export function deserializeIntoExport409Error(export409Error = {}) {
40
+ return {
41
+ "code": n => { export409Error.code = n.getStringValue(); },
42
+ "error": n => { export409Error.errorEscaped = n.getStringValue(); },
43
+ "hint": n => { export409Error.hint = n.getStringValue(); },
44
+ "success": n => { export409Error.success = n.getBooleanValue(); },
45
+ };
46
+ }
47
+ /**
48
+ * Serializes information the current object
49
+ * @param Export404Error The instance to serialize from.
50
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
51
+ * @param writer Serialization writer to use to serialize this model
52
+ */
53
+ // @ts-ignore
54
+ export function serializeExport404Error(writer, export404Error = {}, isSerializingDerivedType = false) {
55
+ if (!export404Error || isSerializingDerivedType) {
56
+ return;
57
+ }
58
+ writer.writeStringValue("code", export404Error.code);
59
+ writer.writeStringValue("error", export404Error.errorEscaped);
60
+ writer.writeStringValue("hint", export404Error.hint);
61
+ writer.writeBooleanValue("success", export404Error.success);
62
+ writer.writeAdditionalData(export404Error.additionalData);
63
+ }
64
+ /**
65
+ * Serializes information the current object
66
+ * @param Export409Error The instance to serialize from.
67
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
68
+ * @param writer Serialization writer to use to serialize this model
69
+ */
70
+ // @ts-ignore
71
+ export function serializeExport409Error(writer, export409Error = {}, isSerializingDerivedType = false) {
72
+ if (!export409Error || isSerializingDerivedType) {
73
+ return;
74
+ }
75
+ writer.writeStringValue("code", export409Error.code);
76
+ writer.writeStringValue("error", export409Error.errorEscaped);
77
+ writer.writeStringValue("hint", export409Error.hint);
78
+ writer.writeBooleanValue("success", export409Error.success);
79
+ writer.writeAdditionalData(export409Error.additionalData);
80
+ }
81
+ /**
82
+ * Uri template for the request builder.
83
+ */
84
+ export const ExportRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/export";
85
+ /**
86
+ * Metadata for all the requests in the request builder.
87
+ */
88
+ export const ExportRequestBuilderRequestsMetadata = {
89
+ get: {
90
+ uriTemplate: ExportRequestBuilderUriTemplate,
91
+ responseBodyContentType: "application/vnd.formalingo.document+zip, application/json",
92
+ errorMappings: {
93
+ 404: createExport404ErrorFromDiscriminatorValue,
94
+ 409: createExport409ErrorFromDiscriminatorValue,
95
+ },
96
+ adapterMethodName: "sendPrimitive",
97
+ responseBodyFactory: "ArrayBuffer",
98
+ },
99
+ };
100
+ /* tslint:enable */
101
+ /* eslint-enable */
102
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/exportEscaped/index.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,0CAA0C,CAAC,SAAgC;IACvF,OAAO,6BAA6B,CAAC;AACzC,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,0CAA0C,CAAC,SAAgC;IACvF,OAAO,6BA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GAAG,EAAE,0CAAuE;SAC/E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;KACtC;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,6 +1,24 @@
1
1
  import { type CreateFieldBody, type DocumentField } from '../../../../../models/index.js';
2
2
  import { type WithFItemRequestBuilder } from './item/index.js';
3
- import { type AdditionalDataHolder, type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type Guid, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
4
+ /**
5
+ * Creates a new instance of the appropriate class based on discriminator value
6
+ * @param parseNode The parse node to use to read the discriminator value and create the object
7
+ * @returns {Fields400Error}
8
+ */
9
+ export declare function createFields400ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
10
+ /**
11
+ * Creates a new instance of the appropriate class based on discriminator value
12
+ * @param parseNode The parse node to use to read the discriminator value and create the object
13
+ * @returns {Fields403Error}
14
+ */
15
+ export declare function createFields403ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
16
+ /**
17
+ * Creates a new instance of the appropriate class based on discriminator value
18
+ * @param parseNode The parse node to use to read the discriminator value and create the object
19
+ * @returns {Fields409Error}
20
+ */
21
+ export declare function createFields409ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
4
22
  /**
5
23
  * Creates a new instance of the appropriate class based on discriminator value
6
24
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -13,6 +31,24 @@ export declare function createFieldsGetResponseFromDiscriminatorValue(parseNode:
13
31
  * @returns {FieldsPostResponse}
14
32
  */
15
33
  export declare function createFieldsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
34
+ /**
35
+ * The deserialization information for the current model
36
+ * @param Fields400Error The instance to deserialize into.
37
+ * @returns {Record<string, (node: ParseNode) => void>}
38
+ */
39
+ export declare function deserializeIntoFields400Error(fields400Error?: Partial<Fields400Error> | undefined): Record<string, (node: ParseNode) => void>;
40
+ /**
41
+ * The deserialization information for the current model
42
+ * @param Fields403Error The instance to deserialize into.
43
+ * @returns {Record<string, (node: ParseNode) => void>}
44
+ */
45
+ export declare function deserializeIntoFields403Error(fields403Error?: Partial<Fields403Error> | undefined): Record<string, (node: ParseNode) => void>;
46
+ /**
47
+ * The deserialization information for the current model
48
+ * @param Fields409Error The instance to deserialize into.
49
+ * @returns {Record<string, (node: ParseNode) => void>}
50
+ */
51
+ export declare function deserializeIntoFields409Error(fields409Error?: Partial<Fields409Error> | undefined): Record<string, (node: ParseNode) => void>;
16
52
  /**
17
53
  * The deserialization information for the current model
18
54
  * @param FieldsGetResponse The instance to deserialize into.
@@ -25,6 +61,60 @@ export declare function deserializeIntoFieldsGetResponse(fieldsGetResponse?: Par
25
61
  * @returns {Record<string, (node: ParseNode) => void>}
26
62
  */
27
63
  export declare function deserializeIntoFieldsPostResponse(fieldsPostResponse?: Partial<FieldsPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
64
+ export interface Fields400Error extends AdditionalDataHolder, ApiError, Parsable {
65
+ /**
66
+ * Stable machine-readable error code when available.
67
+ */
68
+ code?: string | null;
69
+ /**
70
+ * The error property
71
+ */
72
+ errorEscaped?: string | null;
73
+ /**
74
+ * The hint property
75
+ */
76
+ hint?: string | null;
77
+ /**
78
+ * The success property
79
+ */
80
+ success?: boolean | null;
81
+ }
82
+ export interface Fields403Error extends AdditionalDataHolder, ApiError, Parsable {
83
+ /**
84
+ * Stable machine-readable error code when available.
85
+ */
86
+ code?: string | null;
87
+ /**
88
+ * The error property
89
+ */
90
+ errorEscaped?: string | null;
91
+ /**
92
+ * The hint property
93
+ */
94
+ hint?: string | null;
95
+ /**
96
+ * The success property
97
+ */
98
+ success?: boolean | null;
99
+ }
100
+ export interface Fields409Error extends AdditionalDataHolder, ApiError, Parsable {
101
+ /**
102
+ * Stable machine-readable error code when available.
103
+ */
104
+ code?: string | null;
105
+ /**
106
+ * The error property
107
+ */
108
+ errorEscaped?: string | null;
109
+ /**
110
+ * The hint property
111
+ */
112
+ hint?: string | null;
113
+ /**
114
+ * The success property
115
+ */
116
+ success?: boolean | null;
117
+ }
28
118
  export interface FieldsGetResponse extends AdditionalDataHolder, Parsable {
29
119
  /**
30
120
  * The data property
@@ -56,32 +146,56 @@ export interface FieldsRequestBuilder extends BaseRequestBuilder<FieldsRequestBu
56
146
  */
57
147
  byFid(fid: Guid): WithFItemRequestBuilder;
58
148
  /**
59
- * List fields
149
+ * Lists placed and non-positioned document fields. Page zero means no PDF-page placement. Workspace API keys with documents:read can read supporting request definitions without file-download permission. Session/OAuth access to those definitions requires the document creator. Actual uploaded values and downloads require separate authorization.
60
150
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
151
  * @returns {Promise<FieldsGetResponse>}
62
152
  */
63
153
  get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<FieldsGetResponse | undefined>;
64
154
  /**
65
- * Create a field
66
- * @param body The request body
155
+ * Creates a placed field or supporting attachment request. For a supporting request, use type=file_upload, options.supporting_attachment=true and a valid assigneeRole; geometry may be omitted or all zero, and isRequired defaults to true. API keys need documents:write; session/OAuth users must be the document creator. File-download permission is not needed to author requests. Optional client id UUID supports identical retry replay; field purpose is immutable.
156
+ * @param body Create a placed field or a supporting file_upload request. Supporting requests require options.supporting_attachment=true and an assigned signer; omitted geometry is canonicalized to all zero and Required defaults to true. Ordinary fields require complete page placement. Field purpose is immutable after creation.
67
157
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
68
158
  * @returns {Promise<FieldsPostResponse>}
159
+ * @throws {Fields400Error} error when the service returns a 400 status code
160
+ * @throws {Fields403Error} error when the service returns a 403 status code
161
+ * @throws {Fields409Error} error when the service returns a 409 status code
69
162
  */
70
163
  post(body: CreateFieldBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<FieldsPostResponse | undefined>;
71
164
  /**
72
- * List fields
165
+ * Lists placed and non-positioned document fields. Page zero means no PDF-page placement. Workspace API keys with documents:read can read supporting request definitions without file-download permission. Session/OAuth access to those definitions requires the document creator. Actual uploaded values and downloads require separate authorization.
73
166
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
74
167
  * @returns {RequestInformation}
75
168
  */
76
169
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
77
170
  /**
78
- * Create a field
79
- * @param body The request body
171
+ * Creates a placed field or supporting attachment request. For a supporting request, use type=file_upload, options.supporting_attachment=true and a valid assigneeRole; geometry may be omitted or all zero, and isRequired defaults to true. API keys need documents:write; session/OAuth users must be the document creator. File-download permission is not needed to author requests. Optional client id UUID supports identical retry replay; field purpose is immutable.
172
+ * @param body Create a placed field or a supporting file_upload request. Supporting requests require options.supporting_attachment=true and an assigned signer; omitted geometry is canonicalized to all zero and Required defaults to true. Ordinary fields require complete page placement. Field purpose is immutable after creation.
80
173
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
81
174
  * @returns {RequestInformation}
82
175
  */
83
176
  toPostRequestInformation(body: CreateFieldBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
84
177
  }
178
+ /**
179
+ * Serializes information the current object
180
+ * @param Fields400Error The instance to serialize from.
181
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
182
+ * @param writer Serialization writer to use to serialize this model
183
+ */
184
+ export declare function serializeFields400Error(writer: SerializationWriter, fields400Error?: Partial<Fields400Error> | undefined | null, isSerializingDerivedType?: boolean): void;
185
+ /**
186
+ * Serializes information the current object
187
+ * @param Fields403Error The instance to serialize from.
188
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
189
+ * @param writer Serialization writer to use to serialize this model
190
+ */
191
+ export declare function serializeFields403Error(writer: SerializationWriter, fields403Error?: Partial<Fields403Error> | undefined | null, isSerializingDerivedType?: boolean): void;
192
+ /**
193
+ * Serializes information the current object
194
+ * @param Fields409Error The instance to serialize from.
195
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
196
+ * @param writer Serialization writer to use to serialize this model
197
+ */
198
+ export declare function serializeFields409Error(writer: SerializationWriter, fields409Error?: Partial<Fields409Error> | undefined | null, isSerializingDerivedType?: boolean): void;
85
199
  /**
86
200
  * Serializes information the current object
87
201
  * @param FieldsGetResponse The instance to serialize from.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/fields/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+F,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEvL,OAAO,EAAE,KAAK,uBAAuB,EAA2C,MAAM,iBAAiB,CAAC;AAExG,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAE1U;;;;GAIG;AAEH,wBAAgB,6CAA6C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAErK;AACD;;;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;;GAKG;AAEH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,mBAAmB,EAAE,kBAAkB,GAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAKlM;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,4CAA4C,CAAC;AACzF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKtJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAqBlD,CAAC"}
@@ -5,6 +5,33 @@
5
5
  import { createDocumentFieldFromDiscriminatorValue, serializeCreateFieldBody, serializeDocumentField } from '../../../../../models/index.js';
6
6
  // @ts-ignore
7
7
  import { WithFItemRequestBuilderRequestsMetadata } from './item/index.js';
8
+ /**
9
+ * Creates a new instance of the appropriate class based on discriminator value
10
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11
+ * @returns {Fields400Error}
12
+ */
13
+ // @ts-ignore
14
+ export function createFields400ErrorFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoFields400Error;
16
+ }
17
+ /**
18
+ * Creates a new instance of the appropriate class based on discriminator value
19
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20
+ * @returns {Fields403Error}
21
+ */
22
+ // @ts-ignore
23
+ export function createFields403ErrorFromDiscriminatorValue(parseNode) {
24
+ return deserializeIntoFields403Error;
25
+ }
26
+ /**
27
+ * Creates a new instance of the appropriate class based on discriminator value
28
+ * @param parseNode The parse node to use to read the discriminator value and create the object
29
+ * @returns {Fields409Error}
30
+ */
31
+ // @ts-ignore
32
+ export function createFields409ErrorFromDiscriminatorValue(parseNode) {
33
+ return deserializeIntoFields409Error;
34
+ }
8
35
  /**
9
36
  * Creates a new instance of the appropriate class based on discriminator value
10
37
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -23,6 +50,48 @@ export function createFieldsGetResponseFromDiscriminatorValue(parseNode) {
23
50
  export function createFieldsPostResponseFromDiscriminatorValue(parseNode) {
24
51
  return deserializeIntoFieldsPostResponse;
25
52
  }
53
+ /**
54
+ * The deserialization information for the current model
55
+ * @param Fields400Error The instance to deserialize into.
56
+ * @returns {Record<string, (node: ParseNode) => void>}
57
+ */
58
+ // @ts-ignore
59
+ export function deserializeIntoFields400Error(fields400Error = {}) {
60
+ return {
61
+ "code": n => { fields400Error.code = n.getStringValue(); },
62
+ "error": n => { fields400Error.errorEscaped = n.getStringValue(); },
63
+ "hint": n => { fields400Error.hint = n.getStringValue(); },
64
+ "success": n => { fields400Error.success = n.getBooleanValue(); },
65
+ };
66
+ }
67
+ /**
68
+ * The deserialization information for the current model
69
+ * @param Fields403Error The instance to deserialize into.
70
+ * @returns {Record<string, (node: ParseNode) => void>}
71
+ */
72
+ // @ts-ignore
73
+ export function deserializeIntoFields403Error(fields403Error = {}) {
74
+ return {
75
+ "code": n => { fields403Error.code = n.getStringValue(); },
76
+ "error": n => { fields403Error.errorEscaped = n.getStringValue(); },
77
+ "hint": n => { fields403Error.hint = n.getStringValue(); },
78
+ "success": n => { fields403Error.success = n.getBooleanValue(); },
79
+ };
80
+ }
81
+ /**
82
+ * The deserialization information for the current model
83
+ * @param Fields409Error The instance to deserialize into.
84
+ * @returns {Record<string, (node: ParseNode) => void>}
85
+ */
86
+ // @ts-ignore
87
+ export function deserializeIntoFields409Error(fields409Error = {}) {
88
+ return {
89
+ "code": n => { fields409Error.code = n.getStringValue(); },
90
+ "error": n => { fields409Error.errorEscaped = n.getStringValue(); },
91
+ "hint": n => { fields409Error.hint = n.getStringValue(); },
92
+ "success": n => { fields409Error.success = n.getBooleanValue(); },
93
+ };
94
+ }
26
95
  /**
27
96
  * The deserialization information for the current model
28
97
  * @param FieldsGetResponse The instance to deserialize into.
@@ -47,6 +116,57 @@ export function deserializeIntoFieldsPostResponse(fieldsPostResponse = {}) {
47
116
  "success": n => { fieldsPostResponse.success = n.getBooleanValue(); },
48
117
  };
49
118
  }
119
+ /**
120
+ * Serializes information the current object
121
+ * @param Fields400Error The instance to serialize from.
122
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
123
+ * @param writer Serialization writer to use to serialize this model
124
+ */
125
+ // @ts-ignore
126
+ export function serializeFields400Error(writer, fields400Error = {}, isSerializingDerivedType = false) {
127
+ if (!fields400Error || isSerializingDerivedType) {
128
+ return;
129
+ }
130
+ writer.writeStringValue("code", fields400Error.code);
131
+ writer.writeStringValue("error", fields400Error.errorEscaped);
132
+ writer.writeStringValue("hint", fields400Error.hint);
133
+ writer.writeBooleanValue("success", fields400Error.success);
134
+ writer.writeAdditionalData(fields400Error.additionalData);
135
+ }
136
+ /**
137
+ * Serializes information the current object
138
+ * @param Fields403Error The instance to serialize from.
139
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
140
+ * @param writer Serialization writer to use to serialize this model
141
+ */
142
+ // @ts-ignore
143
+ export function serializeFields403Error(writer, fields403Error = {}, isSerializingDerivedType = false) {
144
+ if (!fields403Error || isSerializingDerivedType) {
145
+ return;
146
+ }
147
+ writer.writeStringValue("code", fields403Error.code);
148
+ writer.writeStringValue("error", fields403Error.errorEscaped);
149
+ writer.writeStringValue("hint", fields403Error.hint);
150
+ writer.writeBooleanValue("success", fields403Error.success);
151
+ writer.writeAdditionalData(fields403Error.additionalData);
152
+ }
153
+ /**
154
+ * Serializes information the current object
155
+ * @param Fields409Error The instance to serialize from.
156
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
157
+ * @param writer Serialization writer to use to serialize this model
158
+ */
159
+ // @ts-ignore
160
+ export function serializeFields409Error(writer, fields409Error = {}, isSerializingDerivedType = false) {
161
+ if (!fields409Error || isSerializingDerivedType) {
162
+ return;
163
+ }
164
+ writer.writeStringValue("code", fields409Error.code);
165
+ writer.writeStringValue("error", fields409Error.errorEscaped);
166
+ writer.writeStringValue("hint", fields409Error.hint);
167
+ writer.writeBooleanValue("success", fields409Error.success);
168
+ writer.writeAdditionalData(fields409Error.additionalData);
169
+ }
50
170
  /**
51
171
  * Serializes information the current object
52
172
  * @param FieldsGetResponse The instance to serialize from.
@@ -103,6 +223,11 @@ export const FieldsRequestBuilderRequestsMetadata = {
103
223
  post: {
104
224
  uriTemplate: FieldsRequestBuilderUriTemplate,
105
225
  responseBodyContentType: "application/json",
226
+ errorMappings: {
227
+ 400: createFields400ErrorFromDiscriminatorValue,
228
+ 403: createFields403ErrorFromDiscriminatorValue,
229
+ 409: createFields409ErrorFromDiscriminatorValue,
230
+ },
106
231
  adapterMethodName: "send",
107
232
  responseBodyFactory: createFieldsPostResponseFromDiscriminatorValue,
108
233
  requestBodyContentType: "application/json",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/fields/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,wBAAwB,EAAE,sBAAsB,EAA4C,MAAM,gCAAgC,CAAC;AACvL,aAAa;AACb,OAAO,EAAgC,uCAAuC,EAAE,MAAM,iBAAiB,CAAC;AAIxG;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,6CAA6C,CAAC,SAAgC;IAC1F,OAAO,gCAAgC,CAAC;AAC5C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,8CAA8C,CAAC,SAAgC;IAC3F,OAAO,iCAAiC,CAAC;AAC7C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gCAAgC,CAAC,oBAA4D,EAAE;IAC3G,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,iBAAiB,CAAC,IAAI,GAAG,CAAC,CAAC,2BAA2B,CAAgB,yCAAyC,CAAC,CAAC,CAAC,CAAC;QAClI,SAAS,EAAE,CAAC,CAAC,EAAE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ChE,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;AAClE,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG,yCAAyC,CAAC;AACzF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAwG;IACvJ,KAAK,EAAE;QACH,gBAAgB,EAAE,uCAAuC;QACzD,sBAAsB,EAAE,CAAC,KAAK,CAAC;KAClC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAqB;IAClE,GAAG,EAAE;QACD,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;KACtE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,+BAA+B;QAC5C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,8CAA8C;QACpE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,wBAAwB;QAC/C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/fields/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,wBAAwB,EAAE,sBAAsB,EAA4C,MAAM,gCAAgC,CAAC;AACvL,aAAa;AACb,OAAO,EAAgC,uCAAuC,EAAE,MAAM,iBAAiB,CAAC;AAIxG;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,0CAA0C,CAAC,SAAgC;IACvF,OAAO,6BAA6B,CAAC;AACzC,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,0CAA0C,CAAC,SAAgC;IACvF,OAAO,6BAA6B,CAAC;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