@formalingo/sdk 0.1.2 → 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 (167) 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/formalingoClient.js +1 -1
  159. package/dist/client/models/index.d.ts +1963 -139
  160. package/dist/client/models/index.d.ts.map +1 -1
  161. package/dist/client/models/index.js +2001 -211
  162. package/dist/client/models/index.js.map +1 -1
  163. package/dist/index.d.ts +15 -0
  164. package/dist/index.d.ts.map +1 -1
  165. package/dist/index.js +89 -1
  166. package/dist/index.js.map +1 -1
  167. package/package.json +1 -1
@@ -0,0 +1,110 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createDocumentRevisionFromDiscriminatorValue, serializeDocumentRevision } from '../../../../../models/index.js';
6
+ // @ts-ignore
7
+ import { WithVersionItemRequestBuilderRequestsMetadata } 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 {RevisionsGetResponse_meta}
12
+ */
13
+ // @ts-ignore
14
+ export function createRevisionsGetResponse_metaFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoRevisionsGetResponse_meta;
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 {RevisionsGetResponse}
21
+ */
22
+ // @ts-ignore
23
+ export function createRevisionsGetResponseFromDiscriminatorValue(parseNode) {
24
+ return deserializeIntoRevisionsGetResponse;
25
+ }
26
+ /**
27
+ * The deserialization information for the current model
28
+ * @param RevisionsGetResponse The instance to deserialize into.
29
+ * @returns {Record<string, (node: ParseNode) => void>}
30
+ */
31
+ // @ts-ignore
32
+ export function deserializeIntoRevisionsGetResponse(revisionsGetResponse = {}) {
33
+ return {
34
+ "data": n => { revisionsGetResponse.data = n.getCollectionOfObjectValues(createDocumentRevisionFromDiscriminatorValue); },
35
+ "meta": n => { revisionsGetResponse.meta = n.getObjectValue(createRevisionsGetResponse_metaFromDiscriminatorValue); },
36
+ "success": n => { revisionsGetResponse.success = n.getBooleanValue(); },
37
+ };
38
+ }
39
+ /**
40
+ * The deserialization information for the current model
41
+ * @param RevisionsGetResponse_meta The instance to deserialize into.
42
+ * @returns {Record<string, (node: ParseNode) => void>}
43
+ */
44
+ // @ts-ignore
45
+ export function deserializeIntoRevisionsGetResponse_meta(revisionsGetResponse_meta = {}) {
46
+ return {
47
+ "limit": n => { revisionsGetResponse_meta.limit = n.getNumberValue(); },
48
+ "page": n => { revisionsGetResponse_meta.page = n.getNumberValue(); },
49
+ "total": n => { revisionsGetResponse_meta.total = n.getNumberValue(); },
50
+ };
51
+ }
52
+ /**
53
+ * Serializes information the current object
54
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
55
+ * @param RevisionsGetResponse The instance to serialize from.
56
+ * @param writer Serialization writer to use to serialize this model
57
+ */
58
+ // @ts-ignore
59
+ export function serializeRevisionsGetResponse(writer, revisionsGetResponse = {}, isSerializingDerivedType = false) {
60
+ if (!revisionsGetResponse || isSerializingDerivedType) {
61
+ return;
62
+ }
63
+ writer.writeCollectionOfObjectValues("data", revisionsGetResponse.data, serializeDocumentRevision);
64
+ writer.writeObjectValue("meta", revisionsGetResponse.meta, serializeRevisionsGetResponse_meta);
65
+ writer.writeBooleanValue("success", revisionsGetResponse.success);
66
+ writer.writeAdditionalData(revisionsGetResponse.additionalData);
67
+ }
68
+ /**
69
+ * Serializes information the current object
70
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
71
+ * @param RevisionsGetResponse_meta The instance to serialize from.
72
+ * @param writer Serialization writer to use to serialize this model
73
+ */
74
+ // @ts-ignore
75
+ export function serializeRevisionsGetResponse_meta(writer, revisionsGetResponse_meta = {}, isSerializingDerivedType = false) {
76
+ if (!revisionsGetResponse_meta || isSerializingDerivedType) {
77
+ return;
78
+ }
79
+ writer.writeNumberValue("limit", revisionsGetResponse_meta.limit);
80
+ writer.writeNumberValue("page", revisionsGetResponse_meta.page);
81
+ writer.writeNumberValue("total", revisionsGetResponse_meta.total);
82
+ writer.writeAdditionalData(revisionsGetResponse_meta.additionalData);
83
+ }
84
+ /**
85
+ * Uri template for the request builder.
86
+ */
87
+ export const RevisionsRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/revisions{?limit*,page*}";
88
+ /**
89
+ * Metadata for all the navigation properties in the request builder.
90
+ */
91
+ export const RevisionsRequestBuilderNavigationMetadata = {
92
+ byVersion: {
93
+ requestsMetadata: WithVersionItemRequestBuilderRequestsMetadata,
94
+ pathParametersMappings: ["version"],
95
+ },
96
+ };
97
+ /**
98
+ * Metadata for all the requests in the request builder.
99
+ */
100
+ export const RevisionsRequestBuilderRequestsMetadata = {
101
+ get: {
102
+ uriTemplate: RevisionsRequestBuilderUriTemplate,
103
+ responseBodyContentType: "application/json",
104
+ adapterMethodName: "send",
105
+ responseBodyFactory: createRevisionsGetResponseFromDiscriminatorValue,
106
+ },
107
+ };
108
+ /* tslint:enable */
109
+ /* eslint-enable */
110
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/revisions/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,yBAAyB,EAAyB,MAAM,gCAAgC,CAAC;AAChJ,aAAa;AACb,OAAO,EAAsC,6CAA6C,EAAE,MAAM,iBAAiB,CAAC;AAIpH;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,qDAAqD,CAAC,SAAgC;IAClG,OAAO,wCAAwC,CAAC;AACpD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,gDAAgD,CAAC,SAAgC;IAC7F,OAAO,mCAAmC,CAAC;AAC/C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mCAAmC,CAAC,uBAAkE,EAAE;IACpH,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,IAAI,GAAG,CAAC,CAAC,2BAA2B,CAAmB,4CAA4C,CAAC,CAAC,CAAC,CAAC;QAC3I,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,IAAI,GAAG,CAAC,CAAC,cAAc,CAA4B,qDAAqD,CAAC,CAAC,CAAC,CAAC;QAChJ,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,oBAAoB,CAAC,OAAO,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;KAC1E,CAAA;AACL,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,wCAAwC,CAAC,4BAA4E,EAAE;IACnI,OAAO;QACH,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,KAAK,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QACvE,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAy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,MAAM,CAAC,MAAM,kCAAkC,GAAG,2DAA2D,CAAC;AAC9G;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,SAAS,EAAE;QACP,gBAAgB,EAAE,6CAA6C;QAC/D,sBAAsB,EAAE,CAAC,SAAS,CAAC;KACtC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,gDAAgD;KACzE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -0,0 +1,95 @@
1
+ import { type DocumentRevision } from '../../../../../../models/index.js';
2
+ import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns {WithVersion404Error}
7
+ */
8
+ export declare function createWithVersion404ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns {WithVersionGetResponse}
13
+ */
14
+ export declare function createWithVersionGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
15
+ /**
16
+ * The deserialization information for the current model
17
+ * @param WithVersion404Error The instance to deserialize into.
18
+ * @returns {Record<string, (node: ParseNode) => void>}
19
+ */
20
+ export declare function deserializeIntoWithVersion404Error(withVersion404Error?: Partial<WithVersion404Error> | undefined): Record<string, (node: ParseNode) => void>;
21
+ /**
22
+ * The deserialization information for the current model
23
+ * @param WithVersionGetResponse The instance to deserialize into.
24
+ * @returns {Record<string, (node: ParseNode) => void>}
25
+ */
26
+ export declare function deserializeIntoWithVersionGetResponse(withVersionGetResponse?: Partial<WithVersionGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
27
+ /**
28
+ * Serializes information the current object
29
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
30
+ * @param WithVersion404Error The instance to serialize from.
31
+ * @param writer Serialization writer to use to serialize this model
32
+ */
33
+ export declare function serializeWithVersion404Error(writer: SerializationWriter, withVersion404Error?: Partial<WithVersion404Error> | undefined | null, isSerializingDerivedType?: boolean): void;
34
+ /**
35
+ * Serializes information the current object
36
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
37
+ * @param WithVersionGetResponse The instance to serialize from.
38
+ * @param writer Serialization writer to use to serialize this model
39
+ */
40
+ export declare function serializeWithVersionGetResponse(writer: SerializationWriter, withVersionGetResponse?: Partial<WithVersionGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
41
+ export interface WithVersion404Error extends AdditionalDataHolder, ApiError, Parsable {
42
+ /**
43
+ * Stable machine-readable error code when available.
44
+ */
45
+ code?: string | null;
46
+ /**
47
+ * The error property
48
+ */
49
+ errorEscaped?: string | null;
50
+ /**
51
+ * The hint property
52
+ */
53
+ hint?: string | null;
54
+ /**
55
+ * The success property
56
+ */
57
+ success?: boolean | null;
58
+ }
59
+ export interface WithVersionGetResponse extends AdditionalDataHolder, Parsable {
60
+ /**
61
+ * The data property
62
+ */
63
+ data?: DocumentRevision | null;
64
+ /**
65
+ * The success property
66
+ */
67
+ success?: boolean | null;
68
+ }
69
+ /**
70
+ * Builds and executes requests for operations under /api/v1/documents/{id}/revisions/{version}
71
+ */
72
+ export interface WithVersionItemRequestBuilder extends BaseRequestBuilder<WithVersionItemRequestBuilder> {
73
+ /**
74
+ * Get a document revision snapshot
75
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
76
+ * @returns {Promise<WithVersionGetResponse>}
77
+ * @throws {WithVersion404Error} error when the service returns a 404 status code
78
+ */
79
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithVersionGetResponse | undefined>;
80
+ /**
81
+ * Get a document revision snapshot
82
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
83
+ * @returns {RequestInformation}
84
+ */
85
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
86
+ }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const WithVersionItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/revisions/{version}";
91
+ /**
92
+ * Metadata for all the requests in the request builder.
93
+ */
94
+ export declare const WithVersionItemRequestBuilderRequestsMetadata: RequestsMetadata;
95
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/revisions/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2E,KAAK,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAEnJ,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,QAAQ,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;AAE5Q;;;;GAIG;AAEH,wBAAgB,+CAA+C,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,CAEvK;AACD;;;;GAIG;AAEH,wBAAgB,kDAAkD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KA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IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC5B;AACD;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACpH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,yDAAyD,CAAC;AAC/G;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAU3D,CAAC"}
@@ -0,0 +1,102 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated by Microsoft Kiota
4
+ // @ts-ignore
5
+ import { createDocumentRevisionFromDiscriminatorValue, serializeDocumentRevision } from '../../../../../../models/index.js';
6
+ /**
7
+ * Creates a new instance of the appropriate class based on discriminator value
8
+ * @param parseNode The parse node to use to read the discriminator value and create the object
9
+ * @returns {WithVersion404Error}
10
+ */
11
+ // @ts-ignore
12
+ export function createWithVersion404ErrorFromDiscriminatorValue(parseNode) {
13
+ return deserializeIntoWithVersion404Error;
14
+ }
15
+ /**
16
+ * Creates a new instance of the appropriate class based on discriminator value
17
+ * @param parseNode The parse node to use to read the discriminator value and create the object
18
+ * @returns {WithVersionGetResponse}
19
+ */
20
+ // @ts-ignore
21
+ export function createWithVersionGetResponseFromDiscriminatorValue(parseNode) {
22
+ return deserializeIntoWithVersionGetResponse;
23
+ }
24
+ /**
25
+ * The deserialization information for the current model
26
+ * @param WithVersion404Error The instance to deserialize into.
27
+ * @returns {Record<string, (node: ParseNode) => void>}
28
+ */
29
+ // @ts-ignore
30
+ export function deserializeIntoWithVersion404Error(withVersion404Error = {}) {
31
+ return {
32
+ "code": n => { withVersion404Error.code = n.getStringValue(); },
33
+ "error": n => { withVersion404Error.errorEscaped = n.getStringValue(); },
34
+ "hint": n => { withVersion404Error.hint = n.getStringValue(); },
35
+ "success": n => { withVersion404Error.success = n.getBooleanValue(); },
36
+ };
37
+ }
38
+ /**
39
+ * The deserialization information for the current model
40
+ * @param WithVersionGetResponse The instance to deserialize into.
41
+ * @returns {Record<string, (node: ParseNode) => void>}
42
+ */
43
+ // @ts-ignore
44
+ export function deserializeIntoWithVersionGetResponse(withVersionGetResponse = {}) {
45
+ return {
46
+ "data": n => { withVersionGetResponse.data = n.getObjectValue(createDocumentRevisionFromDiscriminatorValue); },
47
+ "success": n => { withVersionGetResponse.success = n.getBooleanValue(); },
48
+ };
49
+ }
50
+ /**
51
+ * Serializes information the current object
52
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
53
+ * @param WithVersion404Error The instance to serialize from.
54
+ * @param writer Serialization writer to use to serialize this model
55
+ */
56
+ // @ts-ignore
57
+ export function serializeWithVersion404Error(writer, withVersion404Error = {}, isSerializingDerivedType = false) {
58
+ if (!withVersion404Error || isSerializingDerivedType) {
59
+ return;
60
+ }
61
+ writer.writeStringValue("code", withVersion404Error.code);
62
+ writer.writeStringValue("error", withVersion404Error.errorEscaped);
63
+ writer.writeStringValue("hint", withVersion404Error.hint);
64
+ writer.writeBooleanValue("success", withVersion404Error.success);
65
+ writer.writeAdditionalData(withVersion404Error.additionalData);
66
+ }
67
+ /**
68
+ * Serializes information the current object
69
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
70
+ * @param WithVersionGetResponse The instance to serialize from.
71
+ * @param writer Serialization writer to use to serialize this model
72
+ */
73
+ // @ts-ignore
74
+ export function serializeWithVersionGetResponse(writer, withVersionGetResponse = {}, isSerializingDerivedType = false) {
75
+ if (!withVersionGetResponse || isSerializingDerivedType) {
76
+ return;
77
+ }
78
+ writer.writeObjectValue("data", withVersionGetResponse.data, serializeDocumentRevision);
79
+ writer.writeBooleanValue("success", withVersionGetResponse.success);
80
+ writer.writeAdditionalData(withVersionGetResponse.additionalData);
81
+ }
82
+ /**
83
+ * Uri template for the request builder.
84
+ */
85
+ export const WithVersionItemRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/revisions/{version}";
86
+ /**
87
+ * Metadata for all the requests in the request builder.
88
+ */
89
+ export const WithVersionItemRequestBuilderRequestsMetadata = {
90
+ get: {
91
+ uriTemplate: WithVersionItemRequestBuilderUriTemplate,
92
+ responseBodyContentType: "application/json",
93
+ errorMappings: {
94
+ 404: createWithVersion404ErrorFromDiscriminatorValue,
95
+ },
96
+ adapterMethodName: "send",
97
+ responseBodyFactory: createWithVersionGetResponseFromDiscriminatorValue,
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/revisions/item/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,yBAAyB,EAAyB,MAAM,mCAAmC,CAAC;AAInJ;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,+CAA+C,CAAC,SAAgC;IAC5F,OAAO,kCAAkC,CAAC;AAC9C,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kCAAkC,CAAC,sBAAgE,EAAE;IACjH,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,mBAAmB,CAAC,IAAI,GAAG,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;QAC/D,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,mBAAmB,C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KG;AACH,aAAa;AACb,MAAM,UAAU,+BAA+B,CAAC,MAA2B,EAAE,yBAA6E,EAAE,EAAE,2BAAoC,KAAK;IACnM,IAAI,CAAC,sBAAsB,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IACpE,MAAM,CAAC,gBAAgB,CAAmB,MAAM,EAAE,sBAAsB,CAAC,IAAI,EAAE,yBAAyB,CAAC,CAAC;IAC1G,MAAM,CAAC,iBAAiB,CAAC,SAAS,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACpE,MAAM,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,cAAc,CAAC,CAAC;AACtE,CAAC;AA+CD;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,sDAAsD,CAAC;AAC/G;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,GAAG,EAAE;QACD,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,+CAA4E;SACpF;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;KAC3E;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -80,6 +80,7 @@ export interface SignerRolesRequestBuilder extends BaseRequestBuilder<SignerRole
80
80
  * @param body The request body
81
81
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
82
82
  * @returns {Promise<SignerRolesPostResponse>}
83
+ * @throws {DocumentNotEditableConflict} error when the service returns a 409 status code
83
84
  */
84
85
  post(body: CreateSignerRoleBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SignerRolesPostResponse | undefined>;
85
86
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/signerRoles/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8F,KAAK,oBAAoB,EAAE,KAAK,UAAU,EAAE,MA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AuB,CAAC;IAC5C;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACpH;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,eAAO,MAAM,oCAAoC,kDAAkD,CAAC;AACpG;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,yBAAyB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKhK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,gBAmBvD,CAAC"}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  // Generated by Microsoft Kiota
4
4
  // @ts-ignore
5
- import { createSignerRoleFromDiscriminatorValue, serializeCreateSignerRoleBody, serializeSignerRole } from '../../../../../models/index.js';
5
+ import { createDocumentNotEditableConflictFromDiscriminatorValue, createSignerRoleFromDiscriminatorValue, serializeCreateSignerRoleBody, serializeSignerRole } from '../../../../../models/index.js';
6
6
  // @ts-ignore
7
7
  import { WithRItemRequestBuilderRequestsMetadata } from './item/index.js';
8
8
  /**
@@ -103,6 +103,9 @@ export const SignerRolesRequestBuilderRequestsMetadata = {
103
103
  post: {
104
104
  uriTemplate: SignerRolesRequestBuilderUriTemplate,
105
105
  responseBodyContentType: "application/json",
106
+ errorMappings: {
107
+ 409: createDocumentNotEditableConflictFromDiscriminatorValue,
108
+ },
106
109
  adapterMethodName: "send",
107
110
  responseBodyFactory: createSignerRolesPostResponseFromDiscriminatorValue,
108
111
  requestBodyContentType: "application/json",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/client/api/v1/documents/item/signerRoles/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAE,6BAA6B,EAAE,mBAAmB,EAA8C,MAAM,gCAAgC,CAAC;AACxL,aAAa;AACb,OAAO,EAAgC,uCAAuC,EAAE,MAAM,iBAAiB,CAAC;AAIxG;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mDAAmD,CAAC,SAAgC;IAChG,OAAO,sCAAsC,CAAC;AAClD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,qCAAqC,CAAC,yBAAsE,EAAE;IAC1H,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,IAAI,GAAG,CAAC,CAAC,2BAA2B,CAAa,sCAAsC,CAAC,CAAC,CAAC,CAAC;QACjI,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,OAAO,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;KAC5E,CAAA;AACL,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,sCAAsC,CAAC,0BAAwE,EAAE;IAC7H,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,IAAI,GAAG,CAAC,CAA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AAK,CAAC;KAClC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;KAC3E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;QACzE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,6BAA6B;QACpD,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/signerRoles/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,uDAAuD,EAAE,sCAAsC,EAAE,6BAA6B,EAAE,mBAAmB,EAAgF,MAAM,gCAAgC,CAAC;AACnR,aAAa;AACb,OAAO,EAAgC,uCAAuC,EAAE,MAAM,iBAAiB,CAAC;AAIxG;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAkD,CAAC,SAAgC;IAC/F,OAAO,qCAAqC,CAAC;AACjD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,mDAAmD,CAAC,SAAgC;IAChG,OAAO,sCAAsC,CAAC;AAClD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,qCAAqC,CAAC,yBAAsE,EAAE;IAC1H,OAAO;QACH,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,sBAAsB,CAAC,IAAI,GAAG,CAAC,CAAC,2BAA2B,CAAa,sCAAsC,CAAC,CAAC,CAAC,CAAC;QACjI,SAAS,EAAE,CAAC,C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C;IACrE,MAAM,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC;AACvE,CAAC;AA2DD;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,+CAA+C,CAAC;AACpG;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAA6G;IACjK,KAAK,EAAE;QACH,gBAAgB,EAAE,uCAAuC;QACzD,sBAAsB,EAAE,CAAC,KAAK,CAAC;KAClC;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAqB;IACvE,GAAG,EAAE;QACD,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,kDAAkD;KAC3E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,uDAAoF;SAC5F;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mDAAmD;QACzE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,6BAA6B;QACpD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
@@ -1,16 +1,60 @@
1
- import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
1
+ import { type SignerRole } from '../../../../../../models/index.js';
2
+ import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns {WithR409Error}
7
+ */
8
+ export declare function createWithR409ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2
9
  /**
3
10
  * Creates a new instance of the appropriate class based on discriminator value
4
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
5
12
  * @returns {WithRDeleteResponse}
6
13
  */
7
14
  export declare function createWithRDeleteResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
15
+ /**
16
+ * Creates a new instance of the appropriate class based on discriminator value
17
+ * @param parseNode The parse node to use to read the discriminator value and create the object
18
+ * @returns {WithRPutRequestBody}
19
+ */
20
+ export declare function createWithRPutRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
21
+ /**
22
+ * Creates a new instance of the appropriate class based on discriminator value
23
+ * @param parseNode The parse node to use to read the discriminator value and create the object
24
+ * @returns {WithRPutResponse}
25
+ */
26
+ export declare function createWithRPutResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
27
+ /**
28
+ * The deserialization information for the current model
29
+ * @param WithR409Error The instance to deserialize into.
30
+ * @returns {Record<string, (node: ParseNode) => void>}
31
+ */
32
+ export declare function deserializeIntoWithR409Error(withR409Error?: Partial<WithR409Error> | undefined): Record<string, (node: ParseNode) => void>;
8
33
  /**
9
34
  * The deserialization information for the current model
10
35
  * @param WithRDeleteResponse The instance to deserialize into.
11
36
  * @returns {Record<string, (node: ParseNode) => void>}
12
37
  */
13
38
  export declare function deserializeIntoWithRDeleteResponse(withRDeleteResponse?: Partial<WithRDeleteResponse> | undefined): Record<string, (node: ParseNode) => void>;
39
+ /**
40
+ * The deserialization information for the current model
41
+ * @param WithRPutRequestBody The instance to deserialize into.
42
+ * @returns {Record<string, (node: ParseNode) => void>}
43
+ */
44
+ export declare function deserializeIntoWithRPutRequestBody(withRPutRequestBody?: Partial<WithRPutRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
45
+ /**
46
+ * The deserialization information for the current model
47
+ * @param WithRPutResponse The instance to deserialize into.
48
+ * @returns {Record<string, (node: ParseNode) => void>}
49
+ */
50
+ export declare function deserializeIntoWithRPutResponse(withRPutResponse?: Partial<WithRPutResponse> | undefined): Record<string, (node: ParseNode) => void>;
51
+ /**
52
+ * Serializes information the current object
53
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
54
+ * @param WithR409Error The instance to serialize from.
55
+ * @param writer Serialization writer to use to serialize this model
56
+ */
57
+ export declare function serializeWithR409Error(writer: SerializationWriter, withR409Error?: Partial<WithR409Error> | undefined | null, isSerializingDerivedType?: boolean): void;
14
58
  /**
15
59
  * Serializes information the current object
16
60
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -18,6 +62,38 @@ export declare function deserializeIntoWithRDeleteResponse(withRDeleteResponse?:
18
62
  * @param writer Serialization writer to use to serialize this model
19
63
  */
20
64
  export declare function serializeWithRDeleteResponse(writer: SerializationWriter, withRDeleteResponse?: Partial<WithRDeleteResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
65
+ /**
66
+ * Serializes information the current object
67
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
68
+ * @param WithRPutRequestBody The instance to serialize from.
69
+ * @param writer Serialization writer to use to serialize this model
70
+ */
71
+ export declare function serializeWithRPutRequestBody(writer: SerializationWriter, withRPutRequestBody?: Partial<WithRPutRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
72
+ /**
73
+ * Serializes information the current object
74
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
75
+ * @param WithRPutResponse The instance to serialize from.
76
+ * @param writer Serialization writer to use to serialize this model
77
+ */
78
+ export declare function serializeWithRPutResponse(writer: SerializationWriter, withRPutResponse?: Partial<WithRPutResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
79
+ export interface WithR409Error extends AdditionalDataHolder, ApiError, Parsable {
80
+ /**
81
+ * Stable machine-readable error code when available.
82
+ */
83
+ code?: string | null;
84
+ /**
85
+ * The error property
86
+ */
87
+ errorEscaped?: string | null;
88
+ /**
89
+ * The hint property
90
+ */
91
+ hint?: string | null;
92
+ /**
93
+ * The success property
94
+ */
95
+ success?: boolean | null;
96
+ }
21
97
  export interface WithRDeleteResponse extends AdditionalDataHolder, Parsable {
22
98
  /**
23
99
  * The data property
@@ -36,14 +112,58 @@ export interface WithRItemRequestBuilder extends BaseRequestBuilder<WithRItemReq
36
112
  * Delete a signer role
37
113
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
114
  * @returns {Promise<WithRDeleteResponse>}
115
+ * @throws {WithR409Error} error when the service returns a 409 status code
39
116
  */
40
117
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithRDeleteResponse | undefined>;
118
+ /**
119
+ * Update a signer role
120
+ * @param body The request body
121
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
122
+ * @returns {Promise<WithRPutResponse>}
123
+ * @throws {WithR409Error} error when the service returns a 409 status code
124
+ */
125
+ put(body: WithRPutRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WithRPutResponse | undefined>;
41
126
  /**
42
127
  * Delete a signer role
43
128
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
129
  * @returns {RequestInformation}
45
130
  */
46
131
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
132
+ /**
133
+ * Update a signer role
134
+ * @param body The request body
135
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
136
+ * @returns {RequestInformation}
137
+ */
138
+ toPutRequestInformation(body: WithRPutRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
139
+ }
140
+ export interface WithRPutRequestBody extends AdditionalDataHolder, Parsable {
141
+ /**
142
+ * The color property
143
+ */
144
+ color?: string | null;
145
+ /**
146
+ * The label property
147
+ */
148
+ label?: string | null;
149
+ /**
150
+ * The order property
151
+ */
152
+ order?: number | null;
153
+ /**
154
+ * The role property
155
+ */
156
+ role?: string | null;
157
+ }
158
+ export interface WithRPutResponse extends AdditionalDataHolder, Parsable {
159
+ /**
160
+ * The data property
161
+ */
162
+ data?: SignerRole | null;
163
+ /**
164
+ * The success property
165
+ */
166
+ success?: boolean | null;
47
167
  }
48
168
  /**
49
169
  * Uri template for the request builder.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/client/api/v1/documents/item/signerRoles/item/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2C,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,KAAK,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAExT;;;;GAIG;AAEH,wBAAgB,+CAA+C,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,CAEvK;AACD;;;;GAIG;AAEH,wBAAgB,kCAAkC,CAAC,mBAAmB,GAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKjK;AACD;;;;;GAKG;AAEH,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,mBAAmB,EAAE,mBAAmB,GAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAKrM;AACD,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB,EAAE,QAAQ;IACvE;;OAEG;IACH,IAAI,CAAC,E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