@schematichq/schematic-typescript-node 1.0.11 → 1.0.13
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/schematic.cjs.js +27 -22
- package/dist/schematic.d.ts +26 -5
- package/dist/schematic.esm.js +27 -22
- package/package.json +1 -1
package/dist/schematic.cjs.js
CHANGED
|
@@ -17620,8 +17620,6 @@ var CreateOrUpdateConditionRequestBodyOperatorEnum = {
|
|
|
17620
17620
|
function instanceOfCreateOrUpdateConditionRequestBody(value) {
|
|
17621
17621
|
if (!("conditionType" in value) || value["conditionType"] === void 0)
|
|
17622
17622
|
return false;
|
|
17623
|
-
if (!("metricValue" in value) || value["metricValue"] === void 0)
|
|
17624
|
-
return false;
|
|
17625
17623
|
if (!("operator" in value) || value["operator"] === void 0)
|
|
17626
17624
|
return false;
|
|
17627
17625
|
if (!("resourceIds" in value) || value["resourceIds"] === void 0)
|
|
@@ -17641,7 +17639,7 @@ function CreateOrUpdateConditionRequestBodyFromJSONTyped(json, ignoreDiscriminat
|
|
|
17641
17639
|
eventSubtype: json["event_subtype"] == null ? void 0 : json["event_subtype"],
|
|
17642
17640
|
id: json["id"] == null ? void 0 : json["id"],
|
|
17643
17641
|
metricPeriod: json["metric_period"] == null ? void 0 : json["metric_period"],
|
|
17644
|
-
metricValue: json["metric_value"],
|
|
17642
|
+
metricValue: json["metric_value"] == null ? void 0 : json["metric_value"],
|
|
17645
17643
|
operator: json["operator"],
|
|
17646
17644
|
resourceIds: json["resource_ids"],
|
|
17647
17645
|
traitId: json["trait_id"] == null ? void 0 : json["trait_id"],
|
|
@@ -19080,7 +19078,8 @@ function CountCompanyOverridesParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19080
19078
|
featureIds: json["feature_ids"] == null ? void 0 : json["feature_ids"],
|
|
19081
19079
|
ids: json["ids"] == null ? void 0 : json["ids"],
|
|
19082
19080
|
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
19083
|
-
offset: json["offset"] == null ? void 0 : json["offset"]
|
|
19081
|
+
offset: json["offset"] == null ? void 0 : json["offset"],
|
|
19082
|
+
q: json["q"] == null ? void 0 : json["q"]
|
|
19084
19083
|
};
|
|
19085
19084
|
}
|
|
19086
19085
|
function CountCompanyOverridesParamsToJSON(value) {
|
|
@@ -19094,7 +19093,8 @@ function CountCompanyOverridesParamsToJSON(value) {
|
|
|
19094
19093
|
feature_ids: value["featureIds"],
|
|
19095
19094
|
ids: value["ids"],
|
|
19096
19095
|
limit: value["limit"],
|
|
19097
|
-
offset: value["offset"]
|
|
19096
|
+
offset: value["offset"],
|
|
19097
|
+
q: value["q"]
|
|
19098
19098
|
};
|
|
19099
19099
|
}
|
|
19100
19100
|
|
|
@@ -21036,8 +21036,6 @@ function instanceOfRuleConditionDetailResponseData(value) {
|
|
|
21036
21036
|
return false;
|
|
21037
21037
|
if (!("id" in value) || value["id"] === void 0)
|
|
21038
21038
|
return false;
|
|
21039
|
-
if (!("metricValue" in value) || value["metricValue"] === void 0)
|
|
21040
|
-
return false;
|
|
21041
21039
|
if (!("operator" in value) || value["operator"] === void 0)
|
|
21042
21040
|
return false;
|
|
21043
21041
|
if (!("resourceIds" in value) || value["resourceIds"] === void 0)
|
|
@@ -21070,7 +21068,7 @@ function RuleConditionDetailResponseDataFromJSONTyped(json, ignoreDiscriminator)
|
|
|
21070
21068
|
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
21071
21069
|
id: json["id"],
|
|
21072
21070
|
metricPeriod: json["metric_period"] == null ? void 0 : json["metric_period"],
|
|
21073
|
-
metricValue: json["metric_value"],
|
|
21071
|
+
metricValue: json["metric_value"] == null ? void 0 : json["metric_value"],
|
|
21074
21072
|
operator: json["operator"],
|
|
21075
21073
|
planId: json["plan_id"] == null ? void 0 : json["plan_id"],
|
|
21076
21074
|
resourceIds: json["resource_ids"],
|
|
@@ -24639,8 +24637,6 @@ function instanceOfWebhookEventDetailResponseData(value) {
|
|
|
24639
24637
|
return false;
|
|
24640
24638
|
if (!("id" in value) || value["id"] === void 0)
|
|
24641
24639
|
return false;
|
|
24642
|
-
if (!("payload" in value) || value["payload"] === void 0)
|
|
24643
|
-
return false;
|
|
24644
24640
|
if (!("requestType" in value) || value["requestType"] === void 0)
|
|
24645
24641
|
return false;
|
|
24646
24642
|
if (!("status" in value) || value["status"] === void 0)
|
|
@@ -24661,7 +24657,7 @@ function WebhookEventDetailResponseDataFromJSONTyped(json, ignoreDiscriminator)
|
|
|
24661
24657
|
return {
|
|
24662
24658
|
createdAt: new Date(json["created_at"]),
|
|
24663
24659
|
id: json["id"],
|
|
24664
|
-
payload: json["payload"],
|
|
24660
|
+
payload: json["payload"] == null ? void 0 : json["payload"],
|
|
24665
24661
|
requestType: json["request_type"],
|
|
24666
24662
|
responseCode: json["response_code"] == null ? void 0 : json["response_code"],
|
|
24667
24663
|
sentAt: json["sent_at"] == null ? void 0 : new Date(json["sent_at"]),
|
|
@@ -25107,7 +25103,8 @@ function ListCompanyOverridesParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25107
25103
|
featureIds: json["feature_ids"] == null ? void 0 : json["feature_ids"],
|
|
25108
25104
|
ids: json["ids"] == null ? void 0 : json["ids"],
|
|
25109
25105
|
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
25110
|
-
offset: json["offset"] == null ? void 0 : json["offset"]
|
|
25106
|
+
offset: json["offset"] == null ? void 0 : json["offset"],
|
|
25107
|
+
q: json["q"] == null ? void 0 : json["q"]
|
|
25111
25108
|
};
|
|
25112
25109
|
}
|
|
25113
25110
|
function ListCompanyOverridesParamsToJSON(value) {
|
|
@@ -25121,7 +25118,8 @@ function ListCompanyOverridesParamsToJSON(value) {
|
|
|
25121
25118
|
feature_ids: value["featureIds"],
|
|
25122
25119
|
ids: value["ids"],
|
|
25123
25120
|
limit: value["limit"],
|
|
25124
|
-
offset: value["offset"]
|
|
25121
|
+
offset: value["offset"],
|
|
25122
|
+
q: value["q"]
|
|
25125
25123
|
};
|
|
25126
25124
|
}
|
|
25127
25125
|
|
|
@@ -26194,7 +26192,8 @@ function ListProductsParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26194
26192
|
ids: json["ids"] == null ? void 0 : json["ids"],
|
|
26195
26193
|
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
26196
26194
|
name: json["name"] == null ? void 0 : json["name"],
|
|
26197
|
-
offset: json["offset"] == null ? void 0 : json["offset"]
|
|
26195
|
+
offset: json["offset"] == null ? void 0 : json["offset"],
|
|
26196
|
+
q: json["q"] == null ? void 0 : json["q"]
|
|
26198
26197
|
};
|
|
26199
26198
|
}
|
|
26200
26199
|
function ListProductsParamsToJSON(value) {
|
|
@@ -26205,7 +26204,8 @@ function ListProductsParamsToJSON(value) {
|
|
|
26205
26204
|
ids: value["ids"],
|
|
26206
26205
|
limit: value["limit"],
|
|
26207
26206
|
name: value["name"],
|
|
26208
|
-
offset: value["offset"]
|
|
26207
|
+
offset: value["offset"],
|
|
26208
|
+
q: value["q"]
|
|
26209
26209
|
};
|
|
26210
26210
|
}
|
|
26211
26211
|
|
|
@@ -26675,8 +26675,6 @@ function instanceOfRuleConditionResponseData(value) {
|
|
|
26675
26675
|
return false;
|
|
26676
26676
|
if (!("id" in value) || value["id"] === void 0)
|
|
26677
26677
|
return false;
|
|
26678
|
-
if (!("metricValue" in value) || value["metricValue"] === void 0)
|
|
26679
|
-
return false;
|
|
26680
26678
|
if (!("operator" in value) || value["operator"] === void 0)
|
|
26681
26679
|
return false;
|
|
26682
26680
|
if (!("resourceIds" in value) || value["resourceIds"] === void 0)
|
|
@@ -26706,7 +26704,7 @@ function RuleConditionResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26706
26704
|
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
26707
26705
|
id: json["id"],
|
|
26708
26706
|
metricPeriod: json["metric_period"] == null ? void 0 : json["metric_period"],
|
|
26709
|
-
metricValue: json["metric_value"],
|
|
26707
|
+
metricValue: json["metric_value"] == null ? void 0 : json["metric_value"],
|
|
26710
26708
|
operator: json["operator"],
|
|
26711
26709
|
planId: json["plan_id"] == null ? void 0 : json["plan_id"],
|
|
26712
26710
|
resourceIds: json["resource_ids"],
|
|
@@ -28039,8 +28037,6 @@ function instanceOfWebhookEventResponseData(value) {
|
|
|
28039
28037
|
return false;
|
|
28040
28038
|
if (!("id" in value) || value["id"] === void 0)
|
|
28041
28039
|
return false;
|
|
28042
|
-
if (!("payload" in value) || value["payload"] === void 0)
|
|
28043
|
-
return false;
|
|
28044
28040
|
if (!("requestType" in value) || value["requestType"] === void 0)
|
|
28045
28041
|
return false;
|
|
28046
28042
|
if (!("status" in value) || value["status"] === void 0)
|
|
@@ -28061,7 +28057,7 @@ function WebhookEventResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28061
28057
|
return {
|
|
28062
28058
|
createdAt: new Date(json["created_at"]),
|
|
28063
28059
|
id: json["id"],
|
|
28064
|
-
payload: json["payload"],
|
|
28060
|
+
payload: json["payload"] == null ? void 0 : json["payload"],
|
|
28065
28061
|
requestType: json["request_type"],
|
|
28066
28062
|
responseCode: json["response_code"] == null ? void 0 : json["response_code"],
|
|
28067
28063
|
sentAt: json["sent_at"] == null ? void 0 : new Date(json["sent_at"]),
|
|
@@ -28769,6 +28765,9 @@ var BillingApi = class extends BaseAPI {
|
|
|
28769
28765
|
if (requestParameters["name"] != null) {
|
|
28770
28766
|
queryParameters["name"] = requestParameters["name"];
|
|
28771
28767
|
}
|
|
28768
|
+
if (requestParameters["q"] != null) {
|
|
28769
|
+
queryParameters["q"] = requestParameters["q"];
|
|
28770
|
+
}
|
|
28772
28771
|
if (requestParameters["limit"] != null) {
|
|
28773
28772
|
queryParameters["limit"] = requestParameters["limit"];
|
|
28774
28773
|
}
|
|
@@ -30692,6 +30691,9 @@ var EntitlementsApi = class extends BaseAPI {
|
|
|
30692
30691
|
if (requestParameters["ids"] != null) {
|
|
30693
30692
|
queryParameters["ids"] = requestParameters["ids"];
|
|
30694
30693
|
}
|
|
30694
|
+
if (requestParameters["q"] != null) {
|
|
30695
|
+
queryParameters["q"] = requestParameters["q"];
|
|
30696
|
+
}
|
|
30695
30697
|
if (requestParameters["limit"] != null) {
|
|
30696
30698
|
queryParameters["limit"] = requestParameters["limit"];
|
|
30697
30699
|
}
|
|
@@ -31276,6 +31278,9 @@ var EntitlementsApi = class extends BaseAPI {
|
|
|
31276
31278
|
if (requestParameters["ids"] != null) {
|
|
31277
31279
|
queryParameters["ids"] = requestParameters["ids"];
|
|
31278
31280
|
}
|
|
31281
|
+
if (requestParameters["q"] != null) {
|
|
31282
|
+
queryParameters["q"] = requestParameters["q"];
|
|
31283
|
+
}
|
|
31279
31284
|
if (requestParameters["limit"] != null) {
|
|
31280
31285
|
queryParameters["limit"] = requestParameters["limit"];
|
|
31281
31286
|
}
|
|
@@ -34122,7 +34127,7 @@ var Schematic = class {
|
|
|
34122
34127
|
constructor(apiKey, opts) {
|
|
34123
34128
|
const { offline = false } = opts ?? {};
|
|
34124
34129
|
const { basePath, flagDefaults = {} } = opts ?? {};
|
|
34125
|
-
const version = "1.0.
|
|
34130
|
+
const version = "1.0.13";
|
|
34126
34131
|
const headers = {
|
|
34127
34132
|
"User-Agent": `schematic-typescript-node@v${version}`
|
|
34128
34133
|
};
|
package/dist/schematic.d.ts
CHANGED
|
@@ -3940,6 +3940,12 @@ export declare interface CountCompanyOverridesParams {
|
|
|
3940
3940
|
* @memberof CountCompanyOverridesParams
|
|
3941
3941
|
*/
|
|
3942
3942
|
offset?: number;
|
|
3943
|
+
/**
|
|
3944
|
+
*
|
|
3945
|
+
* @type {string}
|
|
3946
|
+
* @memberof CountCompanyOverridesParams
|
|
3947
|
+
*/
|
|
3948
|
+
q?: string;
|
|
3943
3949
|
}
|
|
3944
3950
|
|
|
3945
3951
|
export declare function CountCompanyOverridesParamsFromJSON(json: any): CountCompanyOverridesParams;
|
|
@@ -3954,6 +3960,7 @@ export declare interface CountCompanyOverridesRequest {
|
|
|
3954
3960
|
featureId?: string;
|
|
3955
3961
|
featureIds?: Array<string>;
|
|
3956
3962
|
ids?: Array<string>;
|
|
3963
|
+
q?: string;
|
|
3957
3964
|
limit?: number;
|
|
3958
3965
|
offset?: number;
|
|
3959
3966
|
}
|
|
@@ -6418,7 +6425,7 @@ export declare interface CreateOrUpdateConditionRequestBody {
|
|
|
6418
6425
|
* @type {number}
|
|
6419
6426
|
* @memberof CreateOrUpdateConditionRequestBody
|
|
6420
6427
|
*/
|
|
6421
|
-
metricValue
|
|
6428
|
+
metricValue?: number;
|
|
6422
6429
|
/**
|
|
6423
6430
|
*
|
|
6424
6431
|
* @type {string}
|
|
@@ -13309,6 +13316,12 @@ export declare interface ListCompanyOverridesParams {
|
|
|
13309
13316
|
* @memberof ListCompanyOverridesParams
|
|
13310
13317
|
*/
|
|
13311
13318
|
offset?: number;
|
|
13319
|
+
/**
|
|
13320
|
+
*
|
|
13321
|
+
* @type {string}
|
|
13322
|
+
* @memberof ListCompanyOverridesParams
|
|
13323
|
+
*/
|
|
13324
|
+
q?: string;
|
|
13312
13325
|
}
|
|
13313
13326
|
|
|
13314
13327
|
export declare function ListCompanyOverridesParamsFromJSON(json: any): ListCompanyOverridesParams;
|
|
@@ -13323,6 +13336,7 @@ export declare interface ListCompanyOverridesRequest {
|
|
|
13323
13336
|
featureId?: string;
|
|
13324
13337
|
featureIds?: Array<string>;
|
|
13325
13338
|
ids?: Array<string>;
|
|
13339
|
+
q?: string;
|
|
13326
13340
|
limit?: number;
|
|
13327
13341
|
offset?: number;
|
|
13328
13342
|
}
|
|
@@ -14843,6 +14857,12 @@ export declare interface ListProductsParams {
|
|
|
14843
14857
|
* @memberof ListProductsParams
|
|
14844
14858
|
*/
|
|
14845
14859
|
offset?: number;
|
|
14860
|
+
/**
|
|
14861
|
+
*
|
|
14862
|
+
* @type {string}
|
|
14863
|
+
* @memberof ListProductsParams
|
|
14864
|
+
*/
|
|
14865
|
+
q?: string;
|
|
14846
14866
|
}
|
|
14847
14867
|
|
|
14848
14868
|
export declare function ListProductsParamsFromJSON(json: any): ListProductsParams;
|
|
@@ -14854,6 +14874,7 @@ export declare function ListProductsParamsToJSON(value?: ListProductsParams | nu
|
|
|
14854
14874
|
export declare interface ListProductsRequest {
|
|
14855
14875
|
ids?: Array<string>;
|
|
14856
14876
|
name?: string;
|
|
14877
|
+
q?: string;
|
|
14857
14878
|
limit?: number;
|
|
14858
14879
|
offset?: number;
|
|
14859
14880
|
}
|
|
@@ -16107,7 +16128,7 @@ export declare interface RuleConditionDetailResponseData {
|
|
|
16107
16128
|
* @type {number}
|
|
16108
16129
|
* @memberof RuleConditionDetailResponseData
|
|
16109
16130
|
*/
|
|
16110
|
-
metricValue
|
|
16131
|
+
metricValue?: number;
|
|
16111
16132
|
/**
|
|
16112
16133
|
*
|
|
16113
16134
|
* @type {string}
|
|
@@ -16418,7 +16439,7 @@ export declare interface RuleConditionResponseData {
|
|
|
16418
16439
|
* @type {number}
|
|
16419
16440
|
* @memberof RuleConditionResponseData
|
|
16420
16441
|
*/
|
|
16421
|
-
metricValue
|
|
16442
|
+
metricValue?: number;
|
|
16422
16443
|
/**
|
|
16423
16444
|
*
|
|
16424
16445
|
* @type {string}
|
|
@@ -18536,7 +18557,7 @@ export declare interface WebhookEventDetailResponseData {
|
|
|
18536
18557
|
* @type {string}
|
|
18537
18558
|
* @memberof WebhookEventDetailResponseData
|
|
18538
18559
|
*/
|
|
18539
|
-
payload
|
|
18560
|
+
payload?: string;
|
|
18540
18561
|
/**
|
|
18541
18562
|
*
|
|
18542
18563
|
* @type {string}
|
|
@@ -18621,7 +18642,7 @@ export declare interface WebhookEventResponseData {
|
|
|
18621
18642
|
* @type {string}
|
|
18622
18643
|
* @memberof WebhookEventResponseData
|
|
18623
18644
|
*/
|
|
18624
|
-
payload
|
|
18645
|
+
payload?: string;
|
|
18625
18646
|
/**
|
|
18626
18647
|
*
|
|
18627
18648
|
* @type {string}
|
package/dist/schematic.esm.js
CHANGED
|
@@ -16401,8 +16401,6 @@ var CreateOrUpdateConditionRequestBodyOperatorEnum = {
|
|
|
16401
16401
|
function instanceOfCreateOrUpdateConditionRequestBody(value) {
|
|
16402
16402
|
if (!("conditionType" in value) || value["conditionType"] === void 0)
|
|
16403
16403
|
return false;
|
|
16404
|
-
if (!("metricValue" in value) || value["metricValue"] === void 0)
|
|
16405
|
-
return false;
|
|
16406
16404
|
if (!("operator" in value) || value["operator"] === void 0)
|
|
16407
16405
|
return false;
|
|
16408
16406
|
if (!("resourceIds" in value) || value["resourceIds"] === void 0)
|
|
@@ -16422,7 +16420,7 @@ function CreateOrUpdateConditionRequestBodyFromJSONTyped(json, ignoreDiscriminat
|
|
|
16422
16420
|
eventSubtype: json["event_subtype"] == null ? void 0 : json["event_subtype"],
|
|
16423
16421
|
id: json["id"] == null ? void 0 : json["id"],
|
|
16424
16422
|
metricPeriod: json["metric_period"] == null ? void 0 : json["metric_period"],
|
|
16425
|
-
metricValue: json["metric_value"],
|
|
16423
|
+
metricValue: json["metric_value"] == null ? void 0 : json["metric_value"],
|
|
16426
16424
|
operator: json["operator"],
|
|
16427
16425
|
resourceIds: json["resource_ids"],
|
|
16428
16426
|
traitId: json["trait_id"] == null ? void 0 : json["trait_id"],
|
|
@@ -17861,7 +17859,8 @@ function CountCompanyOverridesParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17861
17859
|
featureIds: json["feature_ids"] == null ? void 0 : json["feature_ids"],
|
|
17862
17860
|
ids: json["ids"] == null ? void 0 : json["ids"],
|
|
17863
17861
|
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
17864
|
-
offset: json["offset"] == null ? void 0 : json["offset"]
|
|
17862
|
+
offset: json["offset"] == null ? void 0 : json["offset"],
|
|
17863
|
+
q: json["q"] == null ? void 0 : json["q"]
|
|
17865
17864
|
};
|
|
17866
17865
|
}
|
|
17867
17866
|
function CountCompanyOverridesParamsToJSON(value) {
|
|
@@ -17875,7 +17874,8 @@ function CountCompanyOverridesParamsToJSON(value) {
|
|
|
17875
17874
|
feature_ids: value["featureIds"],
|
|
17876
17875
|
ids: value["ids"],
|
|
17877
17876
|
limit: value["limit"],
|
|
17878
|
-
offset: value["offset"]
|
|
17877
|
+
offset: value["offset"],
|
|
17878
|
+
q: value["q"]
|
|
17879
17879
|
};
|
|
17880
17880
|
}
|
|
17881
17881
|
|
|
@@ -19817,8 +19817,6 @@ function instanceOfRuleConditionDetailResponseData(value) {
|
|
|
19817
19817
|
return false;
|
|
19818
19818
|
if (!("id" in value) || value["id"] === void 0)
|
|
19819
19819
|
return false;
|
|
19820
|
-
if (!("metricValue" in value) || value["metricValue"] === void 0)
|
|
19821
|
-
return false;
|
|
19822
19820
|
if (!("operator" in value) || value["operator"] === void 0)
|
|
19823
19821
|
return false;
|
|
19824
19822
|
if (!("resourceIds" in value) || value["resourceIds"] === void 0)
|
|
@@ -19851,7 +19849,7 @@ function RuleConditionDetailResponseDataFromJSONTyped(json, ignoreDiscriminator)
|
|
|
19851
19849
|
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
19852
19850
|
id: json["id"],
|
|
19853
19851
|
metricPeriod: json["metric_period"] == null ? void 0 : json["metric_period"],
|
|
19854
|
-
metricValue: json["metric_value"],
|
|
19852
|
+
metricValue: json["metric_value"] == null ? void 0 : json["metric_value"],
|
|
19855
19853
|
operator: json["operator"],
|
|
19856
19854
|
planId: json["plan_id"] == null ? void 0 : json["plan_id"],
|
|
19857
19855
|
resourceIds: json["resource_ids"],
|
|
@@ -23420,8 +23418,6 @@ function instanceOfWebhookEventDetailResponseData(value) {
|
|
|
23420
23418
|
return false;
|
|
23421
23419
|
if (!("id" in value) || value["id"] === void 0)
|
|
23422
23420
|
return false;
|
|
23423
|
-
if (!("payload" in value) || value["payload"] === void 0)
|
|
23424
|
-
return false;
|
|
23425
23421
|
if (!("requestType" in value) || value["requestType"] === void 0)
|
|
23426
23422
|
return false;
|
|
23427
23423
|
if (!("status" in value) || value["status"] === void 0)
|
|
@@ -23442,7 +23438,7 @@ function WebhookEventDetailResponseDataFromJSONTyped(json, ignoreDiscriminator)
|
|
|
23442
23438
|
return {
|
|
23443
23439
|
createdAt: new Date(json["created_at"]),
|
|
23444
23440
|
id: json["id"],
|
|
23445
|
-
payload: json["payload"],
|
|
23441
|
+
payload: json["payload"] == null ? void 0 : json["payload"],
|
|
23446
23442
|
requestType: json["request_type"],
|
|
23447
23443
|
responseCode: json["response_code"] == null ? void 0 : json["response_code"],
|
|
23448
23444
|
sentAt: json["sent_at"] == null ? void 0 : new Date(json["sent_at"]),
|
|
@@ -23888,7 +23884,8 @@ function ListCompanyOverridesParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23888
23884
|
featureIds: json["feature_ids"] == null ? void 0 : json["feature_ids"],
|
|
23889
23885
|
ids: json["ids"] == null ? void 0 : json["ids"],
|
|
23890
23886
|
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
23891
|
-
offset: json["offset"] == null ? void 0 : json["offset"]
|
|
23887
|
+
offset: json["offset"] == null ? void 0 : json["offset"],
|
|
23888
|
+
q: json["q"] == null ? void 0 : json["q"]
|
|
23892
23889
|
};
|
|
23893
23890
|
}
|
|
23894
23891
|
function ListCompanyOverridesParamsToJSON(value) {
|
|
@@ -23902,7 +23899,8 @@ function ListCompanyOverridesParamsToJSON(value) {
|
|
|
23902
23899
|
feature_ids: value["featureIds"],
|
|
23903
23900
|
ids: value["ids"],
|
|
23904
23901
|
limit: value["limit"],
|
|
23905
|
-
offset: value["offset"]
|
|
23902
|
+
offset: value["offset"],
|
|
23903
|
+
q: value["q"]
|
|
23906
23904
|
};
|
|
23907
23905
|
}
|
|
23908
23906
|
|
|
@@ -24975,7 +24973,8 @@ function ListProductsParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24975
24973
|
ids: json["ids"] == null ? void 0 : json["ids"],
|
|
24976
24974
|
limit: json["limit"] == null ? void 0 : json["limit"],
|
|
24977
24975
|
name: json["name"] == null ? void 0 : json["name"],
|
|
24978
|
-
offset: json["offset"] == null ? void 0 : json["offset"]
|
|
24976
|
+
offset: json["offset"] == null ? void 0 : json["offset"],
|
|
24977
|
+
q: json["q"] == null ? void 0 : json["q"]
|
|
24979
24978
|
};
|
|
24980
24979
|
}
|
|
24981
24980
|
function ListProductsParamsToJSON(value) {
|
|
@@ -24986,7 +24985,8 @@ function ListProductsParamsToJSON(value) {
|
|
|
24986
24985
|
ids: value["ids"],
|
|
24987
24986
|
limit: value["limit"],
|
|
24988
24987
|
name: value["name"],
|
|
24989
|
-
offset: value["offset"]
|
|
24988
|
+
offset: value["offset"],
|
|
24989
|
+
q: value["q"]
|
|
24990
24990
|
};
|
|
24991
24991
|
}
|
|
24992
24992
|
|
|
@@ -25456,8 +25456,6 @@ function instanceOfRuleConditionResponseData(value) {
|
|
|
25456
25456
|
return false;
|
|
25457
25457
|
if (!("id" in value) || value["id"] === void 0)
|
|
25458
25458
|
return false;
|
|
25459
|
-
if (!("metricValue" in value) || value["metricValue"] === void 0)
|
|
25460
|
-
return false;
|
|
25461
25459
|
if (!("operator" in value) || value["operator"] === void 0)
|
|
25462
25460
|
return false;
|
|
25463
25461
|
if (!("resourceIds" in value) || value["resourceIds"] === void 0)
|
|
@@ -25487,7 +25485,7 @@ function RuleConditionResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25487
25485
|
flagId: json["flag_id"] == null ? void 0 : json["flag_id"],
|
|
25488
25486
|
id: json["id"],
|
|
25489
25487
|
metricPeriod: json["metric_period"] == null ? void 0 : json["metric_period"],
|
|
25490
|
-
metricValue: json["metric_value"],
|
|
25488
|
+
metricValue: json["metric_value"] == null ? void 0 : json["metric_value"],
|
|
25491
25489
|
operator: json["operator"],
|
|
25492
25490
|
planId: json["plan_id"] == null ? void 0 : json["plan_id"],
|
|
25493
25491
|
resourceIds: json["resource_ids"],
|
|
@@ -26820,8 +26818,6 @@ function instanceOfWebhookEventResponseData(value) {
|
|
|
26820
26818
|
return false;
|
|
26821
26819
|
if (!("id" in value) || value["id"] === void 0)
|
|
26822
26820
|
return false;
|
|
26823
|
-
if (!("payload" in value) || value["payload"] === void 0)
|
|
26824
|
-
return false;
|
|
26825
26821
|
if (!("requestType" in value) || value["requestType"] === void 0)
|
|
26826
26822
|
return false;
|
|
26827
26823
|
if (!("status" in value) || value["status"] === void 0)
|
|
@@ -26842,7 +26838,7 @@ function WebhookEventResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26842
26838
|
return {
|
|
26843
26839
|
createdAt: new Date(json["created_at"]),
|
|
26844
26840
|
id: json["id"],
|
|
26845
|
-
payload: json["payload"],
|
|
26841
|
+
payload: json["payload"] == null ? void 0 : json["payload"],
|
|
26846
26842
|
requestType: json["request_type"],
|
|
26847
26843
|
responseCode: json["response_code"] == null ? void 0 : json["response_code"],
|
|
26848
26844
|
sentAt: json["sent_at"] == null ? void 0 : new Date(json["sent_at"]),
|
|
@@ -27550,6 +27546,9 @@ var BillingApi = class extends BaseAPI {
|
|
|
27550
27546
|
if (requestParameters["name"] != null) {
|
|
27551
27547
|
queryParameters["name"] = requestParameters["name"];
|
|
27552
27548
|
}
|
|
27549
|
+
if (requestParameters["q"] != null) {
|
|
27550
|
+
queryParameters["q"] = requestParameters["q"];
|
|
27551
|
+
}
|
|
27553
27552
|
if (requestParameters["limit"] != null) {
|
|
27554
27553
|
queryParameters["limit"] = requestParameters["limit"];
|
|
27555
27554
|
}
|
|
@@ -29473,6 +29472,9 @@ var EntitlementsApi = class extends BaseAPI {
|
|
|
29473
29472
|
if (requestParameters["ids"] != null) {
|
|
29474
29473
|
queryParameters["ids"] = requestParameters["ids"];
|
|
29475
29474
|
}
|
|
29475
|
+
if (requestParameters["q"] != null) {
|
|
29476
|
+
queryParameters["q"] = requestParameters["q"];
|
|
29477
|
+
}
|
|
29476
29478
|
if (requestParameters["limit"] != null) {
|
|
29477
29479
|
queryParameters["limit"] = requestParameters["limit"];
|
|
29478
29480
|
}
|
|
@@ -30057,6 +30059,9 @@ var EntitlementsApi = class extends BaseAPI {
|
|
|
30057
30059
|
if (requestParameters["ids"] != null) {
|
|
30058
30060
|
queryParameters["ids"] = requestParameters["ids"];
|
|
30059
30061
|
}
|
|
30062
|
+
if (requestParameters["q"] != null) {
|
|
30063
|
+
queryParameters["q"] = requestParameters["q"];
|
|
30064
|
+
}
|
|
30060
30065
|
if (requestParameters["limit"] != null) {
|
|
30061
30066
|
queryParameters["limit"] = requestParameters["limit"];
|
|
30062
30067
|
}
|
|
@@ -32903,7 +32908,7 @@ var Schematic = class {
|
|
|
32903
32908
|
constructor(apiKey, opts) {
|
|
32904
32909
|
const { offline = false } = opts ?? {};
|
|
32905
32910
|
const { basePath, flagDefaults = {} } = opts ?? {};
|
|
32906
|
-
const version = "1.0.
|
|
32911
|
+
const version = "1.0.13";
|
|
32907
32912
|
const headers = {
|
|
32908
32913
|
"User-Agent": `schematic-typescript-node@v${version}`
|
|
32909
32914
|
};
|
package/package.json
CHANGED