@truvity/sdk 0.28.1 → 0.28.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -79
- package/api/resources/apiKeys/client/Client.d.ts +7 -7
- package/api/resources/apiKeys/client/Client.js +15 -15
- package/api/resources/apiKeys/client/Client.js.map +1 -1
- package/api/resources/credentials/client/Client.d.ts +3 -3
- package/api/resources/credentials/client/Client.js +13 -13
- package/api/resources/credentials/client/Client.js.map +1 -1
- package/api/resources/desk/client/Client.js +2 -2
- package/api/resources/desk/client/Client.js.map +1 -1
- package/api/resources/didcommMessages/client/Client.d.ts +7 -7
- package/api/resources/didcommMessages/client/Client.js +14 -14
- package/api/resources/didcommMessages/client/Client.js.map +1 -1
- package/api/resources/dids/client/Client.js +1 -1
- package/api/resources/dids/client/Client.js.map +1 -1
- package/api/resources/drafts/client/Client.d.ts +3 -3
- package/api/resources/drafts/client/Client.js +13 -13
- package/api/resources/drafts/client/Client.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftExport.d.ts +2 -2
- package/api/resources/drafts/client/requests/DraftExport.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/DraftExport.js.map +1 -1
- package/api/resources/drafts/client/requests/DraftIssue.d.ts +5 -4
- package/api/resources/drafts/client/requests/DraftIssue.d.ts.map +1 -1
- package/api/resources/drafts/client/requests/DraftIssue.js.map +1 -1
- package/api/resources/drafts/index.d.ts +1 -0
- package/api/resources/drafts/index.d.ts.map +1 -1
- package/api/resources/drafts/index.js +1 -0
- package/api/resources/drafts/index.js.map +1 -1
- package/api/resources/drafts/types/DraftIssueDidMethod.d.ts +12 -0
- package/api/resources/drafts/types/DraftIssueDidMethod.d.ts.map +1 -0
- package/api/resources/drafts/types/DraftIssueDidMethod.js +11 -0
- package/api/resources/drafts/types/DraftIssueDidMethod.js.map +1 -0
- package/api/resources/drafts/types/index.d.ts +2 -0
- package/api/resources/drafts/types/index.d.ts.map +1 -0
- package/api/resources/drafts/types/index.js +18 -0
- package/api/resources/drafts/types/index.js.map +1 -0
- package/api/resources/files/client/Client.d.ts +1 -1
- package/api/resources/files/client/Client.js +11 -11
- package/api/resources/files/client/Client.js.map +1 -1
- package/api/resources/gdpr/client/Client.js +1 -1
- package/api/resources/gdpr/client/Client.js.map +1 -1
- package/api/resources/index.d.ts +6 -3
- package/api/resources/index.d.ts.map +1 -1
- package/api/resources/index.js +7 -4
- package/api/resources/index.js.map +1 -1
- package/api/resources/keys/client/Client.d.ts +4 -4
- package/api/resources/keys/client/Client.js +16 -16
- package/api/resources/keys/client/Client.js.map +1 -1
- package/api/resources/keys/client/requests/CredentialSignRequest.d.ts +3 -2
- package/api/resources/keys/client/requests/CredentialSignRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/CredentialSignRequest.js.map +1 -1
- package/api/resources/keys/client/requests/DidCommMessageSignRequest.d.ts +3 -2
- package/api/resources/keys/client/requests/DidCommMessageSignRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/DidCommMessageSignRequest.js.map +1 -1
- package/api/resources/keys/client/requests/PresentationSignRequest.d.ts +3 -2
- package/api/resources/keys/client/requests/PresentationSignRequest.d.ts.map +1 -1
- package/api/resources/keys/client/requests/PresentationSignRequest.js.map +1 -1
- package/api/resources/keys/index.d.ts +1 -0
- package/api/resources/keys/index.d.ts.map +1 -1
- package/api/resources/keys/index.js +1 -0
- package/api/resources/keys/index.js.map +1 -1
- package/api/resources/keys/types/CredentialSignRequestDidMethod.d.ts +12 -0
- package/api/resources/keys/types/CredentialSignRequestDidMethod.d.ts.map +1 -0
- package/api/resources/keys/types/CredentialSignRequestDidMethod.js +11 -0
- package/api/resources/keys/types/CredentialSignRequestDidMethod.js.map +1 -0
- package/api/resources/keys/types/DidCommMessageSignRequestDidMethod.d.ts +12 -0
- package/api/resources/keys/types/DidCommMessageSignRequestDidMethod.d.ts.map +1 -0
- package/api/resources/keys/types/DidCommMessageSignRequestDidMethod.js +11 -0
- package/api/resources/keys/types/DidCommMessageSignRequestDidMethod.js.map +1 -0
- package/api/resources/keys/types/PresentationSignRequestDidMethod.d.ts +12 -0
- package/api/resources/keys/types/PresentationSignRequestDidMethod.d.ts.map +1 -0
- package/api/resources/keys/types/PresentationSignRequestDidMethod.js +11 -0
- package/api/resources/keys/types/PresentationSignRequestDidMethod.js.map +1 -0
- package/api/resources/keys/types/index.d.ts +4 -0
- package/api/resources/keys/types/index.d.ts.map +1 -0
- package/api/resources/keys/types/index.js +20 -0
- package/api/resources/keys/types/index.js.map +1 -0
- package/api/resources/presentations/client/Client.d.ts +6 -6
- package/api/resources/presentations/client/Client.js +18 -18
- package/api/resources/presentations/client/Client.js.map +1 -1
- package/api/resources/presentations/client/requests/PresentationIssue.d.ts +2 -1
- package/api/resources/presentations/client/requests/PresentationIssue.d.ts.map +1 -1
- package/api/resources/presentations/client/requests/PresentationIssue.js.map +1 -1
- package/api/resources/presentations/index.d.ts +1 -0
- package/api/resources/presentations/index.d.ts.map +1 -1
- package/api/resources/presentations/index.js +1 -0
- package/api/resources/presentations/index.js.map +1 -1
- package/api/resources/presentations/types/PresentationIssueDidMethod.d.ts +12 -0
- package/api/resources/presentations/types/PresentationIssueDidMethod.d.ts.map +1 -0
- package/api/resources/presentations/types/PresentationIssueDidMethod.js +11 -0
- package/api/resources/presentations/types/PresentationIssueDidMethod.js.map +1 -0
- package/api/resources/presentations/types/index.d.ts +2 -0
- package/api/resources/presentations/types/index.d.ts.map +1 -0
- package/api/resources/presentations/types/index.js +18 -0
- package/api/resources/presentations/types/index.js.map +1 -0
- package/api/types/Credential.d.ts +2 -2
- package/api/types/Credential.d.ts.map +1 -1
- package/api/types/Credential.js.map +1 -1
- package/api/types/Credential11.d.ts +1 -1
- package/api/types/Credential11.d.ts.map +1 -1
- package/api/types/Credential11.js.map +1 -1
- package/api/types/Draft.d.ts +5 -1
- package/api/types/Draft.d.ts.map +1 -1
- package/api/types/Draft.js.map +1 -1
- package/api/types/DraftCreate.d.ts +3 -0
- package/api/types/DraftCreate.d.ts.map +1 -1
- package/api/types/DraftCreate.js.map +1 -1
- package/api/types/DraftFieldBooleanValue.d.ts +1 -1
- package/api/types/DraftFieldBooleanValue.d.ts.map +1 -1
- package/api/types/DraftFieldBooleanValue.js.map +1 -1
- package/api/types/DraftFieldDateTimeValue.d.ts +1 -1
- package/api/types/DraftFieldDateTimeValue.d.ts.map +1 -1
- package/api/types/DraftFieldDateTimeValue.js.map +1 -1
- package/api/types/DraftFieldDateValue.d.ts +1 -1
- package/api/types/DraftFieldDateValue.d.ts.map +1 -1
- package/api/types/DraftFieldDateValue.js.map +1 -1
- package/api/types/DraftFieldFileValue.d.ts +1 -1
- package/api/types/DraftFieldFileValue.d.ts.map +1 -1
- package/api/types/DraftFieldFileValue.js.map +1 -1
- package/api/types/DraftFieldLinkValue.d.ts +1 -1
- package/api/types/DraftFieldLinkValue.d.ts.map +1 -1
- package/api/types/DraftFieldLinkValue.js.map +1 -1
- package/api/types/DraftFieldNumberValue.d.ts +1 -1
- package/api/types/DraftFieldNumberValue.d.ts.map +1 -1
- package/api/types/DraftFieldNumberValue.js.map +1 -1
- package/api/types/DraftFieldStringValue.d.ts +1 -1
- package/api/types/DraftFieldStringValue.d.ts.map +1 -1
- package/api/types/DraftFieldStringValue.js.map +1 -1
- package/api/types/DraftFieldStructValue.d.ts +2 -1
- package/api/types/DraftFieldStructValue.d.ts.map +1 -1
- package/api/types/DraftFieldStructValue.js.map +1 -1
- package/api/types/DraftFieldStructValueFieldsItem.d.ts +1 -1
- package/api/types/DraftFieldStructValueFieldsItem.js.map +1 -1
- package/api/types/DraftMeta.d.ts +3 -3
- package/api/types/DraftMeta.d.ts.map +1 -1
- package/api/types/DraftMeta.js.map +1 -1
- package/api/types/DraftSchema.d.ts +1 -0
- package/api/types/DraftSchema.d.ts.map +1 -1
- package/api/types/DraftSchema.js.map +1 -1
- package/api/types/DraftSchemaFieldsItem.d.ts +1 -1
- package/api/types/DraftSchemaFieldsItem.js.map +1 -1
- package/api/types/EqualKeyType.d.ts +2 -1
- package/api/types/EqualKeyType.d.ts.map +1 -1
- package/api/types/EqualKeyType.js.map +1 -1
- package/api/types/EqualKeyTypeValue.d.ts +14 -0
- package/api/types/EqualKeyTypeValue.d.ts.map +1 -0
- package/api/types/EqualKeyTypeValue.js +13 -0
- package/api/types/EqualKeyTypeValue.js.map +1 -0
- package/api/types/InKeyType.d.ts +2 -1
- package/api/types/InKeyType.d.ts.map +1 -1
- package/api/types/InKeyType.js.map +1 -1
- package/api/types/InKeyTypeValuesItem.d.ts +33 -0
- package/api/types/InKeyTypeValuesItem.d.ts.map +1 -0
- package/api/types/InKeyTypeValuesItem.js +13 -0
- package/api/types/InKeyTypeValuesItem.js.map +1 -0
- package/api/types/KeyGenerate.d.ts +3 -2
- package/api/types/KeyGenerate.d.ts.map +1 -1
- package/api/types/KeyGenerate.js.map +1 -1
- package/api/types/KeyGenerateType.d.ts +33 -0
- package/api/types/KeyGenerateType.d.ts.map +1 -0
- package/api/types/KeyGenerateType.js +13 -0
- package/api/types/KeyGenerateType.js.map +1 -0
- package/api/types/KeyPublic.d.ts +2 -1
- package/api/types/KeyPublic.d.ts.map +1 -1
- package/api/types/KeyPublic.js.map +1 -1
- package/api/types/KeyPublicType.d.ts +33 -0
- package/api/types/KeyPublicType.d.ts.map +1 -0
- package/api/types/KeyPublicType.js +13 -0
- package/api/types/KeyPublicType.js.map +1 -0
- package/api/types/NotEqualKeyType.d.ts +2 -1
- package/api/types/NotEqualKeyType.d.ts.map +1 -1
- package/api/types/NotEqualKeyType.js.map +1 -1
- package/api/types/NotEqualKeyTypeValue.d.ts +14 -0
- package/api/types/NotEqualKeyTypeValue.d.ts.map +1 -0
- package/api/types/NotEqualKeyTypeValue.js +13 -0
- package/api/types/NotEqualKeyTypeValue.js.map +1 -0
- package/api/types/NotInKeyType.d.ts +2 -1
- package/api/types/NotInKeyType.d.ts.map +1 -1
- package/api/types/NotInKeyType.js.map +1 -1
- package/api/types/NotInKeyTypeValuesItem.d.ts +33 -0
- package/api/types/NotInKeyTypeValuesItem.d.ts.map +1 -0
- package/api/types/NotInKeyTypeValuesItem.js +13 -0
- package/api/types/NotInKeyTypeValuesItem.js.map +1 -0
- package/api/types/index.d.ts +6 -0
- package/api/types/index.d.ts.map +1 -1
- package/api/types/index.js +6 -0
- package/api/types/index.js.map +1 -1
- package/package.json +4 -22
- package/reference.md +34 -34
- package/serialization/resources/drafts/client/requests/DraftIssue.d.ts +2 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.d.ts.map +1 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.js +2 -1
- package/serialization/resources/drafts/client/requests/DraftIssue.js.map +1 -1
- package/serialization/resources/drafts/index.d.ts +1 -0
- package/serialization/resources/drafts/index.d.ts.map +1 -1
- package/serialization/resources/drafts/index.js +1 -0
- package/serialization/resources/drafts/index.js.map +1 -1
- package/serialization/resources/drafts/types/DraftIssueDidMethod.d.ts +11 -0
- package/serialization/resources/drafts/types/DraftIssueDidMethod.d.ts.map +1 -0
- package/serialization/resources/drafts/types/DraftIssueDidMethod.js +32 -0
- package/serialization/resources/drafts/types/DraftIssueDidMethod.js.map +1 -0
- package/serialization/resources/drafts/types/index.d.ts +2 -0
- package/serialization/resources/drafts/types/index.d.ts.map +1 -0
- package/serialization/resources/drafts/types/index.js +18 -0
- package/serialization/resources/drafts/types/index.js.map +1 -0
- package/serialization/resources/index.d.ts +6 -3
- package/serialization/resources/index.d.ts.map +1 -1
- package/serialization/resources/index.js +7 -4
- package/serialization/resources/index.js.map +1 -1
- package/serialization/resources/keys/index.d.ts +1 -0
- package/serialization/resources/keys/index.d.ts.map +1 -1
- package/serialization/resources/keys/index.js +1 -0
- package/serialization/resources/keys/index.js.map +1 -1
- package/serialization/resources/keys/types/CredentialSignRequestDidMethod.d.ts +11 -0
- package/serialization/resources/keys/types/CredentialSignRequestDidMethod.d.ts.map +1 -0
- package/serialization/resources/keys/types/CredentialSignRequestDidMethod.js +32 -0
- package/serialization/resources/keys/types/CredentialSignRequestDidMethod.js.map +1 -0
- package/serialization/resources/keys/types/DidCommMessageSignRequestDidMethod.d.ts +11 -0
- package/serialization/resources/keys/types/DidCommMessageSignRequestDidMethod.d.ts.map +1 -0
- package/serialization/resources/keys/types/DidCommMessageSignRequestDidMethod.js +32 -0
- package/serialization/resources/keys/types/DidCommMessageSignRequestDidMethod.js.map +1 -0
- package/serialization/resources/keys/types/PresentationSignRequestDidMethod.d.ts +11 -0
- package/serialization/resources/keys/types/PresentationSignRequestDidMethod.d.ts.map +1 -0
- package/serialization/resources/keys/types/PresentationSignRequestDidMethod.js +32 -0
- package/serialization/resources/keys/types/PresentationSignRequestDidMethod.js.map +1 -0
- package/serialization/resources/keys/types/index.d.ts +4 -0
- package/serialization/resources/keys/types/index.d.ts.map +1 -0
- package/serialization/resources/keys/types/index.js +20 -0
- package/serialization/resources/keys/types/index.js.map +1 -0
- package/serialization/resources/presentations/client/requests/PresentationIssue.d.ts +2 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.d.ts.map +1 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.js +2 -1
- package/serialization/resources/presentations/client/requests/PresentationIssue.js.map +1 -1
- package/serialization/resources/presentations/index.d.ts +1 -0
- package/serialization/resources/presentations/index.d.ts.map +1 -1
- package/serialization/resources/presentations/index.js +1 -0
- package/serialization/resources/presentations/index.js.map +1 -1
- package/serialization/resources/presentations/types/PresentationIssueDidMethod.d.ts +11 -0
- package/serialization/resources/presentations/types/PresentationIssueDidMethod.d.ts.map +1 -0
- package/serialization/resources/presentations/types/PresentationIssueDidMethod.js +32 -0
- package/serialization/resources/presentations/types/PresentationIssueDidMethod.js.map +1 -0
- package/serialization/resources/presentations/types/index.d.ts +2 -0
- package/serialization/resources/presentations/types/index.d.ts.map +1 -0
- package/serialization/resources/presentations/types/index.js +18 -0
- package/serialization/resources/presentations/types/index.js.map +1 -0
- package/serialization/types/EqualKeyType.d.ts +2 -1
- package/serialization/types/EqualKeyType.d.ts.map +1 -1
- package/serialization/types/EqualKeyType.js +2 -1
- package/serialization/types/EqualKeyType.js.map +1 -1
- package/serialization/types/EqualKeyTypeValue.d.ts +11 -0
- package/serialization/types/EqualKeyTypeValue.d.ts.map +1 -0
- package/serialization/types/EqualKeyTypeValue.js +32 -0
- package/serialization/types/EqualKeyTypeValue.js.map +1 -0
- package/serialization/types/InKeyType.d.ts +2 -1
- package/serialization/types/InKeyType.d.ts.map +1 -1
- package/serialization/types/InKeyType.js +2 -1
- package/serialization/types/InKeyType.js.map +1 -1
- package/serialization/types/InKeyTypeValuesItem.d.ts +11 -0
- package/serialization/types/InKeyTypeValuesItem.d.ts.map +1 -0
- package/serialization/types/InKeyTypeValuesItem.js +32 -0
- package/serialization/types/InKeyTypeValuesItem.js.map +1 -0
- package/serialization/types/KeyGenerate.d.ts +2 -1
- package/serialization/types/KeyGenerate.d.ts.map +1 -1
- package/serialization/types/KeyGenerate.js +2 -1
- package/serialization/types/KeyGenerate.js.map +1 -1
- package/serialization/types/KeyGenerateType.d.ts +11 -0
- package/serialization/types/KeyGenerateType.d.ts.map +1 -0
- package/serialization/types/KeyGenerateType.js +32 -0
- package/serialization/types/KeyGenerateType.js.map +1 -0
- package/serialization/types/KeyPublic.d.ts +2 -1
- package/serialization/types/KeyPublic.d.ts.map +1 -1
- package/serialization/types/KeyPublic.js +2 -1
- package/serialization/types/KeyPublic.js.map +1 -1
- package/serialization/types/KeyPublicType.d.ts +11 -0
- package/serialization/types/KeyPublicType.d.ts.map +1 -0
- package/serialization/types/KeyPublicType.js +32 -0
- package/serialization/types/KeyPublicType.js.map +1 -0
- package/serialization/types/NotEqualKeyType.d.ts +2 -1
- package/serialization/types/NotEqualKeyType.d.ts.map +1 -1
- package/serialization/types/NotEqualKeyType.js +2 -1
- package/serialization/types/NotEqualKeyType.js.map +1 -1
- package/serialization/types/NotEqualKeyTypeValue.d.ts +11 -0
- package/serialization/types/NotEqualKeyTypeValue.d.ts.map +1 -0
- package/serialization/types/NotEqualKeyTypeValue.js +32 -0
- package/serialization/types/NotEqualKeyTypeValue.js.map +1 -0
- package/serialization/types/NotInKeyType.d.ts +2 -1
- package/serialization/types/NotInKeyType.d.ts.map +1 -1
- package/serialization/types/NotInKeyType.js +2 -1
- package/serialization/types/NotInKeyType.js.map +1 -1
- package/serialization/types/NotInKeyTypeValuesItem.d.ts +11 -0
- package/serialization/types/NotInKeyTypeValuesItem.d.ts.map +1 -0
- package/serialization/types/NotInKeyTypeValuesItem.js +32 -0
- package/serialization/types/NotInKeyTypeValuesItem.js.map +1 -0
- package/serialization/types/index.d.ts +6 -0
- package/serialization/types/index.d.ts.map +1 -1
- package/serialization/types/index.js +6 -0
- package/serialization/types/index.js.map +1 -1
- package/devbox.lock +0 -118
- package/jest.config.ts +0 -38
- package/yarn.lock.checksum +0 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The DID method to use for the issuer DID.
|
|
6
|
+
*/
|
|
7
|
+
export declare type DraftIssueDidMethod = 'key' | 'web';
|
|
8
|
+
export declare const DraftIssueDidMethod: {
|
|
9
|
+
readonly Key: "key";
|
|
10
|
+
readonly Web: "web";
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=DraftIssueDidMethod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraftIssueDidMethod.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/DraftIssueDidMethod.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,oBAAY,mBAAmB,GAAG,KAAK,GAAG,KAAK,CAAC;AAEhD,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DraftIssueDidMethod = void 0;
|
|
7
|
+
exports.DraftIssueDidMethod = {
|
|
8
|
+
Key: 'key',
|
|
9
|
+
Web: 'web',
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=DraftIssueDidMethod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DraftIssueDidMethod.js","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/DraftIssueDidMethod.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAOU,QAAA,mBAAmB,GAAG;IAC/B,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACJ,CAAC","sourcesContent":["/**\n * This file was auto-generated by Fern from our API Definition.\n */\n\n/**\n * The DID method to use for the issuer DID.\n */\nexport type DraftIssueDidMethod = 'key' | 'web';\n\nexport const DraftIssueDidMethod = {\n Key: 'key',\n Web: 'web',\n} as const;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./DraftIssueDidMethod"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/resources/drafts/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC","sourcesContent":["export * from './DraftIssueDidMethod';\n"]}
|
|
@@ -50,7 +50,7 @@ export declare class Files {
|
|
|
50
50
|
*/
|
|
51
51
|
fileCreate(request: Truvity.FileCreateRequest, requestOptions?: Files.RequestOptions): Promise<Truvity.ResourceFile>;
|
|
52
52
|
/**
|
|
53
|
-
* Search for
|
|
53
|
+
* Search for Files with extended filters capabilities.
|
|
54
54
|
*
|
|
55
55
|
* @param {Truvity.FileSearchRequest} request
|
|
56
56
|
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -82,7 +82,7 @@ class Files {
|
|
|
82
82
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
83
83
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'files'),
|
|
84
84
|
method: 'POST',
|
|
85
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
85
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
86
86
|
contentType: 'application/json',
|
|
87
87
|
queryParameters: _queryParams,
|
|
88
88
|
requestType: 'json',
|
|
@@ -166,7 +166,7 @@ class Files {
|
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
* Search for
|
|
169
|
+
* Search for Files with extended filters capabilities.
|
|
170
170
|
*
|
|
171
171
|
* @param {Truvity.FileSearchRequest} request
|
|
172
172
|
* @param {Files.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -187,7 +187,7 @@ class Files {
|
|
|
187
187
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
188
188
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'files/search'),
|
|
189
189
|
method: 'POST',
|
|
190
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
190
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
191
191
|
contentType: 'application/json',
|
|
192
192
|
requestType: 'json',
|
|
193
193
|
body: serializers.FileSearchRequest.jsonOrThrow(request, {
|
|
@@ -294,7 +294,7 @@ class Files {
|
|
|
294
294
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
295
295
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, 'files/upload'),
|
|
296
296
|
method: 'POST',
|
|
297
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
297
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
298
298
|
contentType: 'application/json',
|
|
299
299
|
requestType: 'json',
|
|
300
300
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -392,7 +392,7 @@ class Files {
|
|
|
392
392
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
393
393
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}`),
|
|
394
394
|
method: 'GET',
|
|
395
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
395
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
396
396
|
contentType: 'application/json',
|
|
397
397
|
requestType: 'json',
|
|
398
398
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -502,7 +502,7 @@ class Files {
|
|
|
502
502
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
503
503
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}`),
|
|
504
504
|
method: 'DELETE',
|
|
505
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
505
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())),
|
|
506
506
|
contentType: 'application/json',
|
|
507
507
|
requestType: 'json',
|
|
508
508
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -629,7 +629,7 @@ class Files {
|
|
|
629
629
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
630
630
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}`),
|
|
631
631
|
method: 'PATCH',
|
|
632
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
632
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())),
|
|
633
633
|
contentType: 'application/json',
|
|
634
634
|
queryParameters: _queryParams,
|
|
635
635
|
requestType: 'json',
|
|
@@ -761,7 +761,7 @@ class Files {
|
|
|
761
761
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
762
762
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/restore`),
|
|
763
763
|
method: 'POST',
|
|
764
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
764
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'Idempotency-Key': idempotencyKey != null ? idempotencyKey : undefined, 'If-Match': ifMatch }, (yield this._getCustomAuthorizationHeaders())),
|
|
765
765
|
contentType: 'application/json',
|
|
766
766
|
requestType: 'json',
|
|
767
767
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -873,7 +873,7 @@ class Files {
|
|
|
873
873
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
874
874
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/revisions`),
|
|
875
875
|
method: 'GET',
|
|
876
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
876
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
877
877
|
contentType: 'application/json',
|
|
878
878
|
requestType: 'json',
|
|
879
879
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -979,7 +979,7 @@ class Files {
|
|
|
979
979
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
980
980
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}`),
|
|
981
981
|
method: 'GET',
|
|
982
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
982
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
983
983
|
contentType: 'application/json',
|
|
984
984
|
requestType: 'json',
|
|
985
985
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1075,7 +1075,7 @@ class Files {
|
|
|
1075
1075
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
1076
1076
|
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.TruvityEnvironment.Default, `files/${encodeURIComponent(id)}/revisions/${encodeURIComponent(revision)}/download`),
|
|
1077
1077
|
method: 'GET',
|
|
1078
|
-
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': '
|
|
1078
|
+
headers: Object.assign({ 'X-Fern-Language': 'JavaScript', 'X-Fern-SDK-Name': '@truvity/sdk', 'X-Fern-SDK-Version': 'v0.28.3', 'X-Fern-Runtime': core.RUNTIME.type, 'X-Fern-Runtime-Version': core.RUNTIME.version, 'If-None-Match': ifNoneMatch != null ? ifNoneMatch : undefined }, (yield this._getCustomAuthorizationHeaders())),
|
|
1079
1079
|
contentType: 'application/json',
|
|
1080
1080
|
requestType: 'json',
|
|
1081
1081
|
responseType: 'streaming',
|