@infisale-client/api-client 1.3.61 → 1.3.65
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/dist/api/api.d.ts +1225 -130
- package/dist/api/api.js +62 -3
- package/dist/api/api.mjs +59 -0
- package/package.json +2 -2
package/dist/api/api.js
CHANGED
|
@@ -16,15 +16,44 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = void 0;
|
|
19
|
+
exports.OrderReturnStatusEnumWAITINGRETURN = exports.OrderReturnStatusEnumRETURNED = exports.OrderReturnStatusEnum = exports.OrderPaymentStatusEnum = exports.OrderEnum = exports.OperationStatusEnum = exports.NotificationStatusEnum = exports.NotificationMessageEnum = exports.NavigationUrlTargetEnum = exports.LanguageEnum = exports.IUserCollectionQueryParamsDateFieldEnum = exports.IUrlRedirectCollectionQueryParamsSortEnum = exports.IUrlRedirectCollectionQueryParamsDateFieldEnum = exports.IUniqueCollectionQueryParamsDateFieldEnum = exports.ISubscriptionPostRequestPeriodEnum = exports.IProductCollectionQueryParamsSortEnum = exports.IProductCollectionQueryParamsDateFieldEnum = exports.IPlanCollectionQueryParamsCategoryEnum = exports.IPlanCollectionQueryParamsDateFieldEnum = exports.IPageCollectionQueryParamsDateFieldEnum = exports.IOrderCollectionQueryParamsDateFieldEnum = exports.IOperationCollectionQueryParamsDateFieldEnum = exports.INotificationCollectionQueryParamsDateFieldEnum = exports.INavigationCollectionQueryParamsDateFieldEnum = exports.IMyOrderCollectionQueryParamsDateFieldEnum = exports.IFileCollectionQueryParamsDateFieldEnum = exports.IContentPlanCollectionQueryParamsDateFieldEnum = exports.IContentPlanAttemptStepEnum = exports.IContactFormCollectionQueryParamsDateFieldEnum = exports.ICompanyUsersCollectionQueryParamsDateFieldEnum = exports.ICompanyDashboardResponsePeriodEnum = exports.ICompanyCollectionQueryParamsDateFieldEnum = exports.ICollectionCollectionsQueryParamsDateFieldEnum = exports.ICategoryCollectionQueryParamsDateFieldEnum = exports.IBrandCollectionQueryParamsDateFieldEnum = exports.IAiChatCollectionQueryParamsDateFieldEnum = exports.FileTypeEnum = exports.FileKeywordEnum = exports.EmailConfigDnsRecordTypeEnum = exports.CurrencyRateTypeEnum = exports.CurrencyEnum = exports.CountryEnum = exports.ContentStatusEnum = exports.ContentPlanStatusEnum = exports.CompanyUserStatusEnum = exports.CompanyTypeEnum = exports.CompanyStatusEnum = exports.AiChatStatusEnum = exports.AiChatRoleEnum = exports.AiChatPurposeEnum = void 0;
|
|
20
|
+
exports.PageApiAxiosParamCreator = exports.GetOrdersDateFieldEnum = exports.GetMyOrdersDateFieldEnum = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.ContactFormApi = exports.ContactFormApiFactory = exports.ContactFormApiFp = exports.ContactFormApiAxiosParamCreator = exports.CompanyApi = exports.CompanyApiFactory = exports.CompanyApiFp = exports.CompanyApiAxiosParamCreator = exports.GetCollectionsDateFieldEnum = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.BasketApi = exports.BasketApiFactory = exports.BasketApiFp = exports.BasketApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.AddressApi = exports.AddressApiFactory = exports.AddressApiFp = exports.AddressApiAxiosParamCreator = exports.UserStatusEnum = exports.UserRoleEnum = exports.TimezoneEnum = exports.ThemeKeywordEnum = exports.SubscriptionStatusEnum = exports.StoreLocationEnum = exports.SitemapTypeEnum = exports.ShippingPricingTypeEnum = exports.ReviewStatusEnum = exports.PlanTypeEnum = exports.PlanStatusEnum = exports.PlanAttributeKeyEnum = exports.PlanAttributeGroupEnum = exports.PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = exports.PaymentMethodEnum = exports.PaymentGatewayEnum = exports.OrderStatusEnum = exports.OrderShippedStatusEnum = void 0;
|
|
21
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.UrlRedirectApi = exports.UrlRedirectApiFactory = exports.UrlRedirectApiFp = exports.UrlRedirectApiAxiosParamCreator = exports.UniquePageApi = exports.UniquePageApiFactory = exports.UniquePageApiFp = exports.UniquePageApiAxiosParamCreator = exports.TemplateApi = exports.TemplateApiFactory = exports.TemplateApiFp = exports.TemplateApiAxiosParamCreator = exports.SitemapApi = exports.SitemapApiFactory = exports.SitemapApiFp = exports.SitemapApiAxiosParamCreator = exports.GetProductsSortEnum = exports.GetProductsDateFieldEnum = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.GetPagesDateFieldEnum = exports.PageApi = exports.PageApiFactory = exports.PageApiFp = void 0;
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
const common_1 = require("./common.js");
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
const base_1 = require("./base.js");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @enum {string}
|
|
32
|
+
*/
|
|
33
|
+
exports.AiChatPurposeEnum = {
|
|
34
|
+
CONTENT_PLAN_PLANNING: 'content-plan-planning'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
exports.AiChatRoleEnum = {
|
|
42
|
+
SYSTEM: 'system',
|
|
43
|
+
USER: 'user',
|
|
44
|
+
ASSISTANT: 'assistant'
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
* @enum {string}
|
|
50
|
+
*/
|
|
51
|
+
exports.AiChatStatusEnum = {
|
|
52
|
+
OPEN: 'open',
|
|
53
|
+
FINALIZED: 'finalized',
|
|
54
|
+
ARCHIVED: 'archived',
|
|
55
|
+
FAILED: 'failed'
|
|
56
|
+
};
|
|
28
57
|
/**
|
|
29
58
|
*
|
|
30
59
|
* @export
|
|
@@ -56,6 +85,21 @@ exports.CompanyUserStatusEnum = {
|
|
|
56
85
|
UNEMPLOYED: 'unemployed',
|
|
57
86
|
DELETED: 'deleted'
|
|
58
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @export
|
|
91
|
+
* @enum {string}
|
|
92
|
+
*/
|
|
93
|
+
exports.ContentPlanStatusEnum = {
|
|
94
|
+
PENDING: 'pending',
|
|
95
|
+
GENERATING: 'generating',
|
|
96
|
+
SEO_ANALYZING: 'seo_analyzing',
|
|
97
|
+
REFINING: 'refining',
|
|
98
|
+
PACKAGING: 'packaging',
|
|
99
|
+
TRANSLATING: 'translating',
|
|
100
|
+
COMPLETED: 'completed',
|
|
101
|
+
FAILED: 'failed'
|
|
102
|
+
};
|
|
59
103
|
/**
|
|
60
104
|
*
|
|
61
105
|
* @export
|
|
@@ -375,6 +419,10 @@ exports.FileTypeEnum = {
|
|
|
375
419
|
DOCUMENT: 'document',
|
|
376
420
|
OTHER: 'other'
|
|
377
421
|
};
|
|
422
|
+
exports.IAiChatCollectionQueryParamsDateFieldEnum = {
|
|
423
|
+
CREATED_AT: 'createdAt',
|
|
424
|
+
UPDATED_AT: 'updatedAt'
|
|
425
|
+
};
|
|
378
426
|
exports.IBrandCollectionQueryParamsDateFieldEnum = {
|
|
379
427
|
CREATED_AT: 'createdAt',
|
|
380
428
|
UPDATED_AT: 'updatedAt'
|
|
@@ -405,6 +453,17 @@ exports.IContactFormCollectionQueryParamsDateFieldEnum = {
|
|
|
405
453
|
CREATED_AT: 'createdAt',
|
|
406
454
|
UPDATED_AT: 'updatedAt'
|
|
407
455
|
};
|
|
456
|
+
exports.IContentPlanAttemptStepEnum = {
|
|
457
|
+
GENERATOR: 'generator',
|
|
458
|
+
CRITIC: 'critic',
|
|
459
|
+
REFINER: 'refiner',
|
|
460
|
+
PACKAGER: 'packager',
|
|
461
|
+
TRANSLATOR: 'translator'
|
|
462
|
+
};
|
|
463
|
+
exports.IContentPlanCollectionQueryParamsDateFieldEnum = {
|
|
464
|
+
CREATED_AT: 'createdAt',
|
|
465
|
+
UPDATED_AT: 'updatedAt'
|
|
466
|
+
};
|
|
408
467
|
exports.IFileCollectionQueryParamsDateFieldEnum = {
|
|
409
468
|
CREATED_AT: 'createdAt',
|
|
410
469
|
UPDATED_AT: 'updatedAt'
|
package/dist/api/api.mjs
CHANGED
|
@@ -14,6 +14,35 @@
|
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from "./common.mjs";
|
|
16
16
|
import { BASE_PATH, BaseAPI, operationServerMap } from "./base.mjs";
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
export const AiChatPurposeEnum = {
|
|
23
|
+
CONTENT_PLAN_PLANNING: 'content-plan-planning'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @enum {string}
|
|
29
|
+
*/
|
|
30
|
+
export const AiChatRoleEnum = {
|
|
31
|
+
SYSTEM: 'system',
|
|
32
|
+
USER: 'user',
|
|
33
|
+
ASSISTANT: 'assistant'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
export const AiChatStatusEnum = {
|
|
41
|
+
OPEN: 'open',
|
|
42
|
+
FINALIZED: 'finalized',
|
|
43
|
+
ARCHIVED: 'archived',
|
|
44
|
+
FAILED: 'failed'
|
|
45
|
+
};
|
|
17
46
|
/**
|
|
18
47
|
*
|
|
19
48
|
* @export
|
|
@@ -45,6 +74,21 @@ export const CompanyUserStatusEnum = {
|
|
|
45
74
|
UNEMPLOYED: 'unemployed',
|
|
46
75
|
DELETED: 'deleted'
|
|
47
76
|
};
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @export
|
|
80
|
+
* @enum {string}
|
|
81
|
+
*/
|
|
82
|
+
export const ContentPlanStatusEnum = {
|
|
83
|
+
PENDING: 'pending',
|
|
84
|
+
GENERATING: 'generating',
|
|
85
|
+
SEO_ANALYZING: 'seo_analyzing',
|
|
86
|
+
REFINING: 'refining',
|
|
87
|
+
PACKAGING: 'packaging',
|
|
88
|
+
TRANSLATING: 'translating',
|
|
89
|
+
COMPLETED: 'completed',
|
|
90
|
+
FAILED: 'failed'
|
|
91
|
+
};
|
|
48
92
|
/**
|
|
49
93
|
*
|
|
50
94
|
* @export
|
|
@@ -364,6 +408,10 @@ export const FileTypeEnum = {
|
|
|
364
408
|
DOCUMENT: 'document',
|
|
365
409
|
OTHER: 'other'
|
|
366
410
|
};
|
|
411
|
+
export const IAiChatCollectionQueryParamsDateFieldEnum = {
|
|
412
|
+
CREATED_AT: 'createdAt',
|
|
413
|
+
UPDATED_AT: 'updatedAt'
|
|
414
|
+
};
|
|
367
415
|
export const IBrandCollectionQueryParamsDateFieldEnum = {
|
|
368
416
|
CREATED_AT: 'createdAt',
|
|
369
417
|
UPDATED_AT: 'updatedAt'
|
|
@@ -394,6 +442,17 @@ export const IContactFormCollectionQueryParamsDateFieldEnum = {
|
|
|
394
442
|
CREATED_AT: 'createdAt',
|
|
395
443
|
UPDATED_AT: 'updatedAt'
|
|
396
444
|
};
|
|
445
|
+
export const IContentPlanAttemptStepEnum = {
|
|
446
|
+
GENERATOR: 'generator',
|
|
447
|
+
CRITIC: 'critic',
|
|
448
|
+
REFINER: 'refiner',
|
|
449
|
+
PACKAGER: 'packager',
|
|
450
|
+
TRANSLATOR: 'translator'
|
|
451
|
+
};
|
|
452
|
+
export const IContentPlanCollectionQueryParamsDateFieldEnum = {
|
|
453
|
+
CREATED_AT: 'createdAt',
|
|
454
|
+
UPDATED_AT: 'updatedAt'
|
|
455
|
+
};
|
|
397
456
|
export const IFileCollectionQueryParamsDateFieldEnum = {
|
|
398
457
|
CREATED_AT: 'createdAt',
|
|
399
458
|
UPDATED_AT: 'updatedAt'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infisale-client/api-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.65",
|
|
4
4
|
"description": "api-client-sdk",
|
|
5
5
|
"author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
|
|
6
6
|
"homepage": "https://github.com/infisale/infisale-client#readme",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"bugs": {
|
|
38
38
|
"url": "https://github.com/infisale/infisale-client/issues"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "e4dcb70ebcc8aea35943bee559499dadb32c5823"
|
|
41
41
|
}
|