jourycms-sdk 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/containers/content/clients/article-types.client.d.ts +1 -1
- package/dist/containers/content/clients/article-types.client.d.ts.map +1 -1
- package/dist/containers/content/clients/article-types.client.js +6 -6
- package/dist/containers/content/clients/articles.client.d.ts +2 -2
- package/dist/containers/content/clients/articles.client.d.ts.map +1 -1
- package/dist/containers/content/clients/articles.client.js +6 -6
- package/dist/containers/content/clients/taxonomies.client.d.ts +1 -1
- package/dist/containers/content/clients/taxonomies.client.d.ts.map +1 -1
- package/dist/containers/content/clients/taxonomies.client.js +3 -3
- package/dist/containers/content/clients/terms.client.d.ts +1 -1
- package/dist/containers/content/clients/terms.client.d.ts.map +1 -1
- package/dist/containers/content/clients/terms.client.js +3 -3
- package/package.json +1 -1
@@ -9,7 +9,7 @@ export default class ArticleTypesClient extends BaseClient {
|
|
9
9
|
restore(id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Delete.Response>>;
|
10
10
|
list(query: ApiAlias.List.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.List.Response>>;
|
11
11
|
getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
12
|
-
getByTrackingId(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
13
12
|
getByName(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
13
|
+
getBySlug(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
14
14
|
}
|
15
15
|
//# sourceMappingURL=article-types.client.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"article-types.client.d.ts","sourceRoot":"","s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Q,CAAC,CAAC;IAOtG,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOvG,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAOpH,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzI,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAO7I,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;CAMpJ"}
|
@@ -44,15 +44,15 @@ class ArticleTypesClient extends base_client_1.default {
|
|
44
44
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
45
45
|
});
|
46
46
|
}
|
47
|
-
//
|
48
|
-
async
|
49
|
-
return await this.container.sdk.httpClient.get(this.generatePrefix("/by-
|
47
|
+
// getByName
|
48
|
+
async getByName(name, params, config) {
|
49
|
+
return await this.container.sdk.httpClient.get(this.generatePrefix("/by-name/:name", { name }), params, {
|
50
50
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
51
51
|
});
|
52
52
|
}
|
53
|
-
//
|
54
|
-
async
|
55
|
-
return await this.container.sdk.httpClient.get(this.generatePrefix(`/by-
|
53
|
+
// getBySlug
|
54
|
+
async getBySlug(name, params, config) {
|
55
|
+
return await this.container.sdk.httpClient.get(this.generatePrefix(`/by-slug/${name}`), params, {
|
56
56
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
57
57
|
});
|
58
58
|
}
|
@@ -9,7 +9,7 @@ export default class ArticlesClient extends BaseClient {
|
|
9
9
|
restore(id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Delete.Response>>;
|
10
10
|
list(query: ApiAlias.List.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.List.Response>>;
|
11
11
|
getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
12
|
-
|
13
|
-
|
12
|
+
getByName(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
13
|
+
getBySlug(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
14
14
|
}
|
15
15
|
//# sourceMappingURL=articles.client.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"articles.client.d.ts","sourceRoot":"","sources":["../../../../src/containers/content/clients/articles.client.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAE9C,OAAO,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;AAEhC,OAA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C,CAAC;IAOvG,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAOpH,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzI,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOpJ,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;CAMpJ"}
|
@@ -44,15 +44,15 @@ class ArticlesClient extends base_client_1.default {
|
|
44
44
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
45
45
|
});
|
46
46
|
}
|
47
|
-
//
|
48
|
-
async
|
49
|
-
return await this.container.sdk.httpClient.get(this.generatePrefix("/by-
|
47
|
+
// getByName
|
48
|
+
async getByName(tracking_id, params, config) {
|
49
|
+
return await this.container.sdk.httpClient.get(this.generatePrefix("/by-name/:tracking_id", { tracking_id }), params, {
|
50
50
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
51
51
|
});
|
52
52
|
}
|
53
|
-
//
|
54
|
-
async
|
55
|
-
return await this.container.sdk.httpClient.get(this.generatePrefix(`/by-
|
53
|
+
// getBySlug
|
54
|
+
async getBySlug(name, params, config) {
|
55
|
+
return await this.container.sdk.httpClient.get(this.generatePrefix(`/by-slug/${name}`), params, {
|
56
56
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
57
57
|
});
|
58
58
|
}
|
@@ -9,7 +9,7 @@ export default class TaxonomiesClient extends BaseClient {
|
|
9
9
|
restore(id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Delete.Response>>;
|
10
10
|
list(query: ApiAlias.List.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.List.Response>>;
|
11
11
|
getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
12
|
-
|
12
|
+
getBySlug(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
13
13
|
getByName(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
14
14
|
}
|
15
15
|
//# sourceMappingURL=taxonomies.client.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taxonomies.client.d.ts","sourceRoot":"","sources":["../../../../src/containers/content/clients/taxonomies.client.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAE9C,OAAO,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;AAEhC,OAAO,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;AAGxD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;gBAG1C,SAAS,E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c,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAOpH,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzI,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOpJ,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;CAMpJ"}
|
@@ -44,9 +44,9 @@ class TaxonomiesClient extends base_client_1.default {
|
|
44
44
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
45
45
|
});
|
46
46
|
}
|
47
|
-
//
|
48
|
-
async
|
49
|
-
return await this.container.sdk.httpClient.get(this.generatePrefix("/by-
|
47
|
+
// getBySlug
|
48
|
+
async getBySlug(tracking_id, params, config) {
|
49
|
+
return await this.container.sdk.httpClient.get(this.generatePrefix("/by-slug/:tracking_id", { tracking_id }), params, {
|
50
50
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
51
51
|
});
|
52
52
|
}
|
@@ -9,7 +9,7 @@ export default class TermsClient extends BaseClient {
|
|
9
9
|
restore(id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Delete.Response>>;
|
10
10
|
list(query: ApiAlias.List.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.List.Response>>;
|
11
11
|
getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
12
|
-
|
12
|
+
getBySlug(slug: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
13
13
|
getByName(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
|
14
14
|
}
|
15
15
|
//# sourceMappingURL=terms.client.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"terms.client.d.ts","sourceRoot":"","sources":["../../../../src/containers/content/clients/terms.client.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAE9C,OAAO,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;AAEhC,OAAO,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC;AAGnD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,UAAU;gBAGrC,SAAS,EAAE,GAAG,CAAC,iBAAiB;IAKtC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM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OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAO7I,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;CAMpJ"}
|
@@ -44,9 +44,9 @@ class TermsClient extends base_client_1.default {
|
|
44
44
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
45
45
|
});
|
46
46
|
}
|
47
|
-
//
|
48
|
-
async
|
49
|
-
return await this.container.sdk.httpClient.get(this.generatePrefix("/by-tracking-id/:
|
47
|
+
// getBySlug
|
48
|
+
async getBySlug(slug, params, config) {
|
49
|
+
return await this.container.sdk.httpClient.get(this.generatePrefix("/by-tracking-id/:slug", { slug }), params, {
|
50
50
|
headers: this.container.sdk.generateHeadersFromRequestConfig(config)
|
51
51
|
});
|
52
52
|
}
|