@hyperline/cli 0.1.0-build.1.02265b0 → 0.1.0-build.1.02c8787
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/bin/hyperline-main.js +555 -388
- package/package.json +1 -1
|
@@ -38864,7 +38864,7 @@ Examples:
|
|
|
38864
38864
|
// build/commands/generated/accounting-rules.js
|
|
38865
38865
|
function registerAccounting_RulesCommands(parent) {
|
|
38866
38866
|
const resource = parent.command("accounting-rules").description("Manage accounting > rules");
|
|
38867
|
-
resource.command("list").description(`Retrieve existing accounting rules with optional filtering.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--ledger-id <value>", `ledger_id`).option("--ledger-id.not <value>", `ledger_id__not`).option("--ledger-id.
|
|
38867
|
+
resource.command("list").description(`Retrieve existing accounting rules with optional filtering.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--ledger-id <value>", `ledger_id`).option("--ledger-id.not <value>", `ledger_id__not`).option("--ledger-id.equals <value>", `ledger_id__equals`).option("--ledger-id.contains <value>", `ledger_id__contains`).option("--ledger-id.starts-with <value>", `ledger_id__startsWith`).option("--ledger-id.end-with <value>", `ledger_id__endWith`).option("--category <value>", `category`).option("--category.not <value>", `category__not`).option("--category.equals <value>", `category__equals`).option("--category.contains <value>", `category__contains`).option("--category.starts-with <value>", `category__startsWith`).option("--category.end-with <value>", `category__endWith`).addHelpText("after", `
|
|
38868
38868
|
Examples:
|
|
38869
38869
|
hyperline accounting-rules list
|
|
38870
38870
|
hyperline accounting-rules list --take <take> --ledger-id <ledger_id>`).action(async (opts) => {
|
|
@@ -38878,10 +38878,6 @@ Examples:
|
|
|
38878
38878
|
args.ledger_id = opts.ledgerId;
|
|
38879
38879
|
if (opts["ledgerId.not"] !== void 0)
|
|
38880
38880
|
args.ledger_id__not = opts["ledgerId.not"];
|
|
38881
|
-
if (opts["ledgerId.isNull"] !== void 0)
|
|
38882
|
-
args.ledger_id__isNull = opts["ledgerId.isNull"];
|
|
38883
|
-
if (opts["ledgerId.isNotNull"] !== void 0)
|
|
38884
|
-
args.ledger_id__isNotNull = opts["ledgerId.isNotNull"];
|
|
38885
38881
|
if (opts["ledgerId.equals"] !== void 0)
|
|
38886
38882
|
args.ledger_id__equals = opts["ledgerId.equals"];
|
|
38887
38883
|
if (opts["ledgerId.contains"] !== void 0)
|
|
@@ -38894,10 +38890,6 @@ Examples:
|
|
|
38894
38890
|
args.category = opts.category;
|
|
38895
38891
|
if (opts["category.not"] !== void 0)
|
|
38896
38892
|
args.category__not = opts["category.not"];
|
|
38897
|
-
if (opts["category.isNull"] !== void 0)
|
|
38898
|
-
args.category__isNull = opts["category.isNull"];
|
|
38899
|
-
if (opts["category.isNotNull"] !== void 0)
|
|
38900
|
-
args.category__isNotNull = opts["category.isNotNull"];
|
|
38901
38893
|
if (opts["category.equals"] !== void 0)
|
|
38902
38894
|
args.category__equals = opts["category.equals"];
|
|
38903
38895
|
if (opts["category.contains"] !== void 0)
|
|
@@ -38919,16 +38911,12 @@ Examples:
|
|
|
38919
38911
|
"skip",
|
|
38920
38912
|
"ledger_id",
|
|
38921
38913
|
"ledger_id__not",
|
|
38922
|
-
"ledger_id__isNull",
|
|
38923
|
-
"ledger_id__isNotNull",
|
|
38924
38914
|
"ledger_id__equals",
|
|
38925
38915
|
"ledger_id__contains",
|
|
38926
38916
|
"ledger_id__startsWith",
|
|
38927
38917
|
"ledger_id__endWith",
|
|
38928
38918
|
"category",
|
|
38929
38919
|
"category__not",
|
|
38930
|
-
"category__isNull",
|
|
38931
|
-
"category__isNotNull",
|
|
38932
38920
|
"category__equals",
|
|
38933
38921
|
"category__contains",
|
|
38934
38922
|
"category__startsWith",
|
|
@@ -40868,7 +40856,7 @@ Examples:
|
|
|
40868
40856
|
// build/commands/generated/coupons-promotion-codes.js
|
|
40869
40857
|
function registerCoupons_Promotion_CodesCommands(parent) {
|
|
40870
40858
|
const resource = parent.command("coupons-promotion-codes").description("Manage coupons > promotion codes");
|
|
40871
|
-
resource.command("list-promotion-codes").description(`List promotion codes with optional filter by coupon_id. Promotion codes are shareable codes that reference a coupon. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--coupon-id <value>", `coupon_id`).option("--coupon-id.not <value>", `coupon_id__not`).option("--coupon-id.
|
|
40859
|
+
resource.command("list-promotion-codes").description(`List promotion codes with optional filter by coupon_id. Promotion codes are shareable codes that reference a coupon. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--coupon-id <value>", `coupon_id`).option("--coupon-id.not <value>", `coupon_id__not`).option("--coupon-id.equals <value>", `coupon_id__equals`).option("--coupon-id.contains <value>", `coupon_id__contains`).option("--coupon-id.starts-with <value>", `coupon_id__startsWith`).option("--coupon-id.end-with <value>", `coupon_id__endWith`).addHelpText("after", `
|
|
40872
40860
|
Examples:
|
|
40873
40861
|
hyperline coupons-promotion-codes list-promotion-codes
|
|
40874
40862
|
hyperline coupons-promotion-codes list-promotion-codes --take <take> --coupon-id <coupon_id>`).action(async (opts) => {
|
|
@@ -40882,10 +40870,6 @@ Examples:
|
|
|
40882
40870
|
args.coupon_id = opts.couponId;
|
|
40883
40871
|
if (opts["couponId.not"] !== void 0)
|
|
40884
40872
|
args.coupon_id__not = opts["couponId.not"];
|
|
40885
|
-
if (opts["couponId.isNull"] !== void 0)
|
|
40886
|
-
args.coupon_id__isNull = opts["couponId.isNull"];
|
|
40887
|
-
if (opts["couponId.isNotNull"] !== void 0)
|
|
40888
|
-
args.coupon_id__isNotNull = opts["couponId.isNotNull"];
|
|
40889
40873
|
if (opts["couponId.equals"] !== void 0)
|
|
40890
40874
|
args.coupon_id__equals = opts["couponId.equals"];
|
|
40891
40875
|
if (opts["couponId.contains"] !== void 0)
|
|
@@ -40907,8 +40891,6 @@ Examples:
|
|
|
40907
40891
|
"skip",
|
|
40908
40892
|
"coupon_id",
|
|
40909
40893
|
"coupon_id__not",
|
|
40910
|
-
"coupon_id__isNull",
|
|
40911
|
-
"coupon_id__isNotNull",
|
|
40912
40894
|
"coupon_id__equals",
|
|
40913
40895
|
"coupon_id__contains",
|
|
40914
40896
|
"coupon_id__startsWith",
|
|
@@ -41170,7 +41152,7 @@ Verification status of the customer tax ID.
|
|
|
41170
41152
|
- \`mismatch\`: Tax ID is valid but is for a different country than the customer's country.
|
|
41171
41153
|
- \`unverified\`: Tax ID has not been verified yet.
|
|
41172
41154
|
- \`unsupported\`: Tax ID verification for this type not supported yet.
|
|
41173
|
-
`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.
|
|
41155
|
+
`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.equals <value>", `name__equals`).option("--name.contains <value>", `name__contains`).option("--name.starts-with <value>", `name__startsWith`).option("--name.end-with <value>", `name__endWith`).option("--type <value>", `type`).option("--type.in <value>", `type__in`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--currency <value>", `currency`).option("--currency.not <value>", `currency__not`).option("--currency.equals <value>", `currency__equals`).option("--currency.contains <value>", `currency__contains`).option("--currency.starts-with <value>", `currency__startsWith`).option("--currency.end-with <value>", `currency__endWith`).option("--currency.is-null <value>", `currency__isNull`).option("--currency.is-not-null <value>", `currency__isNotNull`).option("--country <value>", `country`).option("--country.not <value>", `country__not`).option("--country.equals <value>", `country__equals`).option("--country.contains <value>", `country__contains`).option("--country.starts-with <value>", `country__startsWith`).option("--country.end-with <value>", `country__endWith`).option("--country.is-null <value>", `country__isNull`).option("--country.is-not-null <value>", `country__isNotNull`).option("--external-id <value>", `external_id`).option("--external-id.not <value>", `external_id__not`).option("--external-id.equals <value>", `external_id__equals`).option("--external-id.contains <value>", `external_id__contains`).option("--external-id.starts-with <value>", `external_id__startsWith`).option("--external-id.end-with <value>", `external_id__endWith`).option("--external-id.is-null <value>", `external_id__isNull`).option("--external-id.is-not-null <value>", `external_id__isNotNull`).option("--billing-email <value>", `billing_email`).option("--billing-email.not <value>", `billing_email__not`).option("--billing-email.equals <value>", `billing_email__equals`).option("--billing-email.contains <value>", `billing_email__contains`).option("--billing-email.starts-with <value>", `billing_email__startsWith`).option("--billing-email.end-with <value>", `billing_email__endWith`).option("--billing-email.is-null <value>", `billing_email__isNull`).option("--billing-email.is-not-null <value>", `billing_email__isNotNull`).option("--search <value>", `search`).option("--tax-id <value>", `tax_id`).option("--tax-id.not <value>", `tax_id__not`).option("--tax-id.equals <value>", `tax_id__equals`).option("--tax-id.contains <value>", `tax_id__contains`).option("--tax-id.starts-with <value>", `tax_id__startsWith`).option("--tax-id.end-with <value>", `tax_id__endWith`).option("--tax-id.is-null <value>", `tax_id__isNull`).option("--tax-id.is-not-null <value>", `tax_id__isNotNull`).option("--subscription-status <value>", `subscription_status`).option("--subscription-status.in <value>", `subscription_status__in`).option("--invoicing-entity-id <value>", `invoicing_entity_id`).option("--invoicing-entity-id.not <value>", `invoicing_entity_id__not`).option("--invoicing-entity-id.equals <value>", `invoicing_entity_id__equals`).option("--invoicing-entity-id.contains <value>", `invoicing_entity_id__contains`).option("--invoicing-entity-id.starts-with <value>", `invoicing_entity_id__startsWith`).option("--invoicing-entity-id.end-with <value>", `invoicing_entity_id__endWith`).option("--segment-id <value>", `segment_id`).option("--custom-properties <value>", `custom_properties`).option("--payment-method-type <value>", `payment_method_type`).option("--payment-method-type.in <value>", `payment_method_type__in`).option("--integration-entity-id <value>", `integration_entity_id`).option("--created-at <value>", `created_at`).option("--created-at.not <value>", `created_at__not`).option("--created-at.equals <value>", `created_at__equals`).option("--created-at.lt <value>", `created_at__lt`).option("--created-at.lte <value>", `created_at__lte`).option("--created-at.gt <value>", `created_at__gt`).option("--created-at.gte <value>", `created_at__gte`).option("--updated-at <value>", `updated_at`).option("--updated-at.not <value>", `updated_at__not`).option("--updated-at.equals <value>", `updated_at__equals`).option("--updated-at.lt <value>", `updated_at__lt`).option("--updated-at.lte <value>", `updated_at__lte`).option("--updated-at.gt <value>", `updated_at__gt`).option("--updated-at.gte <value>", `updated_at__gte`).addHelpText("after", `
|
|
41174
41156
|
Examples:
|
|
41175
41157
|
hyperline customers list
|
|
41176
41158
|
hyperline customers list --limit <limit> --cursor <cursor>`).action(async (opts) => {
|
|
@@ -41194,10 +41176,6 @@ Examples:
|
|
|
41194
41176
|
args.name = opts.name;
|
|
41195
41177
|
if (opts["name.not"] !== void 0)
|
|
41196
41178
|
args.name__not = opts["name.not"];
|
|
41197
|
-
if (opts["name.isNull"] !== void 0)
|
|
41198
|
-
args.name__isNull = opts["name.isNull"];
|
|
41199
|
-
if (opts["name.isNotNull"] !== void 0)
|
|
41200
|
-
args.name__isNotNull = opts["name.isNotNull"];
|
|
41201
41179
|
if (opts["name.equals"] !== void 0)
|
|
41202
41180
|
args.name__equals = opts["name.equals"];
|
|
41203
41181
|
if (opts["name.contains"] !== void 0)
|
|
@@ -41218,10 +41196,6 @@ Examples:
|
|
|
41218
41196
|
args.currency = opts.currency;
|
|
41219
41197
|
if (opts["currency.not"] !== void 0)
|
|
41220
41198
|
args.currency__not = opts["currency.not"];
|
|
41221
|
-
if (opts["currency.isNull"] !== void 0)
|
|
41222
|
-
args.currency__isNull = opts["currency.isNull"];
|
|
41223
|
-
if (opts["currency.isNotNull"] !== void 0)
|
|
41224
|
-
args.currency__isNotNull = opts["currency.isNotNull"];
|
|
41225
41199
|
if (opts["currency.equals"] !== void 0)
|
|
41226
41200
|
args.currency__equals = opts["currency.equals"];
|
|
41227
41201
|
if (opts["currency.contains"] !== void 0)
|
|
@@ -41230,14 +41204,14 @@ Examples:
|
|
|
41230
41204
|
args.currency__startsWith = opts["currency.startsWith"];
|
|
41231
41205
|
if (opts["currency.endWith"] !== void 0)
|
|
41232
41206
|
args.currency__endWith = opts["currency.endWith"];
|
|
41207
|
+
if (opts["currency.isNull"] !== void 0)
|
|
41208
|
+
args.currency__isNull = opts["currency.isNull"];
|
|
41209
|
+
if (opts["currency.isNotNull"] !== void 0)
|
|
41210
|
+
args.currency__isNotNull = opts["currency.isNotNull"];
|
|
41233
41211
|
if (opts.country !== void 0)
|
|
41234
41212
|
args.country = opts.country;
|
|
41235
41213
|
if (opts["country.not"] !== void 0)
|
|
41236
41214
|
args.country__not = opts["country.not"];
|
|
41237
|
-
if (opts["country.isNull"] !== void 0)
|
|
41238
|
-
args.country__isNull = opts["country.isNull"];
|
|
41239
|
-
if (opts["country.isNotNull"] !== void 0)
|
|
41240
|
-
args.country__isNotNull = opts["country.isNotNull"];
|
|
41241
41215
|
if (opts["country.equals"] !== void 0)
|
|
41242
41216
|
args.country__equals = opts["country.equals"];
|
|
41243
41217
|
if (opts["country.contains"] !== void 0)
|
|
@@ -41246,14 +41220,14 @@ Examples:
|
|
|
41246
41220
|
args.country__startsWith = opts["country.startsWith"];
|
|
41247
41221
|
if (opts["country.endWith"] !== void 0)
|
|
41248
41222
|
args.country__endWith = opts["country.endWith"];
|
|
41223
|
+
if (opts["country.isNull"] !== void 0)
|
|
41224
|
+
args.country__isNull = opts["country.isNull"];
|
|
41225
|
+
if (opts["country.isNotNull"] !== void 0)
|
|
41226
|
+
args.country__isNotNull = opts["country.isNotNull"];
|
|
41249
41227
|
if (opts.externalId !== void 0)
|
|
41250
41228
|
args.external_id = opts.externalId;
|
|
41251
41229
|
if (opts["externalId.not"] !== void 0)
|
|
41252
41230
|
args.external_id__not = opts["externalId.not"];
|
|
41253
|
-
if (opts["externalId.isNull"] !== void 0)
|
|
41254
|
-
args.external_id__isNull = opts["externalId.isNull"];
|
|
41255
|
-
if (opts["externalId.isNotNull"] !== void 0)
|
|
41256
|
-
args.external_id__isNotNull = opts["externalId.isNotNull"];
|
|
41257
41231
|
if (opts["externalId.equals"] !== void 0)
|
|
41258
41232
|
args.external_id__equals = opts["externalId.equals"];
|
|
41259
41233
|
if (opts["externalId.contains"] !== void 0)
|
|
@@ -41262,14 +41236,14 @@ Examples:
|
|
|
41262
41236
|
args.external_id__startsWith = opts["externalId.startsWith"];
|
|
41263
41237
|
if (opts["externalId.endWith"] !== void 0)
|
|
41264
41238
|
args.external_id__endWith = opts["externalId.endWith"];
|
|
41239
|
+
if (opts["externalId.isNull"] !== void 0)
|
|
41240
|
+
args.external_id__isNull = opts["externalId.isNull"];
|
|
41241
|
+
if (opts["externalId.isNotNull"] !== void 0)
|
|
41242
|
+
args.external_id__isNotNull = opts["externalId.isNotNull"];
|
|
41265
41243
|
if (opts.billingEmail !== void 0)
|
|
41266
41244
|
args.billing_email = opts.billingEmail;
|
|
41267
41245
|
if (opts["billingEmail.not"] !== void 0)
|
|
41268
41246
|
args.billing_email__not = opts["billingEmail.not"];
|
|
41269
|
-
if (opts["billingEmail.isNull"] !== void 0)
|
|
41270
|
-
args.billing_email__isNull = opts["billingEmail.isNull"];
|
|
41271
|
-
if (opts["billingEmail.isNotNull"] !== void 0)
|
|
41272
|
-
args.billing_email__isNotNull = opts["billingEmail.isNotNull"];
|
|
41273
41247
|
if (opts["billingEmail.equals"] !== void 0)
|
|
41274
41248
|
args.billing_email__equals = opts["billingEmail.equals"];
|
|
41275
41249
|
if (opts["billingEmail.contains"] !== void 0)
|
|
@@ -41278,16 +41252,16 @@ Examples:
|
|
|
41278
41252
|
args.billing_email__startsWith = opts["billingEmail.startsWith"];
|
|
41279
41253
|
if (opts["billingEmail.endWith"] !== void 0)
|
|
41280
41254
|
args.billing_email__endWith = opts["billingEmail.endWith"];
|
|
41255
|
+
if (opts["billingEmail.isNull"] !== void 0)
|
|
41256
|
+
args.billing_email__isNull = opts["billingEmail.isNull"];
|
|
41257
|
+
if (opts["billingEmail.isNotNull"] !== void 0)
|
|
41258
|
+
args.billing_email__isNotNull = opts["billingEmail.isNotNull"];
|
|
41281
41259
|
if (opts.search !== void 0)
|
|
41282
41260
|
args.search = opts.search;
|
|
41283
41261
|
if (opts.taxId !== void 0)
|
|
41284
41262
|
args.tax_id = opts.taxId;
|
|
41285
41263
|
if (opts["taxId.not"] !== void 0)
|
|
41286
41264
|
args.tax_id__not = opts["taxId.not"];
|
|
41287
|
-
if (opts["taxId.isNull"] !== void 0)
|
|
41288
|
-
args.tax_id__isNull = opts["taxId.isNull"];
|
|
41289
|
-
if (opts["taxId.isNotNull"] !== void 0)
|
|
41290
|
-
args.tax_id__isNotNull = opts["taxId.isNotNull"];
|
|
41291
41265
|
if (opts["taxId.equals"] !== void 0)
|
|
41292
41266
|
args.tax_id__equals = opts["taxId.equals"];
|
|
41293
41267
|
if (opts["taxId.contains"] !== void 0)
|
|
@@ -41296,6 +41270,10 @@ Examples:
|
|
|
41296
41270
|
args.tax_id__startsWith = opts["taxId.startsWith"];
|
|
41297
41271
|
if (opts["taxId.endWith"] !== void 0)
|
|
41298
41272
|
args.tax_id__endWith = opts["taxId.endWith"];
|
|
41273
|
+
if (opts["taxId.isNull"] !== void 0)
|
|
41274
|
+
args.tax_id__isNull = opts["taxId.isNull"];
|
|
41275
|
+
if (opts["taxId.isNotNull"] !== void 0)
|
|
41276
|
+
args.tax_id__isNotNull = opts["taxId.isNotNull"];
|
|
41299
41277
|
if (opts.subscriptionStatus !== void 0)
|
|
41300
41278
|
args.subscription_status = opts.subscriptionStatus;
|
|
41301
41279
|
if (opts["subscriptionStatus.in"] !== void 0)
|
|
@@ -41304,10 +41282,6 @@ Examples:
|
|
|
41304
41282
|
args.invoicing_entity_id = opts.invoicingEntityId;
|
|
41305
41283
|
if (opts["invoicingEntityId.not"] !== void 0)
|
|
41306
41284
|
args.invoicing_entity_id__not = opts["invoicingEntityId.not"];
|
|
41307
|
-
if (opts["invoicingEntityId.isNull"] !== void 0)
|
|
41308
|
-
args.invoicing_entity_id__isNull = opts["invoicingEntityId.isNull"];
|
|
41309
|
-
if (opts["invoicingEntityId.isNotNull"] !== void 0)
|
|
41310
|
-
args.invoicing_entity_id__isNotNull = opts["invoicingEntityId.isNotNull"];
|
|
41311
41285
|
if (opts["invoicingEntityId.equals"] !== void 0)
|
|
41312
41286
|
args.invoicing_entity_id__equals = opts["invoicingEntityId.equals"];
|
|
41313
41287
|
if (opts["invoicingEntityId.contains"] !== void 0)
|
|
@@ -41330,10 +41304,6 @@ Examples:
|
|
|
41330
41304
|
args.created_at = opts.createdAt;
|
|
41331
41305
|
if (opts["createdAt.not"] !== void 0)
|
|
41332
41306
|
args.created_at__not = opts["createdAt.not"];
|
|
41333
|
-
if (opts["createdAt.isNull"] !== void 0)
|
|
41334
|
-
args.created_at__isNull = opts["createdAt.isNull"];
|
|
41335
|
-
if (opts["createdAt.isNotNull"] !== void 0)
|
|
41336
|
-
args.created_at__isNotNull = opts["createdAt.isNotNull"];
|
|
41337
41307
|
if (opts["createdAt.equals"] !== void 0)
|
|
41338
41308
|
args.created_at__equals = opts["createdAt.equals"];
|
|
41339
41309
|
if (opts["createdAt.lt"] !== void 0)
|
|
@@ -41348,10 +41318,6 @@ Examples:
|
|
|
41348
41318
|
args.updated_at = opts.updatedAt;
|
|
41349
41319
|
if (opts["updatedAt.not"] !== void 0)
|
|
41350
41320
|
args.updated_at__not = opts["updatedAt.not"];
|
|
41351
|
-
if (opts["updatedAt.isNull"] !== void 0)
|
|
41352
|
-
args.updated_at__isNull = opts["updatedAt.isNull"];
|
|
41353
|
-
if (opts["updatedAt.isNotNull"] !== void 0)
|
|
41354
|
-
args.updated_at__isNotNull = opts["updatedAt.isNotNull"];
|
|
41355
41321
|
if (opts["updatedAt.equals"] !== void 0)
|
|
41356
41322
|
args.updated_at__equals = opts["updatedAt.equals"];
|
|
41357
41323
|
if (opts["updatedAt.lt"] !== void 0)
|
|
@@ -41377,8 +41343,6 @@ Examples:
|
|
|
41377
41343
|
"tax_id_status",
|
|
41378
41344
|
"name",
|
|
41379
41345
|
"name__not",
|
|
41380
|
-
"name__isNull",
|
|
41381
|
-
"name__isNotNull",
|
|
41382
41346
|
"name__equals",
|
|
41383
41347
|
"name__contains",
|
|
41384
41348
|
"name__startsWith",
|
|
@@ -41389,51 +41353,49 @@ Examples:
|
|
|
41389
41353
|
"status__in",
|
|
41390
41354
|
"currency",
|
|
41391
41355
|
"currency__not",
|
|
41392
|
-
"currency__isNull",
|
|
41393
|
-
"currency__isNotNull",
|
|
41394
41356
|
"currency__equals",
|
|
41395
41357
|
"currency__contains",
|
|
41396
41358
|
"currency__startsWith",
|
|
41397
41359
|
"currency__endWith",
|
|
41360
|
+
"currency__isNull",
|
|
41361
|
+
"currency__isNotNull",
|
|
41398
41362
|
"country",
|
|
41399
41363
|
"country__not",
|
|
41400
|
-
"country__isNull",
|
|
41401
|
-
"country__isNotNull",
|
|
41402
41364
|
"country__equals",
|
|
41403
41365
|
"country__contains",
|
|
41404
41366
|
"country__startsWith",
|
|
41405
41367
|
"country__endWith",
|
|
41368
|
+
"country__isNull",
|
|
41369
|
+
"country__isNotNull",
|
|
41406
41370
|
"external_id",
|
|
41407
41371
|
"external_id__not",
|
|
41408
|
-
"external_id__isNull",
|
|
41409
|
-
"external_id__isNotNull",
|
|
41410
41372
|
"external_id__equals",
|
|
41411
41373
|
"external_id__contains",
|
|
41412
41374
|
"external_id__startsWith",
|
|
41413
41375
|
"external_id__endWith",
|
|
41376
|
+
"external_id__isNull",
|
|
41377
|
+
"external_id__isNotNull",
|
|
41414
41378
|
"billing_email",
|
|
41415
41379
|
"billing_email__not",
|
|
41416
|
-
"billing_email__isNull",
|
|
41417
|
-
"billing_email__isNotNull",
|
|
41418
41380
|
"billing_email__equals",
|
|
41419
41381
|
"billing_email__contains",
|
|
41420
41382
|
"billing_email__startsWith",
|
|
41421
41383
|
"billing_email__endWith",
|
|
41384
|
+
"billing_email__isNull",
|
|
41385
|
+
"billing_email__isNotNull",
|
|
41422
41386
|
"search",
|
|
41423
41387
|
"tax_id",
|
|
41424
41388
|
"tax_id__not",
|
|
41425
|
-
"tax_id__isNull",
|
|
41426
|
-
"tax_id__isNotNull",
|
|
41427
41389
|
"tax_id__equals",
|
|
41428
41390
|
"tax_id__contains",
|
|
41429
41391
|
"tax_id__startsWith",
|
|
41430
41392
|
"tax_id__endWith",
|
|
41393
|
+
"tax_id__isNull",
|
|
41394
|
+
"tax_id__isNotNull",
|
|
41431
41395
|
"subscription_status",
|
|
41432
41396
|
"subscription_status__in",
|
|
41433
41397
|
"invoicing_entity_id",
|
|
41434
41398
|
"invoicing_entity_id__not",
|
|
41435
|
-
"invoicing_entity_id__isNull",
|
|
41436
|
-
"invoicing_entity_id__isNotNull",
|
|
41437
41399
|
"invoicing_entity_id__equals",
|
|
41438
41400
|
"invoicing_entity_id__contains",
|
|
41439
41401
|
"invoicing_entity_id__startsWith",
|
|
@@ -41445,8 +41407,6 @@ Examples:
|
|
|
41445
41407
|
"integration_entity_id",
|
|
41446
41408
|
"created_at",
|
|
41447
41409
|
"created_at__not",
|
|
41448
|
-
"created_at__isNull",
|
|
41449
|
-
"created_at__isNotNull",
|
|
41450
41410
|
"created_at__equals",
|
|
41451
41411
|
"created_at__lt",
|
|
41452
41412
|
"created_at__lte",
|
|
@@ -41454,8 +41414,6 @@ Examples:
|
|
|
41454
41414
|
"created_at__gte",
|
|
41455
41415
|
"updated_at",
|
|
41456
41416
|
"updated_at__not",
|
|
41457
|
-
"updated_at__isNull",
|
|
41458
|
-
"updated_at__isNotNull",
|
|
41459
41417
|
"updated_at__equals",
|
|
41460
41418
|
"updated_at__lt",
|
|
41461
41419
|
"updated_at__lte",
|
|
@@ -42024,7 +41982,7 @@ Examples:
|
|
|
42024
41982
|
// build/commands/generated/customers-credits.js
|
|
42025
41983
|
function registerCustomers_CreditsCommands(parent) {
|
|
42026
41984
|
const resource = parent.command("customers-credits").description("Manage customers > credits");
|
|
42027
|
-
resource.command("list").description(`List credit products across all customers with optional filters for product_id, customer_id, and updated_at. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--product-id <value>", `product_id`).option("--product-id.not <value>", `product_id__not`).option("--product-id.
|
|
41985
|
+
resource.command("list").description(`List credit products across all customers with optional filters for product_id, customer_id, and updated_at. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--product-id <value>", `product_id`).option("--product-id.not <value>", `product_id__not`).option("--product-id.equals <value>", `product_id__equals`).option("--product-id.contains <value>", `product_id__contains`).option("--product-id.starts-with <value>", `product_id__startsWith`).option("--product-id.end-with <value>", `product_id__endWith`).option("--customer-id <value>", `customer_id`).option("--customer-id.not <value>", `customer_id__not`).option("--customer-id.equals <value>", `customer_id__equals`).option("--customer-id.contains <value>", `customer_id__contains`).option("--customer-id.starts-with <value>", `customer_id__startsWith`).option("--customer-id.end-with <value>", `customer_id__endWith`).option("--updated-at <value>", `updated_at`).option("--updated-at.not <value>", `updated_at__not`).option("--updated-at.equals <value>", `updated_at__equals`).option("--updated-at.lt <value>", `updated_at__lt`).option("--updated-at.lte <value>", `updated_at__lte`).option("--updated-at.gt <value>", `updated_at__gt`).option("--updated-at.gte <value>", `updated_at__gte`).addHelpText("after", `
|
|
42028
41986
|
Examples:
|
|
42029
41987
|
hyperline customers-credits list
|
|
42030
41988
|
hyperline customers-credits list --take <take> --product-id <product_id>`).action(async (opts) => {
|
|
@@ -42038,10 +41996,6 @@ Examples:
|
|
|
42038
41996
|
args.product_id = opts.productId;
|
|
42039
41997
|
if (opts["productId.not"] !== void 0)
|
|
42040
41998
|
args.product_id__not = opts["productId.not"];
|
|
42041
|
-
if (opts["productId.isNull"] !== void 0)
|
|
42042
|
-
args.product_id__isNull = opts["productId.isNull"];
|
|
42043
|
-
if (opts["productId.isNotNull"] !== void 0)
|
|
42044
|
-
args.product_id__isNotNull = opts["productId.isNotNull"];
|
|
42045
41999
|
if (opts["productId.equals"] !== void 0)
|
|
42046
42000
|
args.product_id__equals = opts["productId.equals"];
|
|
42047
42001
|
if (opts["productId.contains"] !== void 0)
|
|
@@ -42054,10 +42008,6 @@ Examples:
|
|
|
42054
42008
|
args.customer_id = opts.customerId;
|
|
42055
42009
|
if (opts["customerId.not"] !== void 0)
|
|
42056
42010
|
args.customer_id__not = opts["customerId.not"];
|
|
42057
|
-
if (opts["customerId.isNull"] !== void 0)
|
|
42058
|
-
args.customer_id__isNull = opts["customerId.isNull"];
|
|
42059
|
-
if (opts["customerId.isNotNull"] !== void 0)
|
|
42060
|
-
args.customer_id__isNotNull = opts["customerId.isNotNull"];
|
|
42061
42011
|
if (opts["customerId.equals"] !== void 0)
|
|
42062
42012
|
args.customer_id__equals = opts["customerId.equals"];
|
|
42063
42013
|
if (opts["customerId.contains"] !== void 0)
|
|
@@ -42070,10 +42020,6 @@ Examples:
|
|
|
42070
42020
|
args.updated_at = opts.updatedAt;
|
|
42071
42021
|
if (opts["updatedAt.not"] !== void 0)
|
|
42072
42022
|
args.updated_at__not = opts["updatedAt.not"];
|
|
42073
|
-
if (opts["updatedAt.isNull"] !== void 0)
|
|
42074
|
-
args.updated_at__isNull = opts["updatedAt.isNull"];
|
|
42075
|
-
if (opts["updatedAt.isNotNull"] !== void 0)
|
|
42076
|
-
args.updated_at__isNotNull = opts["updatedAt.isNotNull"];
|
|
42077
42023
|
if (opts["updatedAt.equals"] !== void 0)
|
|
42078
42024
|
args.updated_at__equals = opts["updatedAt.equals"];
|
|
42079
42025
|
if (opts["updatedAt.lt"] !== void 0)
|
|
@@ -42097,24 +42043,18 @@ Examples:
|
|
|
42097
42043
|
"skip",
|
|
42098
42044
|
"product_id",
|
|
42099
42045
|
"product_id__not",
|
|
42100
|
-
"product_id__isNull",
|
|
42101
|
-
"product_id__isNotNull",
|
|
42102
42046
|
"product_id__equals",
|
|
42103
42047
|
"product_id__contains",
|
|
42104
42048
|
"product_id__startsWith",
|
|
42105
42049
|
"product_id__endWith",
|
|
42106
42050
|
"customer_id",
|
|
42107
42051
|
"customer_id__not",
|
|
42108
|
-
"customer_id__isNull",
|
|
42109
|
-
"customer_id__isNotNull",
|
|
42110
42052
|
"customer_id__equals",
|
|
42111
42053
|
"customer_id__contains",
|
|
42112
42054
|
"customer_id__startsWith",
|
|
42113
42055
|
"customer_id__endWith",
|
|
42114
42056
|
"updated_at",
|
|
42115
42057
|
"updated_at__not",
|
|
42116
|
-
"updated_at__isNull",
|
|
42117
|
-
"updated_at__isNotNull",
|
|
42118
42058
|
"updated_at__equals",
|
|
42119
42059
|
"updated_at__lt",
|
|
42120
42060
|
"updated_at__lte",
|
|
@@ -42387,6 +42327,88 @@ Examples:
|
|
|
42387
42327
|
});
|
|
42388
42328
|
}
|
|
42389
42329
|
|
|
42330
|
+
// build/commands/generated/customers-features.js
|
|
42331
|
+
function registerCustomers_FeaturesCommands(parent) {
|
|
42332
|
+
const resource = parent.command("customers-features").description("Manage customers > features");
|
|
42333
|
+
resource.command("resolve-customer-features").description(`Resolve feature values for a customer.`).requiredOption("--id <value>", `id parameter`).option("--at <value>", `Resolution date.`).addHelpText("after", `
|
|
42334
|
+
Examples:
|
|
42335
|
+
hyperline customers-features resolve-customer-features --id <id>
|
|
42336
|
+
hyperline customers-features resolve-customer-features --id <id> --at <at>`).action(async (opts) => {
|
|
42337
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
42338
|
+
if (!ctx) {
|
|
42339
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
42340
|
+
process.exit(1);
|
|
42341
|
+
}
|
|
42342
|
+
const args = {};
|
|
42343
|
+
if (opts.id !== void 0)
|
|
42344
|
+
args.id = opts.id;
|
|
42345
|
+
if (opts.at !== void 0)
|
|
42346
|
+
args.at = opts.at;
|
|
42347
|
+
await ctx.execute({
|
|
42348
|
+
method: "GET",
|
|
42349
|
+
path: "/v1/customers/{id}/features",
|
|
42350
|
+
args,
|
|
42351
|
+
queryParamKeys: ["at"]
|
|
42352
|
+
});
|
|
42353
|
+
});
|
|
42354
|
+
resource.command("set-customer-feature").description(`Set a feature override for a customer.`).requiredOption("--id <value>", `id parameter`).requiredOption("--code <value>", `code parameter`).requiredOption("--value", `Feature value.`).option("--reason <value>", `Reason associated with a customer feature override.`).option("--expires-at <value>", `Expiration date of a customer feature override.`).addHelpText("after", `
|
|
42355
|
+
Examples:
|
|
42356
|
+
hyperline customers-features set-customer-feature --id <id> --code <code> --value
|
|
42357
|
+
hyperline customers-features set-customer-feature --id <id> --code <code> --value --reason <reason> --expires-at <expires_at>
|
|
42358
|
+
hyperline customers-features set-customer-feature --id <id> --code <code> --value --output json`).action(async (opts) => {
|
|
42359
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
42360
|
+
if (!ctx) {
|
|
42361
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
42362
|
+
process.exit(1);
|
|
42363
|
+
}
|
|
42364
|
+
const args = {};
|
|
42365
|
+
if (opts.id !== void 0)
|
|
42366
|
+
args.id = opts.id;
|
|
42367
|
+
if (opts.code !== void 0)
|
|
42368
|
+
args.code = opts.code;
|
|
42369
|
+
if (opts.reason !== void 0)
|
|
42370
|
+
args.reason = opts.reason;
|
|
42371
|
+
if (opts.expiresAt !== void 0)
|
|
42372
|
+
args.expires_at = opts.expiresAt;
|
|
42373
|
+
if (opts.value !== void 0)
|
|
42374
|
+
args.value = true;
|
|
42375
|
+
await ctx.execute({
|
|
42376
|
+
method: "PUT",
|
|
42377
|
+
path: "/v1/customers/{id}/features/{code}",
|
|
42378
|
+
args,
|
|
42379
|
+
queryParamKeys: []
|
|
42380
|
+
});
|
|
42381
|
+
});
|
|
42382
|
+
resource.command("delete-customer-feature").description(`Delete a feature override from a customer.`).requiredOption("--id <value>", `id parameter`).requiredOption("--code <value>", `code parameter`).option("--yes", "Skip confirmation").addHelpText("after", `
|
|
42383
|
+
Examples:
|
|
42384
|
+
hyperline customers-features delete-customer-feature --id <id> --code <code>
|
|
42385
|
+
hyperline customers-features delete-customer-feature --id <id> --code <code> --output json`).action(async (opts) => {
|
|
42386
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
42387
|
+
if (!ctx) {
|
|
42388
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
42389
|
+
process.exit(1);
|
|
42390
|
+
}
|
|
42391
|
+
const args = {};
|
|
42392
|
+
if (opts.id !== void 0)
|
|
42393
|
+
args.id = opts.id;
|
|
42394
|
+
if (opts.code !== void 0)
|
|
42395
|
+
args.code = opts.code;
|
|
42396
|
+
if (!opts.yes) {
|
|
42397
|
+
const confirmed = await confirmPrompt("Are you sure? Pass --yes to skip. [y/N] ");
|
|
42398
|
+
if (!confirmed) {
|
|
42399
|
+
process.stdout.write("Aborted.\n");
|
|
42400
|
+
return;
|
|
42401
|
+
}
|
|
42402
|
+
}
|
|
42403
|
+
await ctx.execute({
|
|
42404
|
+
method: "DELETE",
|
|
42405
|
+
path: "/v1/customers/{id}/features/{code}",
|
|
42406
|
+
args,
|
|
42407
|
+
queryParamKeys: []
|
|
42408
|
+
});
|
|
42409
|
+
});
|
|
42410
|
+
}
|
|
42411
|
+
|
|
42390
42412
|
// build/commands/generated/customers-payment-methods.js
|
|
42391
42413
|
function registerCustomers_Payment_MethodsCommands(parent) {
|
|
42392
42414
|
const resource = parent.command("customers-payment-methods").description("Manage customers > payment methods");
|
|
@@ -42836,6 +42858,222 @@ Examples:
|
|
|
42836
42858
|
});
|
|
42837
42859
|
}
|
|
42838
42860
|
|
|
42861
|
+
// build/commands/generated/features.js
|
|
42862
|
+
function registerFeaturesCommands(parent) {
|
|
42863
|
+
const resource = parent.command("features").description("Manage features");
|
|
42864
|
+
resource.command("list").description(`List feature definitions.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--code <value>", `code`).option("--code.not <value>", `code__not`).option("--code.equals <value>", `code__equals`).option("--code.contains <value>", `code__contains`).option("--code.starts-with <value>", `code__startsWith`).option("--code.end-with <value>", `code__endWith`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.equals <value>", `name__equals`).option("--name.contains <value>", `name__contains`).option("--name.starts-with <value>", `name__startsWith`).option("--name.end-with <value>", `name__endWith`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--search <value>", `search`).addHelpText("after", `
|
|
42865
|
+
Examples:
|
|
42866
|
+
hyperline features list
|
|
42867
|
+
hyperline features list --take <take> --code <code>`).action(async (opts) => {
|
|
42868
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
42869
|
+
if (!ctx) {
|
|
42870
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
42871
|
+
process.exit(1);
|
|
42872
|
+
}
|
|
42873
|
+
const args = {};
|
|
42874
|
+
if (opts.code !== void 0)
|
|
42875
|
+
args.code = opts.code;
|
|
42876
|
+
if (opts["code.not"] !== void 0)
|
|
42877
|
+
args.code__not = opts["code.not"];
|
|
42878
|
+
if (opts["code.equals"] !== void 0)
|
|
42879
|
+
args.code__equals = opts["code.equals"];
|
|
42880
|
+
if (opts["code.contains"] !== void 0)
|
|
42881
|
+
args.code__contains = opts["code.contains"];
|
|
42882
|
+
if (opts["code.startsWith"] !== void 0)
|
|
42883
|
+
args.code__startsWith = opts["code.startsWith"];
|
|
42884
|
+
if (opts["code.endWith"] !== void 0)
|
|
42885
|
+
args.code__endWith = opts["code.endWith"];
|
|
42886
|
+
if (opts.name !== void 0)
|
|
42887
|
+
args.name = opts.name;
|
|
42888
|
+
if (opts["name.not"] !== void 0)
|
|
42889
|
+
args.name__not = opts["name.not"];
|
|
42890
|
+
if (opts["name.equals"] !== void 0)
|
|
42891
|
+
args.name__equals = opts["name.equals"];
|
|
42892
|
+
if (opts["name.contains"] !== void 0)
|
|
42893
|
+
args.name__contains = opts["name.contains"];
|
|
42894
|
+
if (opts["name.startsWith"] !== void 0)
|
|
42895
|
+
args.name__startsWith = opts["name.startsWith"];
|
|
42896
|
+
if (opts["name.endWith"] !== void 0)
|
|
42897
|
+
args.name__endWith = opts["name.endWith"];
|
|
42898
|
+
if (opts.status !== void 0)
|
|
42899
|
+
args.status = opts.status;
|
|
42900
|
+
if (opts["status.in"] !== void 0)
|
|
42901
|
+
args.status__in = opts["status.in"];
|
|
42902
|
+
if (opts.search !== void 0)
|
|
42903
|
+
args.search = opts.search;
|
|
42904
|
+
if (opts.take !== void 0)
|
|
42905
|
+
args.take = Number(opts.take);
|
|
42906
|
+
if (opts.skip !== void 0)
|
|
42907
|
+
args.skip = Number(opts.skip);
|
|
42908
|
+
await ctx.execute({
|
|
42909
|
+
method: "GET",
|
|
42910
|
+
path: "/v1/features",
|
|
42911
|
+
args,
|
|
42912
|
+
queryParamKeys: [
|
|
42913
|
+
"take",
|
|
42914
|
+
"skip",
|
|
42915
|
+
"code",
|
|
42916
|
+
"code__not",
|
|
42917
|
+
"code__equals",
|
|
42918
|
+
"code__contains",
|
|
42919
|
+
"code__startsWith",
|
|
42920
|
+
"code__endWith",
|
|
42921
|
+
"name",
|
|
42922
|
+
"name__not",
|
|
42923
|
+
"name__equals",
|
|
42924
|
+
"name__contains",
|
|
42925
|
+
"name__startsWith",
|
|
42926
|
+
"name__endWith",
|
|
42927
|
+
"status",
|
|
42928
|
+
"status__in",
|
|
42929
|
+
"search"
|
|
42930
|
+
]
|
|
42931
|
+
});
|
|
42932
|
+
});
|
|
42933
|
+
resource.command("create").description(`Create a feature definition.`).requiredOption("--code <value>", `Feature code.`).requiredOption("--name <value>", `Feature name.`).option("--description <value>", `Feature description.`).requiredOption("--value-type <value>", `Type of feature value.`).requiredOption("--default-value", `Default value used when no product or customer feature value applies. Null means no default.`).option("--resolution-strategy <value>", `Strategy used to combine multiple product feature values for number features.`).addHelpText("after", `
|
|
42934
|
+
Examples:
|
|
42935
|
+
hyperline features create --code <code> --name <name> --value-type <value_type> --default-value
|
|
42936
|
+
hyperline features create --code <code> --name <name> --value-type <value_type> --default-value --description <description> --resolution-strategy <resolution_strategy>
|
|
42937
|
+
hyperline features create --code <code> --name <name> --value-type <value_type> --default-value --output json`).action(async (opts) => {
|
|
42938
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
42939
|
+
if (!ctx) {
|
|
42940
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
42941
|
+
process.exit(1);
|
|
42942
|
+
}
|
|
42943
|
+
const args = {};
|
|
42944
|
+
if (opts.code !== void 0)
|
|
42945
|
+
args.code = opts.code;
|
|
42946
|
+
if (opts.name !== void 0)
|
|
42947
|
+
args.name = opts.name;
|
|
42948
|
+
if (opts.description !== void 0)
|
|
42949
|
+
args.description = opts.description;
|
|
42950
|
+
if (opts.valueType !== void 0)
|
|
42951
|
+
args.value_type = opts.valueType;
|
|
42952
|
+
if (opts.resolutionStrategy !== void 0)
|
|
42953
|
+
args.resolution_strategy = opts.resolutionStrategy;
|
|
42954
|
+
if (opts.defaultValue !== void 0)
|
|
42955
|
+
args.default_value = true;
|
|
42956
|
+
await ctx.execute({
|
|
42957
|
+
method: "POST",
|
|
42958
|
+
path: "/v1/features",
|
|
42959
|
+
args,
|
|
42960
|
+
queryParamKeys: []
|
|
42961
|
+
});
|
|
42962
|
+
});
|
|
42963
|
+
resource.command("get").description(`Retrieve a feature definition.`).requiredOption("--code <value>", `code parameter`).addHelpText("after", `
|
|
42964
|
+
Examples:
|
|
42965
|
+
hyperline features get --code <code>`).action(async (opts) => {
|
|
42966
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
42967
|
+
if (!ctx) {
|
|
42968
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
42969
|
+
process.exit(1);
|
|
42970
|
+
}
|
|
42971
|
+
const args = {};
|
|
42972
|
+
if (opts.code !== void 0)
|
|
42973
|
+
args.code = opts.code;
|
|
42974
|
+
await ctx.execute({
|
|
42975
|
+
method: "GET",
|
|
42976
|
+
path: "/v1/features/{code}",
|
|
42977
|
+
args,
|
|
42978
|
+
queryParamKeys: []
|
|
42979
|
+
});
|
|
42980
|
+
});
|
|
42981
|
+
resource.command("update").description(`Update a feature definition.`).requiredOption("--code <value>", `code parameter`).option("--name <value>", `Feature name.`).option("--description <value>", `Feature description.`).option("--value-type <value>", `value_type`).option("--default-value", `Default value used when no product or customer feature value applies. Null means no default.`).option("--resolution-strategy <value>", `Strategy used to combine multiple product feature values for number features.`).addHelpText("after", `
|
|
42982
|
+
Examples:
|
|
42983
|
+
hyperline features update --code <code>
|
|
42984
|
+
hyperline features update --code <code> --name <name> --description <description>
|
|
42985
|
+
hyperline features update --code <code> --output json`).action(async (opts) => {
|
|
42986
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
42987
|
+
if (!ctx) {
|
|
42988
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
42989
|
+
process.exit(1);
|
|
42990
|
+
}
|
|
42991
|
+
const args = {};
|
|
42992
|
+
if (opts.code !== void 0)
|
|
42993
|
+
args.code = opts.code;
|
|
42994
|
+
if (opts.name !== void 0)
|
|
42995
|
+
args.name = opts.name;
|
|
42996
|
+
if (opts.description !== void 0)
|
|
42997
|
+
args.description = opts.description;
|
|
42998
|
+
if (opts.valueType !== void 0)
|
|
42999
|
+
args.value_type = opts.valueType;
|
|
43000
|
+
if (opts.resolutionStrategy !== void 0)
|
|
43001
|
+
args.resolution_strategy = opts.resolutionStrategy;
|
|
43002
|
+
if (opts.defaultValue !== void 0)
|
|
43003
|
+
args.default_value = true;
|
|
43004
|
+
await ctx.execute({
|
|
43005
|
+
method: "PUT",
|
|
43006
|
+
path: "/v1/features/{code}",
|
|
43007
|
+
args,
|
|
43008
|
+
queryParamKeys: []
|
|
43009
|
+
});
|
|
43010
|
+
});
|
|
43011
|
+
resource.command("archive").description(`Archive a feature definition.`).requiredOption("--code <value>", `code parameter`).addHelpText("after", `
|
|
43012
|
+
Examples:
|
|
43013
|
+
hyperline features archive --code <code>
|
|
43014
|
+
hyperline features archive --code <code> --output json`).action(async (opts) => {
|
|
43015
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
43016
|
+
if (!ctx) {
|
|
43017
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
43018
|
+
process.exit(1);
|
|
43019
|
+
}
|
|
43020
|
+
const args = {};
|
|
43021
|
+
if (opts.code !== void 0)
|
|
43022
|
+
args.code = opts.code;
|
|
43023
|
+
await ctx.execute({
|
|
43024
|
+
method: "PUT",
|
|
43025
|
+
path: "/v1/features/{code}/archive",
|
|
43026
|
+
args,
|
|
43027
|
+
queryParamKeys: []
|
|
43028
|
+
});
|
|
43029
|
+
});
|
|
43030
|
+
resource.command("delete").description(`Delete an archived feature definition that is not in use.`).requiredOption("--code <value>", `code parameter`).option("--yes", "Skip confirmation").addHelpText("after", `
|
|
43031
|
+
Examples:
|
|
43032
|
+
hyperline features delete --code <code>
|
|
43033
|
+
hyperline features delete --code <code> --output json`).action(async (opts) => {
|
|
43034
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
43035
|
+
if (!ctx) {
|
|
43036
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
43037
|
+
process.exit(1);
|
|
43038
|
+
}
|
|
43039
|
+
const args = {};
|
|
43040
|
+
if (opts.code !== void 0)
|
|
43041
|
+
args.code = opts.code;
|
|
43042
|
+
if (!opts.yes) {
|
|
43043
|
+
const confirmed = await confirmPrompt("Are you sure? Pass --yes to skip. [y/N] ");
|
|
43044
|
+
if (!confirmed) {
|
|
43045
|
+
process.stdout.write("Aborted.\n");
|
|
43046
|
+
return;
|
|
43047
|
+
}
|
|
43048
|
+
}
|
|
43049
|
+
await ctx.execute({
|
|
43050
|
+
method: "DELETE",
|
|
43051
|
+
path: "/v1/features/{code}",
|
|
43052
|
+
args,
|
|
43053
|
+
queryParamKeys: []
|
|
43054
|
+
});
|
|
43055
|
+
});
|
|
43056
|
+
resource.command("unarchive").description(`Unarchive a feature definition.`).requiredOption("--code <value>", `code parameter`).addHelpText("after", `
|
|
43057
|
+
Examples:
|
|
43058
|
+
hyperline features unarchive --code <code>
|
|
43059
|
+
hyperline features unarchive --code <code> --output json`).action(async (opts) => {
|
|
43060
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
43061
|
+
if (!ctx) {
|
|
43062
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
43063
|
+
process.exit(1);
|
|
43064
|
+
}
|
|
43065
|
+
const args = {};
|
|
43066
|
+
if (opts.code !== void 0)
|
|
43067
|
+
args.code = opts.code;
|
|
43068
|
+
await ctx.execute({
|
|
43069
|
+
method: "PUT",
|
|
43070
|
+
path: "/v1/features/{code}/unarchive",
|
|
43071
|
+
args,
|
|
43072
|
+
queryParamKeys: []
|
|
43073
|
+
});
|
|
43074
|
+
});
|
|
43075
|
+
}
|
|
43076
|
+
|
|
42839
43077
|
// build/commands/generated/files.js
|
|
42840
43078
|
function registerFilesCommands(parent) {
|
|
42841
43079
|
const resource = parent.command("files").description("Manage files");
|
|
@@ -42857,7 +43095,7 @@ Examples:
|
|
|
42857
43095
|
queryParamKeys: []
|
|
42858
43096
|
});
|
|
42859
43097
|
});
|
|
42860
|
-
resource.command("list").description(`List uploaded files with optional filters for name and customer_id. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.
|
|
43098
|
+
resource.command("list").description(`List uploaded files with optional filters for name and customer_id. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.equals <value>", `name__equals`).option("--name.contains <value>", `name__contains`).option("--name.starts-with <value>", `name__startsWith`).option("--name.end-with <value>", `name__endWith`).option("--customer-id <value>", `customer_id`).option("--customer-id.not <value>", `customer_id__not`).option("--customer-id.equals <value>", `customer_id__equals`).option("--customer-id.contains <value>", `customer_id__contains`).option("--customer-id.starts-with <value>", `customer_id__startsWith`).option("--customer-id.end-with <value>", `customer_id__endWith`).option("--customer-id.is-null <value>", `customer_id__isNull`).option("--customer-id.is-not-null <value>", `customer_id__isNotNull`).addHelpText("after", `
|
|
42861
43099
|
Examples:
|
|
42862
43100
|
hyperline files list
|
|
42863
43101
|
hyperline files list --take <take> --name <name>`).action(async (opts) => {
|
|
@@ -42871,10 +43109,6 @@ Examples:
|
|
|
42871
43109
|
args.name = opts.name;
|
|
42872
43110
|
if (opts["name.not"] !== void 0)
|
|
42873
43111
|
args.name__not = opts["name.not"];
|
|
42874
|
-
if (opts["name.isNull"] !== void 0)
|
|
42875
|
-
args.name__isNull = opts["name.isNull"];
|
|
42876
|
-
if (opts["name.isNotNull"] !== void 0)
|
|
42877
|
-
args.name__isNotNull = opts["name.isNotNull"];
|
|
42878
43112
|
if (opts["name.equals"] !== void 0)
|
|
42879
43113
|
args.name__equals = opts["name.equals"];
|
|
42880
43114
|
if (opts["name.contains"] !== void 0)
|
|
@@ -42887,10 +43121,6 @@ Examples:
|
|
|
42887
43121
|
args.customer_id = opts.customerId;
|
|
42888
43122
|
if (opts["customerId.not"] !== void 0)
|
|
42889
43123
|
args.customer_id__not = opts["customerId.not"];
|
|
42890
|
-
if (opts["customerId.isNull"] !== void 0)
|
|
42891
|
-
args.customer_id__isNull = opts["customerId.isNull"];
|
|
42892
|
-
if (opts["customerId.isNotNull"] !== void 0)
|
|
42893
|
-
args.customer_id__isNotNull = opts["customerId.isNotNull"];
|
|
42894
43124
|
if (opts["customerId.equals"] !== void 0)
|
|
42895
43125
|
args.customer_id__equals = opts["customerId.equals"];
|
|
42896
43126
|
if (opts["customerId.contains"] !== void 0)
|
|
@@ -42899,6 +43129,10 @@ Examples:
|
|
|
42899
43129
|
args.customer_id__startsWith = opts["customerId.startsWith"];
|
|
42900
43130
|
if (opts["customerId.endWith"] !== void 0)
|
|
42901
43131
|
args.customer_id__endWith = opts["customerId.endWith"];
|
|
43132
|
+
if (opts["customerId.isNull"] !== void 0)
|
|
43133
|
+
args.customer_id__isNull = opts["customerId.isNull"];
|
|
43134
|
+
if (opts["customerId.isNotNull"] !== void 0)
|
|
43135
|
+
args.customer_id__isNotNull = opts["customerId.isNotNull"];
|
|
42902
43136
|
if (opts.take !== void 0)
|
|
42903
43137
|
args.take = Number(opts.take);
|
|
42904
43138
|
if (opts.skip !== void 0)
|
|
@@ -42912,20 +43146,18 @@ Examples:
|
|
|
42912
43146
|
"skip",
|
|
42913
43147
|
"name",
|
|
42914
43148
|
"name__not",
|
|
42915
|
-
"name__isNull",
|
|
42916
|
-
"name__isNotNull",
|
|
42917
43149
|
"name__equals",
|
|
42918
43150
|
"name__contains",
|
|
42919
43151
|
"name__startsWith",
|
|
42920
43152
|
"name__endWith",
|
|
42921
43153
|
"customer_id",
|
|
42922
43154
|
"customer_id__not",
|
|
42923
|
-
"customer_id__isNull",
|
|
42924
|
-
"customer_id__isNotNull",
|
|
42925
43155
|
"customer_id__equals",
|
|
42926
43156
|
"customer_id__contains",
|
|
42927
43157
|
"customer_id__startsWith",
|
|
42928
|
-
"customer_id__endWith"
|
|
43158
|
+
"customer_id__endWith",
|
|
43159
|
+
"customer_id__isNull",
|
|
43160
|
+
"customer_id__isNotNull"
|
|
42929
43161
|
]
|
|
42930
43162
|
});
|
|
42931
43163
|
});
|
|
@@ -42981,7 +43213,7 @@ Examples:
|
|
|
42981
43213
|
// build/commands/generated/invoices.js
|
|
42982
43214
|
function registerInvoicesCommands(parent) {
|
|
42983
43215
|
const resource = parent.command("invoices").description("Manage invoices");
|
|
42984
|
-
resource.command("list").description(`List invoices with filters for type, status, customer_id, customer_external_id, subscription_id, invoicing_entity_id, invoice_number, period dates, emission_date, due_date, and updated_at. Sortable by created_at or emitted_at. By default, open invoices are excluded. Paginated with limit/cursor.`).option("--limit <number>", `Maximum number of items to return (1-100).`).option("--cursor <value>", `Opaque cursor returned in the previous response's \`next_cursor\`. Omit to fetch the first page.`).option("--include-total <value>", `Set to \`true\` to include \`total\` in the response.`).option("--order <value>", `Sort direction.`).option("--sort <value>", `Field used to sort the results.`).option("--type <value>", `type`).option("--type.in <value>", `type__in`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--customer-id <value>", `customer_id`).option("--customer-id.not <value>", `customer_id__not`).option("--customer-id.
|
|
43216
|
+
resource.command("list").description(`List invoices with filters for type, status, customer_id, customer_external_id, subscription_id, invoicing_entity_id, invoice_number, period dates, emission_date, due_date, and updated_at. Sortable by created_at or emitted_at. By default, open invoices are excluded. Paginated with limit/cursor.`).option("--limit <number>", `Maximum number of items to return (1-100).`).option("--cursor <value>", `Opaque cursor returned in the previous response's \`next_cursor\`. Omit to fetch the first page.`).option("--include-total <value>", `Set to \`true\` to include \`total\` in the response.`).option("--order <value>", `Sort direction.`).option("--sort <value>", `Field used to sort the results.`).option("--type <value>", `type`).option("--type.in <value>", `type__in`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--customer-id <value>", `customer_id`).option("--customer-id.not <value>", `customer_id__not`).option("--customer-id.equals <value>", `customer_id__equals`).option("--customer-id.contains <value>", `customer_id__contains`).option("--customer-id.starts-with <value>", `customer_id__startsWith`).option("--customer-id.end-with <value>", `customer_id__endWith`).option("--customer-external-id <value>", `customer_external_id`).option("--subscription-id <value>", `subscription_id`).option("--subscription-id.not <value>", `subscription_id__not`).option("--subscription-id.equals <value>", `subscription_id__equals`).option("--subscription-id.contains <value>", `subscription_id__contains`).option("--subscription-id.starts-with <value>", `subscription_id__startsWith`).option("--subscription-id.end-with <value>", `subscription_id__endWith`).option("--subscription-id.is-null <value>", `subscription_id__isNull`).option("--subscription-id.is-not-null <value>", `subscription_id__isNotNull`).option("--invoicing-entity-id <value>", `invoicing_entity_id`).option("--invoicing-entity-id.not <value>", `invoicing_entity_id__not`).option("--invoicing-entity-id.equals <value>", `invoicing_entity_id__equals`).option("--invoicing-entity-id.contains <value>", `invoicing_entity_id__contains`).option("--invoicing-entity-id.starts-with <value>", `invoicing_entity_id__startsWith`).option("--invoicing-entity-id.end-with <value>", `invoicing_entity_id__endWith`).option("--invoice-number <value>", `invoice_number`).option("--invoice-number.not <value>", `invoice_number__not`).option("--invoice-number.equals <value>", `invoice_number__equals`).option("--invoice-number.contains <value>", `invoice_number__contains`).option("--invoice-number.starts-with <value>", `invoice_number__startsWith`).option("--invoice-number.end-with <value>", `invoice_number__endWith`).option("--original-invoice-id <value>", `original_invoice_id`).option("--original-invoice-id.not <value>", `original_invoice_id__not`).option("--original-invoice-id.equals <value>", `original_invoice_id__equals`).option("--original-invoice-id.contains <value>", `original_invoice_id__contains`).option("--original-invoice-id.starts-with <value>", `original_invoice_id__startsWith`).option("--original-invoice-id.end-with <value>", `original_invoice_id__endWith`).option("--original-invoice-id.is-null <value>", `original_invoice_id__isNull`).option("--original-invoice-id.is-not-null <value>", `original_invoice_id__isNotNull`).option("--original-invoice-number <value>", `original_invoice_number`).option("--original-invoice-number.not <value>", `original_invoice_number__not`).option("--original-invoice-number.equals <value>", `original_invoice_number__equals`).option("--original-invoice-number.contains <value>", `original_invoice_number__contains`).option("--original-invoice-number.starts-with <value>", `original_invoice_number__startsWith`).option("--original-invoice-number.end-with <value>", `original_invoice_number__endWith`).option("--original-invoice-number.is-null <value>", `original_invoice_number__isNull`).option("--original-invoice-number.is-not-null <value>", `original_invoice_number__isNotNull`).option("--line-item-id <value>", `line_item_id`).option("--period-start <value>", `period_start`).option("--period-start.not <value>", `period_start__not`).option("--period-start.equals <value>", `period_start__equals`).option("--period-start.lt <value>", `period_start__lt`).option("--period-start.lte <value>", `period_start__lte`).option("--period-start.gt <value>", `period_start__gt`).option("--period-start.gte <value>", `period_start__gte`).option("--period-start.is-null <value>", `period_start__isNull`).option("--period-start.is-not-null <value>", `period_start__isNotNull`).option("--period-end <value>", `period_end`).option("--period-end.not <value>", `period_end__not`).option("--period-end.equals <value>", `period_end__equals`).option("--period-end.lt <value>", `period_end__lt`).option("--period-end.lte <value>", `period_end__lte`).option("--period-end.gt <value>", `period_end__gt`).option("--period-end.gte <value>", `period_end__gte`).option("--period-end.is-null <value>", `period_end__isNull`).option("--period-end.is-not-null <value>", `period_end__isNotNull`).option("--issued-at <value>", `issued_at`).option("--issued-at.not <value>", `issued_at__not`).option("--issued-at.equals <value>", `issued_at__equals`).option("--issued-at.lt <value>", `issued_at__lt`).option("--issued-at.lte <value>", `issued_at__lte`).option("--issued-at.gt <value>", `issued_at__gt`).option("--issued-at.gte <value>", `issued_at__gte`).option("--due-at <value>", `due_at`).option("--due-at.not <value>", `due_at__not`).option("--due-at.equals <value>", `due_at__equals`).option("--due-at.lt <value>", `due_at__lt`).option("--due-at.lte <value>", `due_at__lte`).option("--due-at.gt <value>", `due_at__gt`).option("--due-at.gte <value>", `due_at__gte`).option("--updated-at <value>", `updated_at`).option("--updated-at.not <value>", `updated_at__not`).option("--updated-at.equals <value>", `updated_at__equals`).option("--updated-at.lt <value>", `updated_at__lt`).option("--updated-at.lte <value>", `updated_at__lte`).option("--updated-at.gt <value>", `updated_at__gt`).option("--updated-at.gte <value>", `updated_at__gte`).addHelpText("after", `
|
|
42985
43217
|
Examples:
|
|
42986
43218
|
hyperline invoices list
|
|
42987
43219
|
hyperline invoices list --limit <limit> --cursor <cursor>`).action(async (opts) => {
|
|
@@ -43011,10 +43243,6 @@ Examples:
|
|
|
43011
43243
|
args.customer_id = opts.customerId;
|
|
43012
43244
|
if (opts["customerId.not"] !== void 0)
|
|
43013
43245
|
args.customer_id__not = opts["customerId.not"];
|
|
43014
|
-
if (opts["customerId.isNull"] !== void 0)
|
|
43015
|
-
args.customer_id__isNull = opts["customerId.isNull"];
|
|
43016
|
-
if (opts["customerId.isNotNull"] !== void 0)
|
|
43017
|
-
args.customer_id__isNotNull = opts["customerId.isNotNull"];
|
|
43018
43246
|
if (opts["customerId.equals"] !== void 0)
|
|
43019
43247
|
args.customer_id__equals = opts["customerId.equals"];
|
|
43020
43248
|
if (opts["customerId.contains"] !== void 0)
|
|
@@ -43029,10 +43257,6 @@ Examples:
|
|
|
43029
43257
|
args.subscription_id = opts.subscriptionId;
|
|
43030
43258
|
if (opts["subscriptionId.not"] !== void 0)
|
|
43031
43259
|
args.subscription_id__not = opts["subscriptionId.not"];
|
|
43032
|
-
if (opts["subscriptionId.isNull"] !== void 0)
|
|
43033
|
-
args.subscription_id__isNull = opts["subscriptionId.isNull"];
|
|
43034
|
-
if (opts["subscriptionId.isNotNull"] !== void 0)
|
|
43035
|
-
args.subscription_id__isNotNull = opts["subscriptionId.isNotNull"];
|
|
43036
43260
|
if (opts["subscriptionId.equals"] !== void 0)
|
|
43037
43261
|
args.subscription_id__equals = opts["subscriptionId.equals"];
|
|
43038
43262
|
if (opts["subscriptionId.contains"] !== void 0)
|
|
@@ -43041,14 +43265,14 @@ Examples:
|
|
|
43041
43265
|
args.subscription_id__startsWith = opts["subscriptionId.startsWith"];
|
|
43042
43266
|
if (opts["subscriptionId.endWith"] !== void 0)
|
|
43043
43267
|
args.subscription_id__endWith = opts["subscriptionId.endWith"];
|
|
43268
|
+
if (opts["subscriptionId.isNull"] !== void 0)
|
|
43269
|
+
args.subscription_id__isNull = opts["subscriptionId.isNull"];
|
|
43270
|
+
if (opts["subscriptionId.isNotNull"] !== void 0)
|
|
43271
|
+
args.subscription_id__isNotNull = opts["subscriptionId.isNotNull"];
|
|
43044
43272
|
if (opts.invoicingEntityId !== void 0)
|
|
43045
43273
|
args.invoicing_entity_id = opts.invoicingEntityId;
|
|
43046
43274
|
if (opts["invoicingEntityId.not"] !== void 0)
|
|
43047
43275
|
args.invoicing_entity_id__not = opts["invoicingEntityId.not"];
|
|
43048
|
-
if (opts["invoicingEntityId.isNull"] !== void 0)
|
|
43049
|
-
args.invoicing_entity_id__isNull = opts["invoicingEntityId.isNull"];
|
|
43050
|
-
if (opts["invoicingEntityId.isNotNull"] !== void 0)
|
|
43051
|
-
args.invoicing_entity_id__isNotNull = opts["invoicingEntityId.isNotNull"];
|
|
43052
43276
|
if (opts["invoicingEntityId.equals"] !== void 0)
|
|
43053
43277
|
args.invoicing_entity_id__equals = opts["invoicingEntityId.equals"];
|
|
43054
43278
|
if (opts["invoicingEntityId.contains"] !== void 0)
|
|
@@ -43061,10 +43285,6 @@ Examples:
|
|
|
43061
43285
|
args.invoice_number = opts.invoiceNumber;
|
|
43062
43286
|
if (opts["invoiceNumber.not"] !== void 0)
|
|
43063
43287
|
args.invoice_number__not = opts["invoiceNumber.not"];
|
|
43064
|
-
if (opts["invoiceNumber.isNull"] !== void 0)
|
|
43065
|
-
args.invoice_number__isNull = opts["invoiceNumber.isNull"];
|
|
43066
|
-
if (opts["invoiceNumber.isNotNull"] !== void 0)
|
|
43067
|
-
args.invoice_number__isNotNull = opts["invoiceNumber.isNotNull"];
|
|
43068
43288
|
if (opts["invoiceNumber.equals"] !== void 0)
|
|
43069
43289
|
args.invoice_number__equals = opts["invoiceNumber.equals"];
|
|
43070
43290
|
if (opts["invoiceNumber.contains"] !== void 0)
|
|
@@ -43077,10 +43297,6 @@ Examples:
|
|
|
43077
43297
|
args.original_invoice_id = opts.originalInvoiceId;
|
|
43078
43298
|
if (opts["originalInvoiceId.not"] !== void 0)
|
|
43079
43299
|
args.original_invoice_id__not = opts["originalInvoiceId.not"];
|
|
43080
|
-
if (opts["originalInvoiceId.isNull"] !== void 0)
|
|
43081
|
-
args.original_invoice_id__isNull = opts["originalInvoiceId.isNull"];
|
|
43082
|
-
if (opts["originalInvoiceId.isNotNull"] !== void 0)
|
|
43083
|
-
args.original_invoice_id__isNotNull = opts["originalInvoiceId.isNotNull"];
|
|
43084
43300
|
if (opts["originalInvoiceId.equals"] !== void 0)
|
|
43085
43301
|
args.original_invoice_id__equals = opts["originalInvoiceId.equals"];
|
|
43086
43302
|
if (opts["originalInvoiceId.contains"] !== void 0)
|
|
@@ -43089,14 +43305,14 @@ Examples:
|
|
|
43089
43305
|
args.original_invoice_id__startsWith = opts["originalInvoiceId.startsWith"];
|
|
43090
43306
|
if (opts["originalInvoiceId.endWith"] !== void 0)
|
|
43091
43307
|
args.original_invoice_id__endWith = opts["originalInvoiceId.endWith"];
|
|
43308
|
+
if (opts["originalInvoiceId.isNull"] !== void 0)
|
|
43309
|
+
args.original_invoice_id__isNull = opts["originalInvoiceId.isNull"];
|
|
43310
|
+
if (opts["originalInvoiceId.isNotNull"] !== void 0)
|
|
43311
|
+
args.original_invoice_id__isNotNull = opts["originalInvoiceId.isNotNull"];
|
|
43092
43312
|
if (opts.originalInvoiceNumber !== void 0)
|
|
43093
43313
|
args.original_invoice_number = opts.originalInvoiceNumber;
|
|
43094
43314
|
if (opts["originalInvoiceNumber.not"] !== void 0)
|
|
43095
43315
|
args.original_invoice_number__not = opts["originalInvoiceNumber.not"];
|
|
43096
|
-
if (opts["originalInvoiceNumber.isNull"] !== void 0)
|
|
43097
|
-
args.original_invoice_number__isNull = opts["originalInvoiceNumber.isNull"];
|
|
43098
|
-
if (opts["originalInvoiceNumber.isNotNull"] !== void 0)
|
|
43099
|
-
args.original_invoice_number__isNotNull = opts["originalInvoiceNumber.isNotNull"];
|
|
43100
43316
|
if (opts["originalInvoiceNumber.equals"] !== void 0)
|
|
43101
43317
|
args.original_invoice_number__equals = opts["originalInvoiceNumber.equals"];
|
|
43102
43318
|
if (opts["originalInvoiceNumber.contains"] !== void 0)
|
|
@@ -43105,16 +43321,16 @@ Examples:
|
|
|
43105
43321
|
args.original_invoice_number__startsWith = opts["originalInvoiceNumber.startsWith"];
|
|
43106
43322
|
if (opts["originalInvoiceNumber.endWith"] !== void 0)
|
|
43107
43323
|
args.original_invoice_number__endWith = opts["originalInvoiceNumber.endWith"];
|
|
43324
|
+
if (opts["originalInvoiceNumber.isNull"] !== void 0)
|
|
43325
|
+
args.original_invoice_number__isNull = opts["originalInvoiceNumber.isNull"];
|
|
43326
|
+
if (opts["originalInvoiceNumber.isNotNull"] !== void 0)
|
|
43327
|
+
args.original_invoice_number__isNotNull = opts["originalInvoiceNumber.isNotNull"];
|
|
43108
43328
|
if (opts.lineItemId !== void 0)
|
|
43109
43329
|
args.line_item_id = opts.lineItemId;
|
|
43110
43330
|
if (opts.periodStart !== void 0)
|
|
43111
43331
|
args.period_start = opts.periodStart;
|
|
43112
43332
|
if (opts["periodStart.not"] !== void 0)
|
|
43113
43333
|
args.period_start__not = opts["periodStart.not"];
|
|
43114
|
-
if (opts["periodStart.isNull"] !== void 0)
|
|
43115
|
-
args.period_start__isNull = opts["periodStart.isNull"];
|
|
43116
|
-
if (opts["periodStart.isNotNull"] !== void 0)
|
|
43117
|
-
args.period_start__isNotNull = opts["periodStart.isNotNull"];
|
|
43118
43334
|
if (opts["periodStart.equals"] !== void 0)
|
|
43119
43335
|
args.period_start__equals = opts["periodStart.equals"];
|
|
43120
43336
|
if (opts["periodStart.lt"] !== void 0)
|
|
@@ -43125,14 +43341,14 @@ Examples:
|
|
|
43125
43341
|
args.period_start__gt = opts["periodStart.gt"];
|
|
43126
43342
|
if (opts["periodStart.gte"] !== void 0)
|
|
43127
43343
|
args.period_start__gte = opts["periodStart.gte"];
|
|
43344
|
+
if (opts["periodStart.isNull"] !== void 0)
|
|
43345
|
+
args.period_start__isNull = opts["periodStart.isNull"];
|
|
43346
|
+
if (opts["periodStart.isNotNull"] !== void 0)
|
|
43347
|
+
args.period_start__isNotNull = opts["periodStart.isNotNull"];
|
|
43128
43348
|
if (opts.periodEnd !== void 0)
|
|
43129
43349
|
args.period_end = opts.periodEnd;
|
|
43130
43350
|
if (opts["periodEnd.not"] !== void 0)
|
|
43131
43351
|
args.period_end__not = opts["periodEnd.not"];
|
|
43132
|
-
if (opts["periodEnd.isNull"] !== void 0)
|
|
43133
|
-
args.period_end__isNull = opts["periodEnd.isNull"];
|
|
43134
|
-
if (opts["periodEnd.isNotNull"] !== void 0)
|
|
43135
|
-
args.period_end__isNotNull = opts["periodEnd.isNotNull"];
|
|
43136
43352
|
if (opts["periodEnd.equals"] !== void 0)
|
|
43137
43353
|
args.period_end__equals = opts["periodEnd.equals"];
|
|
43138
43354
|
if (opts["periodEnd.lt"] !== void 0)
|
|
@@ -43143,14 +43359,14 @@ Examples:
|
|
|
43143
43359
|
args.period_end__gt = opts["periodEnd.gt"];
|
|
43144
43360
|
if (opts["periodEnd.gte"] !== void 0)
|
|
43145
43361
|
args.period_end__gte = opts["periodEnd.gte"];
|
|
43362
|
+
if (opts["periodEnd.isNull"] !== void 0)
|
|
43363
|
+
args.period_end__isNull = opts["periodEnd.isNull"];
|
|
43364
|
+
if (opts["periodEnd.isNotNull"] !== void 0)
|
|
43365
|
+
args.period_end__isNotNull = opts["periodEnd.isNotNull"];
|
|
43146
43366
|
if (opts.issuedAt !== void 0)
|
|
43147
43367
|
args.issued_at = opts.issuedAt;
|
|
43148
43368
|
if (opts["issuedAt.not"] !== void 0)
|
|
43149
43369
|
args.issued_at__not = opts["issuedAt.not"];
|
|
43150
|
-
if (opts["issuedAt.isNull"] !== void 0)
|
|
43151
|
-
args.issued_at__isNull = opts["issuedAt.isNull"];
|
|
43152
|
-
if (opts["issuedAt.isNotNull"] !== void 0)
|
|
43153
|
-
args.issued_at__isNotNull = opts["issuedAt.isNotNull"];
|
|
43154
43370
|
if (opts["issuedAt.equals"] !== void 0)
|
|
43155
43371
|
args.issued_at__equals = opts["issuedAt.equals"];
|
|
43156
43372
|
if (opts["issuedAt.lt"] !== void 0)
|
|
@@ -43165,10 +43381,6 @@ Examples:
|
|
|
43165
43381
|
args.due_at = opts.dueAt;
|
|
43166
43382
|
if (opts["dueAt.not"] !== void 0)
|
|
43167
43383
|
args.due_at__not = opts["dueAt.not"];
|
|
43168
|
-
if (opts["dueAt.isNull"] !== void 0)
|
|
43169
|
-
args.due_at__isNull = opts["dueAt.isNull"];
|
|
43170
|
-
if (opts["dueAt.isNotNull"] !== void 0)
|
|
43171
|
-
args.due_at__isNotNull = opts["dueAt.isNotNull"];
|
|
43172
43384
|
if (opts["dueAt.equals"] !== void 0)
|
|
43173
43385
|
args.due_at__equals = opts["dueAt.equals"];
|
|
43174
43386
|
if (opts["dueAt.lt"] !== void 0)
|
|
@@ -43183,10 +43395,6 @@ Examples:
|
|
|
43183
43395
|
args.updated_at = opts.updatedAt;
|
|
43184
43396
|
if (opts["updatedAt.not"] !== void 0)
|
|
43185
43397
|
args.updated_at__not = opts["updatedAt.not"];
|
|
43186
|
-
if (opts["updatedAt.isNull"] !== void 0)
|
|
43187
|
-
args.updated_at__isNull = opts["updatedAt.isNull"];
|
|
43188
|
-
if (opts["updatedAt.isNotNull"] !== void 0)
|
|
43189
|
-
args.updated_at__isNotNull = opts["updatedAt.isNotNull"];
|
|
43190
43398
|
if (opts["updatedAt.equals"] !== void 0)
|
|
43191
43399
|
args.updated_at__equals = opts["updatedAt.equals"];
|
|
43192
43400
|
if (opts["updatedAt.lt"] !== void 0)
|
|
@@ -43215,8 +43423,6 @@ Examples:
|
|
|
43215
43423
|
"status__in",
|
|
43216
43424
|
"customer_id",
|
|
43217
43425
|
"customer_id__not",
|
|
43218
|
-
"customer_id__isNull",
|
|
43219
|
-
"customer_id__isNotNull",
|
|
43220
43426
|
"customer_id__equals",
|
|
43221
43427
|
"customer_id__contains",
|
|
43222
43428
|
"customer_id__startsWith",
|
|
@@ -43224,67 +43430,61 @@ Examples:
|
|
|
43224
43430
|
"customer_external_id",
|
|
43225
43431
|
"subscription_id",
|
|
43226
43432
|
"subscription_id__not",
|
|
43227
|
-
"subscription_id__isNull",
|
|
43228
|
-
"subscription_id__isNotNull",
|
|
43229
43433
|
"subscription_id__equals",
|
|
43230
43434
|
"subscription_id__contains",
|
|
43231
43435
|
"subscription_id__startsWith",
|
|
43232
43436
|
"subscription_id__endWith",
|
|
43437
|
+
"subscription_id__isNull",
|
|
43438
|
+
"subscription_id__isNotNull",
|
|
43233
43439
|
"invoicing_entity_id",
|
|
43234
43440
|
"invoicing_entity_id__not",
|
|
43235
|
-
"invoicing_entity_id__isNull",
|
|
43236
|
-
"invoicing_entity_id__isNotNull",
|
|
43237
43441
|
"invoicing_entity_id__equals",
|
|
43238
43442
|
"invoicing_entity_id__contains",
|
|
43239
43443
|
"invoicing_entity_id__startsWith",
|
|
43240
43444
|
"invoicing_entity_id__endWith",
|
|
43241
43445
|
"invoice_number",
|
|
43242
43446
|
"invoice_number__not",
|
|
43243
|
-
"invoice_number__isNull",
|
|
43244
|
-
"invoice_number__isNotNull",
|
|
43245
43447
|
"invoice_number__equals",
|
|
43246
43448
|
"invoice_number__contains",
|
|
43247
43449
|
"invoice_number__startsWith",
|
|
43248
43450
|
"invoice_number__endWith",
|
|
43249
43451
|
"original_invoice_id",
|
|
43250
43452
|
"original_invoice_id__not",
|
|
43251
|
-
"original_invoice_id__isNull",
|
|
43252
|
-
"original_invoice_id__isNotNull",
|
|
43253
43453
|
"original_invoice_id__equals",
|
|
43254
43454
|
"original_invoice_id__contains",
|
|
43255
43455
|
"original_invoice_id__startsWith",
|
|
43256
43456
|
"original_invoice_id__endWith",
|
|
43457
|
+
"original_invoice_id__isNull",
|
|
43458
|
+
"original_invoice_id__isNotNull",
|
|
43257
43459
|
"original_invoice_number",
|
|
43258
43460
|
"original_invoice_number__not",
|
|
43259
|
-
"original_invoice_number__isNull",
|
|
43260
|
-
"original_invoice_number__isNotNull",
|
|
43261
43461
|
"original_invoice_number__equals",
|
|
43262
43462
|
"original_invoice_number__contains",
|
|
43263
43463
|
"original_invoice_number__startsWith",
|
|
43264
43464
|
"original_invoice_number__endWith",
|
|
43465
|
+
"original_invoice_number__isNull",
|
|
43466
|
+
"original_invoice_number__isNotNull",
|
|
43265
43467
|
"line_item_id",
|
|
43266
43468
|
"period_start",
|
|
43267
43469
|
"period_start__not",
|
|
43268
|
-
"period_start__isNull",
|
|
43269
|
-
"period_start__isNotNull",
|
|
43270
43470
|
"period_start__equals",
|
|
43271
43471
|
"period_start__lt",
|
|
43272
43472
|
"period_start__lte",
|
|
43273
43473
|
"period_start__gt",
|
|
43274
43474
|
"period_start__gte",
|
|
43475
|
+
"period_start__isNull",
|
|
43476
|
+
"period_start__isNotNull",
|
|
43275
43477
|
"period_end",
|
|
43276
43478
|
"period_end__not",
|
|
43277
|
-
"period_end__isNull",
|
|
43278
|
-
"period_end__isNotNull",
|
|
43279
43479
|
"period_end__equals",
|
|
43280
43480
|
"period_end__lt",
|
|
43281
43481
|
"period_end__lte",
|
|
43282
43482
|
"period_end__gt",
|
|
43283
43483
|
"period_end__gte",
|
|
43484
|
+
"period_end__isNull",
|
|
43485
|
+
"period_end__isNotNull",
|
|
43284
43486
|
"issued_at",
|
|
43285
43487
|
"issued_at__not",
|
|
43286
|
-
"issued_at__isNull",
|
|
43287
|
-
"issued_at__isNotNull",
|
|
43288
43488
|
"issued_at__equals",
|
|
43289
43489
|
"issued_at__lt",
|
|
43290
43490
|
"issued_at__lte",
|
|
@@ -43292,8 +43492,6 @@ Examples:
|
|
|
43292
43492
|
"issued_at__gte",
|
|
43293
43493
|
"due_at",
|
|
43294
43494
|
"due_at__not",
|
|
43295
|
-
"due_at__isNull",
|
|
43296
|
-
"due_at__isNotNull",
|
|
43297
43495
|
"due_at__equals",
|
|
43298
43496
|
"due_at__lt",
|
|
43299
43497
|
"due_at__lte",
|
|
@@ -43301,8 +43499,6 @@ Examples:
|
|
|
43301
43499
|
"due_at__gte",
|
|
43302
43500
|
"updated_at",
|
|
43303
43501
|
"updated_at__not",
|
|
43304
|
-
"updated_at__isNull",
|
|
43305
|
-
"updated_at__isNotNull",
|
|
43306
43502
|
"updated_at__equals",
|
|
43307
43503
|
"updated_at__lt",
|
|
43308
43504
|
"updated_at__lte",
|
|
@@ -44030,7 +44226,7 @@ Examples:
|
|
|
44030
44226
|
// build/commands/generated/organisations.js
|
|
44031
44227
|
function registerOrganisationsCommands(parent) {
|
|
44032
44228
|
const resource = parent.command("organisations").description("Manage organisations");
|
|
44033
|
-
resource.command("list").description(`Retrieve organisations with their billing details and child customer IDs.`).option("--limit <number>", `Maximum number of items to return (1-100).`).option("--cursor <value>", `Opaque cursor returned in the previous response's \`next_cursor\`. Omit to fetch the first page.`).option("--include-total <value>", `Set to \`true\` to include \`total\` in the response.`).option("--order <value>", `Sort direction.`).option("--sort <value>", `Field used to sort the results.`).option("--created-at <value>", `created_at`).option("--created-at.not <value>", `created_at__not`).option("--created-at.
|
|
44229
|
+
resource.command("list").description(`Retrieve organisations with their billing details and child customer IDs.`).option("--limit <number>", `Maximum number of items to return (1-100).`).option("--cursor <value>", `Opaque cursor returned in the previous response's \`next_cursor\`. Omit to fetch the first page.`).option("--include-total <value>", `Set to \`true\` to include \`total\` in the response.`).option("--order <value>", `Sort direction.`).option("--sort <value>", `Field used to sort the results.`).option("--created-at <value>", `created_at`).option("--created-at.not <value>", `created_at__not`).option("--created-at.equals <value>", `created_at__equals`).option("--created-at.lt <value>", `created_at__lt`).option("--created-at.lte <value>", `created_at__lte`).option("--created-at.gt <value>", `created_at__gt`).option("--created-at.gte <value>", `created_at__gte`).option("--updated-at <value>", `updated_at`).option("--updated-at.not <value>", `updated_at__not`).option("--updated-at.equals <value>", `updated_at__equals`).option("--updated-at.lt <value>", `updated_at__lt`).option("--updated-at.lte <value>", `updated_at__lte`).option("--updated-at.gt <value>", `updated_at__gt`).option("--updated-at.gte <value>", `updated_at__gte`).addHelpText("after", `
|
|
44034
44230
|
Examples:
|
|
44035
44231
|
hyperline organisations list
|
|
44036
44232
|
hyperline organisations list --limit <limit> --cursor <cursor>`).action(async (opts) => {
|
|
@@ -44052,10 +44248,6 @@ Examples:
|
|
|
44052
44248
|
args.created_at = opts.createdAt;
|
|
44053
44249
|
if (opts["createdAt.not"] !== void 0)
|
|
44054
44250
|
args.created_at__not = opts["createdAt.not"];
|
|
44055
|
-
if (opts["createdAt.isNull"] !== void 0)
|
|
44056
|
-
args.created_at__isNull = opts["createdAt.isNull"];
|
|
44057
|
-
if (opts["createdAt.isNotNull"] !== void 0)
|
|
44058
|
-
args.created_at__isNotNull = opts["createdAt.isNotNull"];
|
|
44059
44251
|
if (opts["createdAt.equals"] !== void 0)
|
|
44060
44252
|
args.created_at__equals = opts["createdAt.equals"];
|
|
44061
44253
|
if (opts["createdAt.lt"] !== void 0)
|
|
@@ -44070,10 +44262,6 @@ Examples:
|
|
|
44070
44262
|
args.updated_at = opts.updatedAt;
|
|
44071
44263
|
if (opts["updatedAt.not"] !== void 0)
|
|
44072
44264
|
args.updated_at__not = opts["updatedAt.not"];
|
|
44073
|
-
if (opts["updatedAt.isNull"] !== void 0)
|
|
44074
|
-
args.updated_at__isNull = opts["updatedAt.isNull"];
|
|
44075
|
-
if (opts["updatedAt.isNotNull"] !== void 0)
|
|
44076
|
-
args.updated_at__isNotNull = opts["updatedAt.isNotNull"];
|
|
44077
44265
|
if (opts["updatedAt.equals"] !== void 0)
|
|
44078
44266
|
args.updated_at__equals = opts["updatedAt.equals"];
|
|
44079
44267
|
if (opts["updatedAt.lt"] !== void 0)
|
|
@@ -44098,8 +44286,6 @@ Examples:
|
|
|
44098
44286
|
"sort",
|
|
44099
44287
|
"created_at",
|
|
44100
44288
|
"created_at__not",
|
|
44101
|
-
"created_at__isNull",
|
|
44102
|
-
"created_at__isNotNull",
|
|
44103
44289
|
"created_at__equals",
|
|
44104
44290
|
"created_at__lt",
|
|
44105
44291
|
"created_at__lte",
|
|
@@ -44107,8 +44293,6 @@ Examples:
|
|
|
44107
44293
|
"created_at__gte",
|
|
44108
44294
|
"updated_at",
|
|
44109
44295
|
"updated_at__not",
|
|
44110
|
-
"updated_at__isNull",
|
|
44111
|
-
"updated_at__isNotNull",
|
|
44112
44296
|
"updated_at__equals",
|
|
44113
44297
|
"updated_at__lt",
|
|
44114
44298
|
"updated_at__lte",
|
|
@@ -44222,7 +44406,7 @@ Examples:
|
|
|
44222
44406
|
// build/commands/generated/price-configurations.js
|
|
44223
44407
|
function registerPrice_ConfigurationsCommands(parent) {
|
|
44224
44408
|
const resource = parent.command("price-configurations").description("Manage price configurations");
|
|
44225
|
-
resource.command("list").description(`List price configurations with optional filters for product_id and price_book_id. Price configurations define how a product is priced (tiers, volume, graduated, etc.). Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--product-id <value>", `product_id`).option("--product-id.not <value>", `product_id__not`).option("--product-id.
|
|
44409
|
+
resource.command("list").description(`List price configurations with optional filters for product_id and price_book_id. Price configurations define how a product is priced (tiers, volume, graduated, etc.). Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--product-id <value>", `product_id`).option("--product-id.not <value>", `product_id__not`).option("--product-id.equals <value>", `product_id__equals`).option("--product-id.contains <value>", `product_id__contains`).option("--product-id.starts-with <value>", `product_id__startsWith`).option("--product-id.end-with <value>", `product_id__endWith`).option("--price-book-id <value>", `price_book_id`).option("--price-book-id.not <value>", `price_book_id__not`).option("--price-book-id.equals <value>", `price_book_id__equals`).option("--price-book-id.contains <value>", `price_book_id__contains`).option("--price-book-id.starts-with <value>", `price_book_id__startsWith`).option("--price-book-id.end-with <value>", `price_book_id__endWith`).option("--price-book-id.is-null <value>", `price_book_id__isNull`).option("--price-book-id.is-not-null <value>", `price_book_id__isNotNull`).addHelpText("after", `
|
|
44226
44410
|
Examples:
|
|
44227
44411
|
hyperline price-configurations list
|
|
44228
44412
|
hyperline price-configurations list --take <take> --product-id <product_id>`).action(async (opts) => {
|
|
@@ -44236,10 +44420,6 @@ Examples:
|
|
|
44236
44420
|
args.product_id = opts.productId;
|
|
44237
44421
|
if (opts["productId.not"] !== void 0)
|
|
44238
44422
|
args.product_id__not = opts["productId.not"];
|
|
44239
|
-
if (opts["productId.isNull"] !== void 0)
|
|
44240
|
-
args.product_id__isNull = opts["productId.isNull"];
|
|
44241
|
-
if (opts["productId.isNotNull"] !== void 0)
|
|
44242
|
-
args.product_id__isNotNull = opts["productId.isNotNull"];
|
|
44243
44423
|
if (opts["productId.equals"] !== void 0)
|
|
44244
44424
|
args.product_id__equals = opts["productId.equals"];
|
|
44245
44425
|
if (opts["productId.contains"] !== void 0)
|
|
@@ -44250,12 +44430,8 @@ Examples:
|
|
|
44250
44430
|
args.product_id__endWith = opts["productId.endWith"];
|
|
44251
44431
|
if (opts.priceBookId !== void 0)
|
|
44252
44432
|
args.price_book_id = opts.priceBookId;
|
|
44253
|
-
if (opts["priceBookId.not"] !== void 0)
|
|
44254
|
-
args.price_book_id__not = opts["priceBookId.not"];
|
|
44255
|
-
if (opts["priceBookId.isNull"] !== void 0)
|
|
44256
|
-
args.price_book_id__isNull = opts["priceBookId.isNull"];
|
|
44257
|
-
if (opts["priceBookId.isNotNull"] !== void 0)
|
|
44258
|
-
args.price_book_id__isNotNull = opts["priceBookId.isNotNull"];
|
|
44433
|
+
if (opts["priceBookId.not"] !== void 0)
|
|
44434
|
+
args.price_book_id__not = opts["priceBookId.not"];
|
|
44259
44435
|
if (opts["priceBookId.equals"] !== void 0)
|
|
44260
44436
|
args.price_book_id__equals = opts["priceBookId.equals"];
|
|
44261
44437
|
if (opts["priceBookId.contains"] !== void 0)
|
|
@@ -44264,6 +44440,10 @@ Examples:
|
|
|
44264
44440
|
args.price_book_id__startsWith = opts["priceBookId.startsWith"];
|
|
44265
44441
|
if (opts["priceBookId.endWith"] !== void 0)
|
|
44266
44442
|
args.price_book_id__endWith = opts["priceBookId.endWith"];
|
|
44443
|
+
if (opts["priceBookId.isNull"] !== void 0)
|
|
44444
|
+
args.price_book_id__isNull = opts["priceBookId.isNull"];
|
|
44445
|
+
if (opts["priceBookId.isNotNull"] !== void 0)
|
|
44446
|
+
args.price_book_id__isNotNull = opts["priceBookId.isNotNull"];
|
|
44267
44447
|
if (opts.take !== void 0)
|
|
44268
44448
|
args.take = Number(opts.take);
|
|
44269
44449
|
if (opts.skip !== void 0)
|
|
@@ -44277,20 +44457,18 @@ Examples:
|
|
|
44277
44457
|
"skip",
|
|
44278
44458
|
"product_id",
|
|
44279
44459
|
"product_id__not",
|
|
44280
|
-
"product_id__isNull",
|
|
44281
|
-
"product_id__isNotNull",
|
|
44282
44460
|
"product_id__equals",
|
|
44283
44461
|
"product_id__contains",
|
|
44284
44462
|
"product_id__startsWith",
|
|
44285
44463
|
"product_id__endWith",
|
|
44286
44464
|
"price_book_id",
|
|
44287
44465
|
"price_book_id__not",
|
|
44288
|
-
"price_book_id__isNull",
|
|
44289
|
-
"price_book_id__isNotNull",
|
|
44290
44466
|
"price_book_id__equals",
|
|
44291
44467
|
"price_book_id__contains",
|
|
44292
44468
|
"price_book_id__startsWith",
|
|
44293
|
-
"price_book_id__endWith"
|
|
44469
|
+
"price_book_id__endWith",
|
|
44470
|
+
"price_book_id__isNull",
|
|
44471
|
+
"price_book_id__isNotNull"
|
|
44294
44472
|
]
|
|
44295
44473
|
});
|
|
44296
44474
|
});
|
|
@@ -44416,7 +44594,7 @@ Examples:
|
|
|
44416
44594
|
// build/commands/generated/products.js
|
|
44417
44595
|
function registerProductsCommands(parent) {
|
|
44418
44596
|
const resource = parent.command("products").description("Manage products");
|
|
44419
|
-
resource.command("list").description(`List products with optional filters for id, status, name, description, type, and price_book_id. Products define what is being sold (flat fee, per-unit, usage-based, etc.). Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--id <value>", `id`).option("--id.not <value>", `id__not`).option("--id.
|
|
44597
|
+
resource.command("list").description(`List products with optional filters for id, status, name, description, type, and price_book_id. Products define what is being sold (flat fee, per-unit, usage-based, etc.). Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--id <value>", `id`).option("--id.not <value>", `id__not`).option("--id.equals <value>", `id__equals`).option("--id.contains <value>", `id__contains`).option("--id.starts-with <value>", `id__startsWith`).option("--id.end-with <value>", `id__endWith`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.equals <value>", `name__equals`).option("--name.contains <value>", `name__contains`).option("--name.starts-with <value>", `name__startsWith`).option("--name.end-with <value>", `name__endWith`).option("--description <value>", `description`).option("--description.not <value>", `description__not`).option("--description.equals <value>", `description__equals`).option("--description.contains <value>", `description__contains`).option("--description.starts-with <value>", `description__startsWith`).option("--description.end-with <value>", `description__endWith`).option("--description.is-null <value>", `description__isNull`).option("--description.is-not-null <value>", `description__isNotNull`).option("--type <value>", `type`).option("--type.not <value>", `type__not`).option("--type.equals <value>", `type__equals`).option("--type.contains <value>", `type__contains`).option("--type.starts-with <value>", `type__startsWith`).option("--type.end-with <value>", `type__endWith`).option("--price-book-id <value>", `price_book_id`).addHelpText("after", `
|
|
44420
44598
|
Examples:
|
|
44421
44599
|
hyperline products list
|
|
44422
44600
|
hyperline products list --take <take> --id <id>`).action(async (opts) => {
|
|
@@ -44430,10 +44608,6 @@ Examples:
|
|
|
44430
44608
|
args.id = opts.id;
|
|
44431
44609
|
if (opts["id.not"] !== void 0)
|
|
44432
44610
|
args.id__not = opts["id.not"];
|
|
44433
|
-
if (opts["id.isNull"] !== void 0)
|
|
44434
|
-
args.id__isNull = opts["id.isNull"];
|
|
44435
|
-
if (opts["id.isNotNull"] !== void 0)
|
|
44436
|
-
args.id__isNotNull = opts["id.isNotNull"];
|
|
44437
44611
|
if (opts["id.equals"] !== void 0)
|
|
44438
44612
|
args.id__equals = opts["id.equals"];
|
|
44439
44613
|
if (opts["id.contains"] !== void 0)
|
|
@@ -44450,10 +44624,6 @@ Examples:
|
|
|
44450
44624
|
args.name = opts.name;
|
|
44451
44625
|
if (opts["name.not"] !== void 0)
|
|
44452
44626
|
args.name__not = opts["name.not"];
|
|
44453
|
-
if (opts["name.isNull"] !== void 0)
|
|
44454
|
-
args.name__isNull = opts["name.isNull"];
|
|
44455
|
-
if (opts["name.isNotNull"] !== void 0)
|
|
44456
|
-
args.name__isNotNull = opts["name.isNotNull"];
|
|
44457
44627
|
if (opts["name.equals"] !== void 0)
|
|
44458
44628
|
args.name__equals = opts["name.equals"];
|
|
44459
44629
|
if (opts["name.contains"] !== void 0)
|
|
@@ -44466,10 +44636,6 @@ Examples:
|
|
|
44466
44636
|
args.description = opts.description;
|
|
44467
44637
|
if (opts["description.not"] !== void 0)
|
|
44468
44638
|
args.description__not = opts["description.not"];
|
|
44469
|
-
if (opts["description.isNull"] !== void 0)
|
|
44470
|
-
args.description__isNull = opts["description.isNull"];
|
|
44471
|
-
if (opts["description.isNotNull"] !== void 0)
|
|
44472
|
-
args.description__isNotNull = opts["description.isNotNull"];
|
|
44473
44639
|
if (opts["description.equals"] !== void 0)
|
|
44474
44640
|
args.description__equals = opts["description.equals"];
|
|
44475
44641
|
if (opts["description.contains"] !== void 0)
|
|
@@ -44478,14 +44644,14 @@ Examples:
|
|
|
44478
44644
|
args.description__startsWith = opts["description.startsWith"];
|
|
44479
44645
|
if (opts["description.endWith"] !== void 0)
|
|
44480
44646
|
args.description__endWith = opts["description.endWith"];
|
|
44647
|
+
if (opts["description.isNull"] !== void 0)
|
|
44648
|
+
args.description__isNull = opts["description.isNull"];
|
|
44649
|
+
if (opts["description.isNotNull"] !== void 0)
|
|
44650
|
+
args.description__isNotNull = opts["description.isNotNull"];
|
|
44481
44651
|
if (opts.type !== void 0)
|
|
44482
44652
|
args.type = opts.type;
|
|
44483
44653
|
if (opts["type.not"] !== void 0)
|
|
44484
44654
|
args.type__not = opts["type.not"];
|
|
44485
|
-
if (opts["type.isNull"] !== void 0)
|
|
44486
|
-
args.type__isNull = opts["type.isNull"];
|
|
44487
|
-
if (opts["type.isNotNull"] !== void 0)
|
|
44488
|
-
args.type__isNotNull = opts["type.isNotNull"];
|
|
44489
44655
|
if (opts["type.equals"] !== void 0)
|
|
44490
44656
|
args.type__equals = opts["type.equals"];
|
|
44491
44657
|
if (opts["type.contains"] !== void 0)
|
|
@@ -44509,8 +44675,6 @@ Examples:
|
|
|
44509
44675
|
"skip",
|
|
44510
44676
|
"id",
|
|
44511
44677
|
"id__not",
|
|
44512
|
-
"id__isNull",
|
|
44513
|
-
"id__isNotNull",
|
|
44514
44678
|
"id__equals",
|
|
44515
44679
|
"id__contains",
|
|
44516
44680
|
"id__startsWith",
|
|
@@ -44519,24 +44683,20 @@ Examples:
|
|
|
44519
44683
|
"status__in",
|
|
44520
44684
|
"name",
|
|
44521
44685
|
"name__not",
|
|
44522
|
-
"name__isNull",
|
|
44523
|
-
"name__isNotNull",
|
|
44524
44686
|
"name__equals",
|
|
44525
44687
|
"name__contains",
|
|
44526
44688
|
"name__startsWith",
|
|
44527
44689
|
"name__endWith",
|
|
44528
44690
|
"description",
|
|
44529
44691
|
"description__not",
|
|
44530
|
-
"description__isNull",
|
|
44531
|
-
"description__isNotNull",
|
|
44532
44692
|
"description__equals",
|
|
44533
44693
|
"description__contains",
|
|
44534
44694
|
"description__startsWith",
|
|
44535
44695
|
"description__endWith",
|
|
44696
|
+
"description__isNull",
|
|
44697
|
+
"description__isNotNull",
|
|
44536
44698
|
"type",
|
|
44537
44699
|
"type__not",
|
|
44538
|
-
"type__isNull",
|
|
44539
|
-
"type__isNotNull",
|
|
44540
44700
|
"type__equals",
|
|
44541
44701
|
"type__contains",
|
|
44542
44702
|
"type__startsWith",
|
|
@@ -44737,6 +44897,80 @@ Examples:
|
|
|
44737
44897
|
});
|
|
44738
44898
|
}
|
|
44739
44899
|
|
|
44900
|
+
// build/commands/generated/products-features.js
|
|
44901
|
+
function registerProducts_FeaturesCommands(parent) {
|
|
44902
|
+
const resource = parent.command("products-features").description("Manage products > features");
|
|
44903
|
+
resource.command("list-product-features").description(`List feature values assigned to a product.`).requiredOption("--id <value>", `id parameter`).addHelpText("after", `
|
|
44904
|
+
Examples:
|
|
44905
|
+
hyperline products-features list-product-features --id <id>`).action(async (opts) => {
|
|
44906
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
44907
|
+
if (!ctx) {
|
|
44908
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
44909
|
+
process.exit(1);
|
|
44910
|
+
}
|
|
44911
|
+
const args = {};
|
|
44912
|
+
if (opts.id !== void 0)
|
|
44913
|
+
args.id = opts.id;
|
|
44914
|
+
await ctx.execute({
|
|
44915
|
+
method: "GET",
|
|
44916
|
+
path: "/v1/products/{id}/features",
|
|
44917
|
+
args,
|
|
44918
|
+
queryParamKeys: []
|
|
44919
|
+
});
|
|
44920
|
+
});
|
|
44921
|
+
resource.command("set-product-feature").description(`Set a feature value for a product.`).requiredOption("--id <value>", `id parameter`).requiredOption("--code <value>", `code parameter`).requiredOption("--value", `Feature value.`).addHelpText("after", `
|
|
44922
|
+
Examples:
|
|
44923
|
+
hyperline products-features set-product-feature --id <id> --code <code> --value
|
|
44924
|
+
hyperline products-features set-product-feature --id <id> --code <code> --value --output json`).action(async (opts) => {
|
|
44925
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
44926
|
+
if (!ctx) {
|
|
44927
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
44928
|
+
process.exit(1);
|
|
44929
|
+
}
|
|
44930
|
+
const args = {};
|
|
44931
|
+
if (opts.id !== void 0)
|
|
44932
|
+
args.id = opts.id;
|
|
44933
|
+
if (opts.code !== void 0)
|
|
44934
|
+
args.code = opts.code;
|
|
44935
|
+
if (opts.value !== void 0)
|
|
44936
|
+
args.value = true;
|
|
44937
|
+
await ctx.execute({
|
|
44938
|
+
method: "PUT",
|
|
44939
|
+
path: "/v1/products/{id}/features/{code}",
|
|
44940
|
+
args,
|
|
44941
|
+
queryParamKeys: []
|
|
44942
|
+
});
|
|
44943
|
+
});
|
|
44944
|
+
resource.command("delete-product-feature").description(`Delete a feature value from a product.`).requiredOption("--id <value>", `id parameter`).requiredOption("--code <value>", `code parameter`).option("--yes", "Skip confirmation").addHelpText("after", `
|
|
44945
|
+
Examples:
|
|
44946
|
+
hyperline products-features delete-product-feature --id <id> --code <code>
|
|
44947
|
+
hyperline products-features delete-product-feature --id <id> --code <code> --output json`).action(async (opts) => {
|
|
44948
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
44949
|
+
if (!ctx) {
|
|
44950
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
44951
|
+
process.exit(1);
|
|
44952
|
+
}
|
|
44953
|
+
const args = {};
|
|
44954
|
+
if (opts.id !== void 0)
|
|
44955
|
+
args.id = opts.id;
|
|
44956
|
+
if (opts.code !== void 0)
|
|
44957
|
+
args.code = opts.code;
|
|
44958
|
+
if (!opts.yes) {
|
|
44959
|
+
const confirmed = await confirmPrompt("Are you sure? Pass --yes to skip. [y/N] ");
|
|
44960
|
+
if (!confirmed) {
|
|
44961
|
+
process.stdout.write("Aborted.\n");
|
|
44962
|
+
return;
|
|
44963
|
+
}
|
|
44964
|
+
}
|
|
44965
|
+
await ctx.execute({
|
|
44966
|
+
method: "DELETE",
|
|
44967
|
+
path: "/v1/products/{id}/features/{code}",
|
|
44968
|
+
args,
|
|
44969
|
+
queryParamKeys: []
|
|
44970
|
+
});
|
|
44971
|
+
});
|
|
44972
|
+
}
|
|
44973
|
+
|
|
44740
44974
|
// build/commands/generated/quotes.js
|
|
44741
44975
|
function registerQuotesCommands(parent) {
|
|
44742
44976
|
const resource = parent.command("quotes").description("Manage quotes");
|
|
@@ -44746,7 +44980,7 @@ Quote status.
|
|
|
44746
44980
|
- \`draft\`: The quote is a draft.
|
|
44747
44981
|
- \`approved\`: The quote is approved and ready to be sent to the customer.
|
|
44748
44982
|
- \`pending_signature\`: The quote is awaiting the customer's signature.
|
|
44749
|
-
`).option("--owner-email <value>", `Email address of the Hyperline user acting as the quote owner. The owner requests approval when the quote is finalized using an API key or finalized during creation. If not specified, the Hyperline account owner will be assigned.`).requiredOption("--customer-id <value>", `ID of the customer.`).option("--invoicing-entity-id <value>", `ID of the invoicing entity attached to the quote.`).option("--catalog-version-id <value>", `ID of a published catalog version to price every product of the quote from, instead of the live products catalog. A product's own \`catalog_version_id\` takes precedence, and explicit \`prices\` always win over both.`).option("--comments <value>", `Custom comments displayed on the quote.`).option("--terms <value>", `Custom quotation terms.`).option("--amount <number>", `Estimated contract value. For subscription quotes, defaults to the computed subscription value if not specified. For one-off quotes, this field is ignored \u2014 the amount is always derived from the linked invoice's \`amount_excluding_tax\`.`).option("--contract-value <number>", `What the customer pays over the contract, each coupon counted on the invoices it applies to. Computed from the subscription for \`subscription\` and \`subscription_update\` quotes, unless set manually. Not set on \`one_off\` quotes. When specified, overrides the computed value.`).option("--collect-payment-details <value>", `Collect customer payment method mandate during signature flow or not.`).option("--collect-custom-property-ids <json>", `IDs of the customer custom properties required to be filled during the signature flow.`).option("--contract-clause-ids <json>", `IDs of the contract clauses used in the quote terms.`).option("--require-tax-id <value>", `Require the customer to provide a tax ID during the signature flow.`).option("--display-quote-value <value>", `Display the total quote value on the quote.`).option("--display-quote-value-with-tax <value>", `Display the total quote value including tax on the quote. Only applies to \`one_off\` quotes.`).option("--display-taxes <value>", `Display tax breakdown on the quote.`).option("--display-price-tiers <value>", `Controls which price tiers are displayed on the quote.
|
|
44983
|
+
`).option("--owner-email <value>", `Email address of the Hyperline user acting as the quote owner. The owner requests approval when the quote is finalized using an API key or finalized during creation. If not specified, the Hyperline account owner will be assigned.`).requiredOption("--customer-id <value>", `ID of the customer.`).option("--invoicing-entity-id <value>", `ID of the invoicing entity attached to the quote.`).option("--catalog-version-id <value>", `ID of a published catalog version to price every product of the quote from, instead of the live products catalog. A product's own \`catalog_version_id\` takes precedence, and explicit \`prices\` always win over both.`).option("--comments <value>", `Custom comments displayed on the quote.`).option("--terms <value>", `Custom quotation terms.`).option("--amount <number>", `Estimated contract value. When computed, a subscription phase with neither an end date nor a fixed duration is counted over a conventional horizon: the contract's length for a single phase on a contract that has one, otherwise 12 months or the longest billing interval if longer. That horizon is not an end date: the subscription can run past it. Usage-based and connected seat lines are priced at their estimated quantity when it exceeds the committed quantity and, for seats, the live seat count. For subscription quotes, defaults to the computed subscription value if not specified. For one-off quotes, this field is ignored \u2014 the amount is always derived from the linked invoice's \`amount_excluding_tax\`.`).option("--contract-value <number>", `What the customer pays over the contract, each coupon counted on the invoices it applies to. Computed from the subscription for \`subscription\` and \`subscription_update\` quotes, unless set manually. Not set on \`one_off\` quotes. When specified, overrides the computed value.`).option("--collect-payment-details <value>", `Collect customer payment method mandate during signature flow or not.`).option("--collect-custom-property-ids <json>", `IDs of the customer custom properties required to be filled during the signature flow.`).option("--contract-clause-ids <json>", `IDs of the contract clauses used in the quote terms.`).option("--require-tax-id <value>", `Require the customer to provide a tax ID during the signature flow.`).option("--display-quote-value <value>", `Display the total quote value on the quote.`).option("--display-quote-value-with-tax <value>", `Display the total quote value including tax on the quote. Only applies to \`one_off\` quotes.`).option("--display-taxes <value>", `Display tax breakdown on the quote.`).option("--display-price-tiers <value>", `Controls which price tiers are displayed on the quote.
|
|
44750
44984
|
|
|
44751
44985
|
- \`all\`: Display all pricing tiers.
|
|
44752
44986
|
- \`matching\`: Only display the tiers used to compute the price based on quantity.
|
|
@@ -44823,7 +45057,7 @@ Examples:
|
|
|
44823
45057
|
queryParamKeys: []
|
|
44824
45058
|
});
|
|
44825
45059
|
});
|
|
44826
|
-
resource.command("list").description(`List quotes with optional filters for id, number, status, customer_id, template_id, crm_opportunity_id, type, and updated_at. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--id <value>", `id`).option("--id.not <value>", `id__not`).option("--id.
|
|
45060
|
+
resource.command("list").description(`List quotes with optional filters for id, number, status, customer_id, template_id, crm_opportunity_id, type, and updated_at. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--id <value>", `id`).option("--id.not <value>", `id__not`).option("--id.equals <value>", `id__equals`).option("--id.contains <value>", `id__contains`).option("--id.starts-with <value>", `id__startsWith`).option("--id.end-with <value>", `id__endWith`).option("--number <value>", `number`).option("--number.not <value>", `number__not`).option("--number.equals <value>", `number__equals`).option("--number.contains <value>", `number__contains`).option("--number.starts-with <value>", `number__startsWith`).option("--number.end-with <value>", `number__endWith`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--customer-id <value>", `customer_id`).option("--customer-id.not <value>", `customer_id__not`).option("--customer-id.equals <value>", `customer_id__equals`).option("--customer-id.contains <value>", `customer_id__contains`).option("--customer-id.starts-with <value>", `customer_id__startsWith`).option("--customer-id.end-with <value>", `customer_id__endWith`).option("--template-id <value>", `template_id`).option("--template-id.not <value>", `template_id__not`).option("--template-id.equals <value>", `template_id__equals`).option("--template-id.contains <value>", `template_id__contains`).option("--template-id.starts-with <value>", `template_id__startsWith`).option("--template-id.end-with <value>", `template_id__endWith`).option("--template-id.is-null <value>", `template_id__isNull`).option("--template-id.is-not-null <value>", `template_id__isNotNull`).option("--crm-opportunity-id <value>", `crm_opportunity_id`).option("--crm-opportunity-id.not <value>", `crm_opportunity_id__not`).option("--crm-opportunity-id.equals <value>", `crm_opportunity_id__equals`).option("--crm-opportunity-id.contains <value>", `crm_opportunity_id__contains`).option("--crm-opportunity-id.starts-with <value>", `crm_opportunity_id__startsWith`).option("--crm-opportunity-id.end-with <value>", `crm_opportunity_id__endWith`).option("--crm-opportunity-id.is-null <value>", `crm_opportunity_id__isNull`).option("--crm-opportunity-id.is-not-null <value>", `crm_opportunity_id__isNotNull`).option("--type <value>", `type`).option("--updated-at <value>", `updated_at`).option("--updated-at.not <value>", `updated_at__not`).option("--updated-at.equals <value>", `updated_at__equals`).option("--updated-at.lt <value>", `updated_at__lt`).option("--updated-at.lte <value>", `updated_at__lte`).option("--updated-at.gt <value>", `updated_at__gt`).option("--updated-at.gte <value>", `updated_at__gte`).addHelpText("after", `
|
|
44827
45061
|
Examples:
|
|
44828
45062
|
hyperline quotes list
|
|
44829
45063
|
hyperline quotes list --take <take> --id <id>`).action(async (opts) => {
|
|
@@ -44837,10 +45071,6 @@ Examples:
|
|
|
44837
45071
|
args.id = opts.id;
|
|
44838
45072
|
if (opts["id.not"] !== void 0)
|
|
44839
45073
|
args.id__not = opts["id.not"];
|
|
44840
|
-
if (opts["id.isNull"] !== void 0)
|
|
44841
|
-
args.id__isNull = opts["id.isNull"];
|
|
44842
|
-
if (opts["id.isNotNull"] !== void 0)
|
|
44843
|
-
args.id__isNotNull = opts["id.isNotNull"];
|
|
44844
45074
|
if (opts["id.equals"] !== void 0)
|
|
44845
45075
|
args.id__equals = opts["id.equals"];
|
|
44846
45076
|
if (opts["id.contains"] !== void 0)
|
|
@@ -44853,10 +45083,6 @@ Examples:
|
|
|
44853
45083
|
args.number = opts.number;
|
|
44854
45084
|
if (opts["number.not"] !== void 0)
|
|
44855
45085
|
args.number__not = opts["number.not"];
|
|
44856
|
-
if (opts["number.isNull"] !== void 0)
|
|
44857
|
-
args.number__isNull = opts["number.isNull"];
|
|
44858
|
-
if (opts["number.isNotNull"] !== void 0)
|
|
44859
|
-
args.number__isNotNull = opts["number.isNotNull"];
|
|
44860
45086
|
if (opts["number.equals"] !== void 0)
|
|
44861
45087
|
args.number__equals = opts["number.equals"];
|
|
44862
45088
|
if (opts["number.contains"] !== void 0)
|
|
@@ -44873,10 +45099,6 @@ Examples:
|
|
|
44873
45099
|
args.customer_id = opts.customerId;
|
|
44874
45100
|
if (opts["customerId.not"] !== void 0)
|
|
44875
45101
|
args.customer_id__not = opts["customerId.not"];
|
|
44876
|
-
if (opts["customerId.isNull"] !== void 0)
|
|
44877
|
-
args.customer_id__isNull = opts["customerId.isNull"];
|
|
44878
|
-
if (opts["customerId.isNotNull"] !== void 0)
|
|
44879
|
-
args.customer_id__isNotNull = opts["customerId.isNotNull"];
|
|
44880
45102
|
if (opts["customerId.equals"] !== void 0)
|
|
44881
45103
|
args.customer_id__equals = opts["customerId.equals"];
|
|
44882
45104
|
if (opts["customerId.contains"] !== void 0)
|
|
@@ -44889,10 +45111,6 @@ Examples:
|
|
|
44889
45111
|
args.template_id = opts.templateId;
|
|
44890
45112
|
if (opts["templateId.not"] !== void 0)
|
|
44891
45113
|
args.template_id__not = opts["templateId.not"];
|
|
44892
|
-
if (opts["templateId.isNull"] !== void 0)
|
|
44893
|
-
args.template_id__isNull = opts["templateId.isNull"];
|
|
44894
|
-
if (opts["templateId.isNotNull"] !== void 0)
|
|
44895
|
-
args.template_id__isNotNull = opts["templateId.isNotNull"];
|
|
44896
45114
|
if (opts["templateId.equals"] !== void 0)
|
|
44897
45115
|
args.template_id__equals = opts["templateId.equals"];
|
|
44898
45116
|
if (opts["templateId.contains"] !== void 0)
|
|
@@ -44901,14 +45119,14 @@ Examples:
|
|
|
44901
45119
|
args.template_id__startsWith = opts["templateId.startsWith"];
|
|
44902
45120
|
if (opts["templateId.endWith"] !== void 0)
|
|
44903
45121
|
args.template_id__endWith = opts["templateId.endWith"];
|
|
45122
|
+
if (opts["templateId.isNull"] !== void 0)
|
|
45123
|
+
args.template_id__isNull = opts["templateId.isNull"];
|
|
45124
|
+
if (opts["templateId.isNotNull"] !== void 0)
|
|
45125
|
+
args.template_id__isNotNull = opts["templateId.isNotNull"];
|
|
44904
45126
|
if (opts.crmOpportunityId !== void 0)
|
|
44905
45127
|
args.crm_opportunity_id = opts.crmOpportunityId;
|
|
44906
45128
|
if (opts["crmOpportunityId.not"] !== void 0)
|
|
44907
45129
|
args.crm_opportunity_id__not = opts["crmOpportunityId.not"];
|
|
44908
|
-
if (opts["crmOpportunityId.isNull"] !== void 0)
|
|
44909
|
-
args.crm_opportunity_id__isNull = opts["crmOpportunityId.isNull"];
|
|
44910
|
-
if (opts["crmOpportunityId.isNotNull"] !== void 0)
|
|
44911
|
-
args.crm_opportunity_id__isNotNull = opts["crmOpportunityId.isNotNull"];
|
|
44912
45130
|
if (opts["crmOpportunityId.equals"] !== void 0)
|
|
44913
45131
|
args.crm_opportunity_id__equals = opts["crmOpportunityId.equals"];
|
|
44914
45132
|
if (opts["crmOpportunityId.contains"] !== void 0)
|
|
@@ -44917,16 +45135,16 @@ Examples:
|
|
|
44917
45135
|
args.crm_opportunity_id__startsWith = opts["crmOpportunityId.startsWith"];
|
|
44918
45136
|
if (opts["crmOpportunityId.endWith"] !== void 0)
|
|
44919
45137
|
args.crm_opportunity_id__endWith = opts["crmOpportunityId.endWith"];
|
|
45138
|
+
if (opts["crmOpportunityId.isNull"] !== void 0)
|
|
45139
|
+
args.crm_opportunity_id__isNull = opts["crmOpportunityId.isNull"];
|
|
45140
|
+
if (opts["crmOpportunityId.isNotNull"] !== void 0)
|
|
45141
|
+
args.crm_opportunity_id__isNotNull = opts["crmOpportunityId.isNotNull"];
|
|
44920
45142
|
if (opts.type !== void 0)
|
|
44921
45143
|
args.type = opts.type;
|
|
44922
45144
|
if (opts.updatedAt !== void 0)
|
|
44923
45145
|
args.updated_at = opts.updatedAt;
|
|
44924
45146
|
if (opts["updatedAt.not"] !== void 0)
|
|
44925
45147
|
args.updated_at__not = opts["updatedAt.not"];
|
|
44926
|
-
if (opts["updatedAt.isNull"] !== void 0)
|
|
44927
|
-
args.updated_at__isNull = opts["updatedAt.isNull"];
|
|
44928
|
-
if (opts["updatedAt.isNotNull"] !== void 0)
|
|
44929
|
-
args.updated_at__isNotNull = opts["updatedAt.isNotNull"];
|
|
44930
45148
|
if (opts["updatedAt.equals"] !== void 0)
|
|
44931
45149
|
args.updated_at__equals = opts["updatedAt.equals"];
|
|
44932
45150
|
if (opts["updatedAt.lt"] !== void 0)
|
|
@@ -44950,16 +45168,12 @@ Examples:
|
|
|
44950
45168
|
"skip",
|
|
44951
45169
|
"id",
|
|
44952
45170
|
"id__not",
|
|
44953
|
-
"id__isNull",
|
|
44954
|
-
"id__isNotNull",
|
|
44955
45171
|
"id__equals",
|
|
44956
45172
|
"id__contains",
|
|
44957
45173
|
"id__startsWith",
|
|
44958
45174
|
"id__endWith",
|
|
44959
45175
|
"number",
|
|
44960
45176
|
"number__not",
|
|
44961
|
-
"number__isNull",
|
|
44962
|
-
"number__isNotNull",
|
|
44963
45177
|
"number__equals",
|
|
44964
45178
|
"number__contains",
|
|
44965
45179
|
"number__startsWith",
|
|
@@ -44968,33 +45182,29 @@ Examples:
|
|
|
44968
45182
|
"status__in",
|
|
44969
45183
|
"customer_id",
|
|
44970
45184
|
"customer_id__not",
|
|
44971
|
-
"customer_id__isNull",
|
|
44972
|
-
"customer_id__isNotNull",
|
|
44973
45185
|
"customer_id__equals",
|
|
44974
45186
|
"customer_id__contains",
|
|
44975
45187
|
"customer_id__startsWith",
|
|
44976
45188
|
"customer_id__endWith",
|
|
44977
45189
|
"template_id",
|
|
44978
45190
|
"template_id__not",
|
|
44979
|
-
"template_id__isNull",
|
|
44980
|
-
"template_id__isNotNull",
|
|
44981
45191
|
"template_id__equals",
|
|
44982
45192
|
"template_id__contains",
|
|
44983
45193
|
"template_id__startsWith",
|
|
44984
45194
|
"template_id__endWith",
|
|
45195
|
+
"template_id__isNull",
|
|
45196
|
+
"template_id__isNotNull",
|
|
44985
45197
|
"crm_opportunity_id",
|
|
44986
45198
|
"crm_opportunity_id__not",
|
|
44987
|
-
"crm_opportunity_id__isNull",
|
|
44988
|
-
"crm_opportunity_id__isNotNull",
|
|
44989
45199
|
"crm_opportunity_id__equals",
|
|
44990
45200
|
"crm_opportunity_id__contains",
|
|
44991
45201
|
"crm_opportunity_id__startsWith",
|
|
44992
45202
|
"crm_opportunity_id__endWith",
|
|
45203
|
+
"crm_opportunity_id__isNull",
|
|
45204
|
+
"crm_opportunity_id__isNotNull",
|
|
44993
45205
|
"type",
|
|
44994
45206
|
"updated_at",
|
|
44995
45207
|
"updated_at__not",
|
|
44996
|
-
"updated_at__isNull",
|
|
44997
|
-
"updated_at__isNotNull",
|
|
44998
45208
|
"updated_at__equals",
|
|
44999
45209
|
"updated_at__lt",
|
|
45000
45210
|
"updated_at__lte",
|
|
@@ -45021,7 +45231,7 @@ Examples:
|
|
|
45021
45231
|
queryParamKeys: []
|
|
45022
45232
|
});
|
|
45023
45233
|
});
|
|
45024
|
-
resource.command("update").description(`Update quote-level fields before a quote is finalized. On draft quotes, pass \`subscription\` inline \u2014 the full configuration, not a reference to an existing subscription \u2014 to create or replace the draft subscription configuration, or pass \`invoice\` on a one-off quote to replace the linked draft invoice. For quotes created from \`template_id\`, use this tool for subscription overrides such as dates, contract terms, products, phases, coupons, discounts, prices, seats, and subscription custom properties. Omit \`terms\`, \`comments\`, and \`contract_clause_ids\` unless deliberately overriding template content. Discover product and price configuration IDs with \`get_catalog_context\`.`).requiredOption("--id <value>", `id parameter`).option("--owner-email <value>", `Email address of the Hyperline user acting as the quote owner. The owner requests approval when the quote is finalized using an API key or finalized during creation.`).option("--catalog-version-id <value>", `ID of a published catalog version to price every product of the quote from, instead of the live products catalog. A product's own \`catalog_version_id\` takes precedence, and explicit \`prices\` always win over both.`).option("--comments <value>", `Custom comments displayed on the quote.`).option("--terms <value>", `Custom quotation terms.`).option("--amount <number>", `Estimated contract value. Set to \`null\` to clear the manually set value.`).option("--contract-value <number>", `What the customer pays over the contract, each coupon counted on the invoices it applies to. Computed from the subscription for \`subscription\` and \`subscription_update\` quotes, unless set manually. Not set on \`one_off\` quotes. When specified, overrides the computed value. Set to \`null\` to go back to the computed value.`).option("--collect-payment-details <value>", `Collect customer payment method mandate during signature flow or not.`).option("--collect-custom-property-ids <json>", `IDs of the customer custom properties required to be filled during the signature flow.`).option("--contract-clause-ids <json>", `IDs of the contract clauses used in the quote terms.`).option("--require-tax-id <value>", `Require the customer to provide a tax ID during the signature flow.`).option("--display-quote-value <value>", `Display the total quote value on the quote.`).option("--display-quote-value-with-tax <value>", `Display the total quote value including tax on the quote. Only applies to \`one_off\` quotes.`).option("--display-taxes <value>", `Display tax breakdown on the quote.`).option("--display-price-tiers <value>", `Controls which price tiers are displayed on the quote.
|
|
45234
|
+
resource.command("update").description(`Update quote-level fields before a quote is finalized. On draft quotes, pass \`subscription\` inline \u2014 the full configuration, not a reference to an existing subscription \u2014 to create or replace the draft subscription configuration, or pass \`invoice\` on a one-off quote to replace the linked draft invoice. For quotes created from \`template_id\`, use this tool for subscription overrides such as dates, contract terms, products, phases, coupons, discounts, prices, seats, and subscription custom properties. Omit \`terms\`, \`comments\`, and \`contract_clause_ids\` unless deliberately overriding template content. Discover product and price configuration IDs with \`get_catalog_context\`.`).requiredOption("--id <value>", `id parameter`).option("--owner-email <value>", `Email address of the Hyperline user acting as the quote owner. The owner requests approval when the quote is finalized using an API key or finalized during creation.`).option("--catalog-version-id <value>", `ID of a published catalog version to price every product of the quote from, instead of the live products catalog. A product's own \`catalog_version_id\` takes precedence, and explicit \`prices\` always win over both.`).option("--comments <value>", `Custom comments displayed on the quote.`).option("--terms <value>", `Custom quotation terms.`).option("--amount <number>", `Estimated contract value. When computed, a subscription phase with neither an end date nor a fixed duration is counted over a conventional horizon: the contract's length for a single phase on a contract that has one, otherwise 12 months or the longest billing interval if longer. That horizon is not an end date: the subscription can run past it. Usage-based and connected seat lines are priced at their estimated quantity when it exceeds the committed quantity and, for seats, the live seat count. Set to \`null\` to clear the manually set value.`).option("--contract-value <number>", `What the customer pays over the contract, each coupon counted on the invoices it applies to. Computed from the subscription for \`subscription\` and \`subscription_update\` quotes, unless set manually. Not set on \`one_off\` quotes. When specified, overrides the computed value. Set to \`null\` to go back to the computed value.`).option("--collect-payment-details <value>", `Collect customer payment method mandate during signature flow or not.`).option("--collect-custom-property-ids <json>", `IDs of the customer custom properties required to be filled during the signature flow.`).option("--contract-clause-ids <json>", `IDs of the contract clauses used in the quote terms.`).option("--require-tax-id <value>", `Require the customer to provide a tax ID during the signature flow.`).option("--display-quote-value <value>", `Display the total quote value on the quote.`).option("--display-quote-value-with-tax <value>", `Display the total quote value including tax on the quote. Only applies to \`one_off\` quotes.`).option("--display-taxes <value>", `Display tax breakdown on the quote.`).option("--display-price-tiers <value>", `Controls which price tiers are displayed on the quote.
|
|
45025
45235
|
|
|
45026
45236
|
- \`all\`: Display all pricing tiers.
|
|
45027
45237
|
- \`matching\`: Only display the tiers used to compute the price based on quantity.
|
|
@@ -45372,7 +45582,7 @@ Examples:
|
|
|
45372
45582
|
// build/commands/generated/quotes-templates.js
|
|
45373
45583
|
function registerQuotes_TemplatesCommands(parent) {
|
|
45374
45584
|
const resource = parent.command("quotes-templates").description("Manage quotes > templates");
|
|
45375
|
-
resource.command("list-quote-templates").description(`List quote templates with pagination and optional filters for id, name, subscription_template_id, and search. Use template IDs to create quotes from reusable quote defaults.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--id <value>", `id`).option("--id.not <value>", `id__not`).option("--id.
|
|
45585
|
+
resource.command("list-quote-templates").description(`List quote templates with pagination and optional filters for id, name, subscription_template_id, and search. Use template IDs to create quotes from reusable quote defaults.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--id <value>", `id`).option("--id.not <value>", `id__not`).option("--id.equals <value>", `id__equals`).option("--id.contains <value>", `id__contains`).option("--id.starts-with <value>", `id__startsWith`).option("--id.end-with <value>", `id__endWith`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.equals <value>", `name__equals`).option("--name.contains <value>", `name__contains`).option("--name.starts-with <value>", `name__startsWith`).option("--name.end-with <value>", `name__endWith`).option("--subscription-template-id <value>", `subscription_template_id`).option("--subscription-template-id.not <value>", `subscription_template_id__not`).option("--subscription-template-id.equals <value>", `subscription_template_id__equals`).option("--subscription-template-id.contains <value>", `subscription_template_id__contains`).option("--subscription-template-id.starts-with <value>", `subscription_template_id__startsWith`).option("--subscription-template-id.end-with <value>", `subscription_template_id__endWith`).option("--subscription-template-id.is-null <value>", `subscription_template_id__isNull`).option("--subscription-template-id.is-not-null <value>", `subscription_template_id__isNotNull`).option("--search <value>", `search`).addHelpText("after", `
|
|
45376
45586
|
Examples:
|
|
45377
45587
|
hyperline quotes-templates list-quote-templates
|
|
45378
45588
|
hyperline quotes-templates list-quote-templates --take <take> --id <id>`).action(async (opts) => {
|
|
@@ -45386,10 +45596,6 @@ Examples:
|
|
|
45386
45596
|
args.id = opts.id;
|
|
45387
45597
|
if (opts["id.not"] !== void 0)
|
|
45388
45598
|
args.id__not = opts["id.not"];
|
|
45389
|
-
if (opts["id.isNull"] !== void 0)
|
|
45390
|
-
args.id__isNull = opts["id.isNull"];
|
|
45391
|
-
if (opts["id.isNotNull"] !== void 0)
|
|
45392
|
-
args.id__isNotNull = opts["id.isNotNull"];
|
|
45393
45599
|
if (opts["id.equals"] !== void 0)
|
|
45394
45600
|
args.id__equals = opts["id.equals"];
|
|
45395
45601
|
if (opts["id.contains"] !== void 0)
|
|
@@ -45402,10 +45608,6 @@ Examples:
|
|
|
45402
45608
|
args.name = opts.name;
|
|
45403
45609
|
if (opts["name.not"] !== void 0)
|
|
45404
45610
|
args.name__not = opts["name.not"];
|
|
45405
|
-
if (opts["name.isNull"] !== void 0)
|
|
45406
|
-
args.name__isNull = opts["name.isNull"];
|
|
45407
|
-
if (opts["name.isNotNull"] !== void 0)
|
|
45408
|
-
args.name__isNotNull = opts["name.isNotNull"];
|
|
45409
45611
|
if (opts["name.equals"] !== void 0)
|
|
45410
45612
|
args.name__equals = opts["name.equals"];
|
|
45411
45613
|
if (opts["name.contains"] !== void 0)
|
|
@@ -45418,10 +45620,6 @@ Examples:
|
|
|
45418
45620
|
args.subscription_template_id = opts.subscriptionTemplateId;
|
|
45419
45621
|
if (opts["subscriptionTemplateId.not"] !== void 0)
|
|
45420
45622
|
args.subscription_template_id__not = opts["subscriptionTemplateId.not"];
|
|
45421
|
-
if (opts["subscriptionTemplateId.isNull"] !== void 0)
|
|
45422
|
-
args.subscription_template_id__isNull = opts["subscriptionTemplateId.isNull"];
|
|
45423
|
-
if (opts["subscriptionTemplateId.isNotNull"] !== void 0)
|
|
45424
|
-
args.subscription_template_id__isNotNull = opts["subscriptionTemplateId.isNotNull"];
|
|
45425
45623
|
if (opts["subscriptionTemplateId.equals"] !== void 0)
|
|
45426
45624
|
args.subscription_template_id__equals = opts["subscriptionTemplateId.equals"];
|
|
45427
45625
|
if (opts["subscriptionTemplateId.contains"] !== void 0)
|
|
@@ -45430,6 +45628,10 @@ Examples:
|
|
|
45430
45628
|
args.subscription_template_id__startsWith = opts["subscriptionTemplateId.startsWith"];
|
|
45431
45629
|
if (opts["subscriptionTemplateId.endWith"] !== void 0)
|
|
45432
45630
|
args.subscription_template_id__endWith = opts["subscriptionTemplateId.endWith"];
|
|
45631
|
+
if (opts["subscriptionTemplateId.isNull"] !== void 0)
|
|
45632
|
+
args.subscription_template_id__isNull = opts["subscriptionTemplateId.isNull"];
|
|
45633
|
+
if (opts["subscriptionTemplateId.isNotNull"] !== void 0)
|
|
45634
|
+
args.subscription_template_id__isNotNull = opts["subscriptionTemplateId.isNotNull"];
|
|
45433
45635
|
if (opts.search !== void 0)
|
|
45434
45636
|
args.search = opts.search;
|
|
45435
45637
|
if (opts.take !== void 0)
|
|
@@ -45445,28 +45647,24 @@ Examples:
|
|
|
45445
45647
|
"skip",
|
|
45446
45648
|
"id",
|
|
45447
45649
|
"id__not",
|
|
45448
|
-
"id__isNull",
|
|
45449
|
-
"id__isNotNull",
|
|
45450
45650
|
"id__equals",
|
|
45451
45651
|
"id__contains",
|
|
45452
45652
|
"id__startsWith",
|
|
45453
45653
|
"id__endWith",
|
|
45454
45654
|
"name",
|
|
45455
45655
|
"name__not",
|
|
45456
|
-
"name__isNull",
|
|
45457
|
-
"name__isNotNull",
|
|
45458
45656
|
"name__equals",
|
|
45459
45657
|
"name__contains",
|
|
45460
45658
|
"name__startsWith",
|
|
45461
45659
|
"name__endWith",
|
|
45462
45660
|
"subscription_template_id",
|
|
45463
45661
|
"subscription_template_id__not",
|
|
45464
|
-
"subscription_template_id__isNull",
|
|
45465
|
-
"subscription_template_id__isNotNull",
|
|
45466
45662
|
"subscription_template_id__equals",
|
|
45467
45663
|
"subscription_template_id__contains",
|
|
45468
45664
|
"subscription_template_id__startsWith",
|
|
45469
45665
|
"subscription_template_id__endWith",
|
|
45666
|
+
"subscription_template_id__isNull",
|
|
45667
|
+
"subscription_template_id__isNotNull",
|
|
45470
45668
|
"search"
|
|
45471
45669
|
]
|
|
45472
45670
|
});
|
|
@@ -45877,7 +46075,7 @@ Subscription status filter.
|
|
|
45877
46075
|
- \`any\`: every status, no exclusion.
|
|
45878
46076
|
|
|
45879
46077
|
Use \`status__in\` with comma-separated values to combine statuses. When the filter is omitted, \`draft\`, \`voided\`, \`cancelled\` and \`archived\` subscriptions are excluded.
|
|
45880
|
-
`).option("--status.in <value>", `Comma-separated list of subscription statuses to include. Same values as \`status\`.`).option("--currency <value>", `currency`).option("--currency.not <value>", `currency__not`).option("--currency.
|
|
46078
|
+
`).option("--status.in <value>", `Comma-separated list of subscription statuses to include. Same values as \`status\`.`).option("--currency <value>", `currency`).option("--currency.not <value>", `currency__not`).option("--currency.equals <value>", `currency__equals`).option("--currency.contains <value>", `currency__contains`).option("--currency.starts-with <value>", `currency__startsWith`).option("--currency.end-with <value>", `currency__endWith`).option("--plan-id <value>", `plan_id`).option("--plan-id.not <value>", `plan_id__not`).option("--plan-id.equals <value>", `plan_id__equals`).option("--plan-id.contains <value>", `plan_id__contains`).option("--plan-id.starts-with <value>", `plan_id__startsWith`).option("--plan-id.end-with <value>", `plan_id__endWith`).option("--plan-id.is-null <value>", `plan_id__isNull`).option("--plan-id.is-not-null <value>", `plan_id__isNotNull`).option("--original-quote-id <value>", `original_quote_id`).option("--original-quote-id.not <value>", `original_quote_id__not`).option("--original-quote-id.equals <value>", `original_quote_id__equals`).option("--original-quote-id.contains <value>", `original_quote_id__contains`).option("--original-quote-id.starts-with <value>", `original_quote_id__startsWith`).option("--original-quote-id.end-with <value>", `original_quote_id__endWith`).option("--original-quote-id.is-null <value>", `original_quote_id__isNull`).option("--original-quote-id.is-not-null <value>", `original_quote_id__isNotNull`).option("--customer-id <value>", `customer_id`).option("--customer-id.not <value>", `customer_id__not`).option("--customer-id.equals <value>", `customer_id__equals`).option("--customer-id.contains <value>", `customer_id__contains`).option("--customer-id.starts-with <value>", `customer_id__startsWith`).option("--customer-id.end-with <value>", `customer_id__endWith`).option("--customer-id.is-null <value>", `customer_id__isNull`).option("--customer-id.is-not-null <value>", `customer_id__isNotNull`).option("--invoicing-entity-id <value>", `invoicing_entity_id`).option("--purchase-order <value>", `purchase_order`).option("--purchase-order.not <value>", `purchase_order__not`).option("--purchase-order.equals <value>", `purchase_order__equals`).option("--purchase-order.contains <value>", `purchase_order__contains`).option("--purchase-order.starts-with <value>", `purchase_order__startsWith`).option("--purchase-order.end-with <value>", `purchase_order__endWith`).option("--purchase-order.is-null <value>", `purchase_order__isNull`).option("--purchase-order.is-not-null <value>", `purchase_order__isNotNull`).option("--custom-properties <value>", `custom_properties`).option("--invoice-drafts <value>", `invoice_drafts`).option("--integration-entity-id <value>", `integration_entity_id`).option("--updated-at <value>", `updated_at`).option("--updated-at.not <value>", `updated_at__not`).option("--updated-at.equals <value>", `updated_at__equals`).option("--updated-at.lt <value>", `updated_at__lt`).option("--updated-at.lte <value>", `updated_at__lte`).option("--updated-at.gt <value>", `updated_at__gt`).option("--updated-at.gte <value>", `updated_at__gte`).option("--cancel-at <value>", `cancel_at`).option("--cancel-at.not <value>", `cancel_at__not`).option("--cancel-at.equals <value>", `cancel_at__equals`).option("--cancel-at.lt <value>", `cancel_at__lt`).option("--cancel-at.lte <value>", `cancel_at__lte`).option("--cancel-at.gt <value>", `cancel_at__gt`).option("--cancel-at.gte <value>", `cancel_at__gte`).option("--cancel-at.is-null <value>", `cancel_at__isNull`).option("--cancel-at.is-not-null <value>", `cancel_at__isNotNull`).option("--contract-start.gte <value>", `Return only subscriptions whose active contract starts on or after this date.`).option("--contract-start.lte <value>", `Return only subscriptions whose active contract starts on or before this date.`).option("--contract-end.gte <value>", `Return only subscriptions whose active contract ends on or after this date.`).option("--contract-end.lte <value>", `Return only subscriptions whose active contract ends on or before this date.`).option("--renew-automatically <value>", `Return only subscriptions whose active contract renews automatically (\`true\`) or not (\`false\`).`).addHelpText("after", `
|
|
45881
46079
|
Examples:
|
|
45882
46080
|
hyperline subscriptions list
|
|
45883
46081
|
hyperline subscriptions list --take <take> --activation-strategy <activation_strategy>`).action(async (opts) => {
|
|
@@ -45899,10 +46097,6 @@ Examples:
|
|
|
45899
46097
|
args.currency = opts.currency;
|
|
45900
46098
|
if (opts["currency.not"] !== void 0)
|
|
45901
46099
|
args.currency__not = opts["currency.not"];
|
|
45902
|
-
if (opts["currency.isNull"] !== void 0)
|
|
45903
|
-
args.currency__isNull = opts["currency.isNull"];
|
|
45904
|
-
if (opts["currency.isNotNull"] !== void 0)
|
|
45905
|
-
args.currency__isNotNull = opts["currency.isNotNull"];
|
|
45906
46100
|
if (opts["currency.equals"] !== void 0)
|
|
45907
46101
|
args.currency__equals = opts["currency.equals"];
|
|
45908
46102
|
if (opts["currency.contains"] !== void 0)
|
|
@@ -45915,10 +46109,6 @@ Examples:
|
|
|
45915
46109
|
args.plan_id = opts.planId;
|
|
45916
46110
|
if (opts["planId.not"] !== void 0)
|
|
45917
46111
|
args.plan_id__not = opts["planId.not"];
|
|
45918
|
-
if (opts["planId.isNull"] !== void 0)
|
|
45919
|
-
args.plan_id__isNull = opts["planId.isNull"];
|
|
45920
|
-
if (opts["planId.isNotNull"] !== void 0)
|
|
45921
|
-
args.plan_id__isNotNull = opts["planId.isNotNull"];
|
|
45922
46112
|
if (opts["planId.equals"] !== void 0)
|
|
45923
46113
|
args.plan_id__equals = opts["planId.equals"];
|
|
45924
46114
|
if (opts["planId.contains"] !== void 0)
|
|
@@ -45927,14 +46117,14 @@ Examples:
|
|
|
45927
46117
|
args.plan_id__startsWith = opts["planId.startsWith"];
|
|
45928
46118
|
if (opts["planId.endWith"] !== void 0)
|
|
45929
46119
|
args.plan_id__endWith = opts["planId.endWith"];
|
|
46120
|
+
if (opts["planId.isNull"] !== void 0)
|
|
46121
|
+
args.plan_id__isNull = opts["planId.isNull"];
|
|
46122
|
+
if (opts["planId.isNotNull"] !== void 0)
|
|
46123
|
+
args.plan_id__isNotNull = opts["planId.isNotNull"];
|
|
45930
46124
|
if (opts.originalQuoteId !== void 0)
|
|
45931
46125
|
args.original_quote_id = opts.originalQuoteId;
|
|
45932
46126
|
if (opts["originalQuoteId.not"] !== void 0)
|
|
45933
46127
|
args.original_quote_id__not = opts["originalQuoteId.not"];
|
|
45934
|
-
if (opts["originalQuoteId.isNull"] !== void 0)
|
|
45935
|
-
args.original_quote_id__isNull = opts["originalQuoteId.isNull"];
|
|
45936
|
-
if (opts["originalQuoteId.isNotNull"] !== void 0)
|
|
45937
|
-
args.original_quote_id__isNotNull = opts["originalQuoteId.isNotNull"];
|
|
45938
46128
|
if (opts["originalQuoteId.equals"] !== void 0)
|
|
45939
46129
|
args.original_quote_id__equals = opts["originalQuoteId.equals"];
|
|
45940
46130
|
if (opts["originalQuoteId.contains"] !== void 0)
|
|
@@ -45943,14 +46133,14 @@ Examples:
|
|
|
45943
46133
|
args.original_quote_id__startsWith = opts["originalQuoteId.startsWith"];
|
|
45944
46134
|
if (opts["originalQuoteId.endWith"] !== void 0)
|
|
45945
46135
|
args.original_quote_id__endWith = opts["originalQuoteId.endWith"];
|
|
46136
|
+
if (opts["originalQuoteId.isNull"] !== void 0)
|
|
46137
|
+
args.original_quote_id__isNull = opts["originalQuoteId.isNull"];
|
|
46138
|
+
if (opts["originalQuoteId.isNotNull"] !== void 0)
|
|
46139
|
+
args.original_quote_id__isNotNull = opts["originalQuoteId.isNotNull"];
|
|
45946
46140
|
if (opts.customerId !== void 0)
|
|
45947
46141
|
args.customer_id = opts.customerId;
|
|
45948
46142
|
if (opts["customerId.not"] !== void 0)
|
|
45949
46143
|
args.customer_id__not = opts["customerId.not"];
|
|
45950
|
-
if (opts["customerId.isNull"] !== void 0)
|
|
45951
|
-
args.customer_id__isNull = opts["customerId.isNull"];
|
|
45952
|
-
if (opts["customerId.isNotNull"] !== void 0)
|
|
45953
|
-
args.customer_id__isNotNull = opts["customerId.isNotNull"];
|
|
45954
46144
|
if (opts["customerId.equals"] !== void 0)
|
|
45955
46145
|
args.customer_id__equals = opts["customerId.equals"];
|
|
45956
46146
|
if (opts["customerId.contains"] !== void 0)
|
|
@@ -45959,16 +46149,16 @@ Examples:
|
|
|
45959
46149
|
args.customer_id__startsWith = opts["customerId.startsWith"];
|
|
45960
46150
|
if (opts["customerId.endWith"] !== void 0)
|
|
45961
46151
|
args.customer_id__endWith = opts["customerId.endWith"];
|
|
46152
|
+
if (opts["customerId.isNull"] !== void 0)
|
|
46153
|
+
args.customer_id__isNull = opts["customerId.isNull"];
|
|
46154
|
+
if (opts["customerId.isNotNull"] !== void 0)
|
|
46155
|
+
args.customer_id__isNotNull = opts["customerId.isNotNull"];
|
|
45962
46156
|
if (opts.invoicingEntityId !== void 0)
|
|
45963
46157
|
args.invoicing_entity_id = opts.invoicingEntityId;
|
|
45964
46158
|
if (opts.purchaseOrder !== void 0)
|
|
45965
46159
|
args.purchase_order = opts.purchaseOrder;
|
|
45966
46160
|
if (opts["purchaseOrder.not"] !== void 0)
|
|
45967
46161
|
args.purchase_order__not = opts["purchaseOrder.not"];
|
|
45968
|
-
if (opts["purchaseOrder.isNull"] !== void 0)
|
|
45969
|
-
args.purchase_order__isNull = opts["purchaseOrder.isNull"];
|
|
45970
|
-
if (opts["purchaseOrder.isNotNull"] !== void 0)
|
|
45971
|
-
args.purchase_order__isNotNull = opts["purchaseOrder.isNotNull"];
|
|
45972
46162
|
if (opts["purchaseOrder.equals"] !== void 0)
|
|
45973
46163
|
args.purchase_order__equals = opts["purchaseOrder.equals"];
|
|
45974
46164
|
if (opts["purchaseOrder.contains"] !== void 0)
|
|
@@ -45977,6 +46167,10 @@ Examples:
|
|
|
45977
46167
|
args.purchase_order__startsWith = opts["purchaseOrder.startsWith"];
|
|
45978
46168
|
if (opts["purchaseOrder.endWith"] !== void 0)
|
|
45979
46169
|
args.purchase_order__endWith = opts["purchaseOrder.endWith"];
|
|
46170
|
+
if (opts["purchaseOrder.isNull"] !== void 0)
|
|
46171
|
+
args.purchase_order__isNull = opts["purchaseOrder.isNull"];
|
|
46172
|
+
if (opts["purchaseOrder.isNotNull"] !== void 0)
|
|
46173
|
+
args.purchase_order__isNotNull = opts["purchaseOrder.isNotNull"];
|
|
45980
46174
|
if (opts.customProperties !== void 0)
|
|
45981
46175
|
args.custom_properties = opts.customProperties;
|
|
45982
46176
|
if (opts.invoiceDrafts !== void 0)
|
|
@@ -45987,10 +46181,6 @@ Examples:
|
|
|
45987
46181
|
args.updated_at = opts.updatedAt;
|
|
45988
46182
|
if (opts["updatedAt.not"] !== void 0)
|
|
45989
46183
|
args.updated_at__not = opts["updatedAt.not"];
|
|
45990
|
-
if (opts["updatedAt.isNull"] !== void 0)
|
|
45991
|
-
args.updated_at__isNull = opts["updatedAt.isNull"];
|
|
45992
|
-
if (opts["updatedAt.isNotNull"] !== void 0)
|
|
45993
|
-
args.updated_at__isNotNull = opts["updatedAt.isNotNull"];
|
|
45994
46184
|
if (opts["updatedAt.equals"] !== void 0)
|
|
45995
46185
|
args.updated_at__equals = opts["updatedAt.equals"];
|
|
45996
46186
|
if (opts["updatedAt.lt"] !== void 0)
|
|
@@ -46005,10 +46195,6 @@ Examples:
|
|
|
46005
46195
|
args.cancel_at = opts.cancelAt;
|
|
46006
46196
|
if (opts["cancelAt.not"] !== void 0)
|
|
46007
46197
|
args.cancel_at__not = opts["cancelAt.not"];
|
|
46008
|
-
if (opts["cancelAt.isNull"] !== void 0)
|
|
46009
|
-
args.cancel_at__isNull = opts["cancelAt.isNull"];
|
|
46010
|
-
if (opts["cancelAt.isNotNull"] !== void 0)
|
|
46011
|
-
args.cancel_at__isNotNull = opts["cancelAt.isNotNull"];
|
|
46012
46198
|
if (opts["cancelAt.equals"] !== void 0)
|
|
46013
46199
|
args.cancel_at__equals = opts["cancelAt.equals"];
|
|
46014
46200
|
if (opts["cancelAt.lt"] !== void 0)
|
|
@@ -46019,6 +46205,10 @@ Examples:
|
|
|
46019
46205
|
args.cancel_at__gt = opts["cancelAt.gt"];
|
|
46020
46206
|
if (opts["cancelAt.gte"] !== void 0)
|
|
46021
46207
|
args.cancel_at__gte = opts["cancelAt.gte"];
|
|
46208
|
+
if (opts["cancelAt.isNull"] !== void 0)
|
|
46209
|
+
args.cancel_at__isNull = opts["cancelAt.isNull"];
|
|
46210
|
+
if (opts["cancelAt.isNotNull"] !== void 0)
|
|
46211
|
+
args.cancel_at__isNotNull = opts["cancelAt.isNotNull"];
|
|
46022
46212
|
if (opts["contractStart.gte"] !== void 0)
|
|
46023
46213
|
args.contract_start__gte = opts["contractStart.gte"];
|
|
46024
46214
|
if (opts["contractStart.lte"] !== void 0)
|
|
@@ -46046,52 +46236,48 @@ Examples:
|
|
|
46046
46236
|
"status__in",
|
|
46047
46237
|
"currency",
|
|
46048
46238
|
"currency__not",
|
|
46049
|
-
"currency__isNull",
|
|
46050
|
-
"currency__isNotNull",
|
|
46051
46239
|
"currency__equals",
|
|
46052
46240
|
"currency__contains",
|
|
46053
46241
|
"currency__startsWith",
|
|
46054
46242
|
"currency__endWith",
|
|
46055
46243
|
"plan_id",
|
|
46056
46244
|
"plan_id__not",
|
|
46057
|
-
"plan_id__isNull",
|
|
46058
|
-
"plan_id__isNotNull",
|
|
46059
46245
|
"plan_id__equals",
|
|
46060
46246
|
"plan_id__contains",
|
|
46061
46247
|
"plan_id__startsWith",
|
|
46062
46248
|
"plan_id__endWith",
|
|
46249
|
+
"plan_id__isNull",
|
|
46250
|
+
"plan_id__isNotNull",
|
|
46063
46251
|
"original_quote_id",
|
|
46064
46252
|
"original_quote_id__not",
|
|
46065
|
-
"original_quote_id__isNull",
|
|
46066
|
-
"original_quote_id__isNotNull",
|
|
46067
46253
|
"original_quote_id__equals",
|
|
46068
46254
|
"original_quote_id__contains",
|
|
46069
46255
|
"original_quote_id__startsWith",
|
|
46070
46256
|
"original_quote_id__endWith",
|
|
46257
|
+
"original_quote_id__isNull",
|
|
46258
|
+
"original_quote_id__isNotNull",
|
|
46071
46259
|
"customer_id",
|
|
46072
46260
|
"customer_id__not",
|
|
46073
|
-
"customer_id__isNull",
|
|
46074
|
-
"customer_id__isNotNull",
|
|
46075
46261
|
"customer_id__equals",
|
|
46076
46262
|
"customer_id__contains",
|
|
46077
46263
|
"customer_id__startsWith",
|
|
46078
46264
|
"customer_id__endWith",
|
|
46265
|
+
"customer_id__isNull",
|
|
46266
|
+
"customer_id__isNotNull",
|
|
46079
46267
|
"invoicing_entity_id",
|
|
46080
46268
|
"purchase_order",
|
|
46081
46269
|
"purchase_order__not",
|
|
46082
|
-
"purchase_order__isNull",
|
|
46083
|
-
"purchase_order__isNotNull",
|
|
46084
46270
|
"purchase_order__equals",
|
|
46085
46271
|
"purchase_order__contains",
|
|
46086
46272
|
"purchase_order__startsWith",
|
|
46087
46273
|
"purchase_order__endWith",
|
|
46274
|
+
"purchase_order__isNull",
|
|
46275
|
+
"purchase_order__isNotNull",
|
|
46088
46276
|
"custom_properties",
|
|
46089
46277
|
"invoice_drafts",
|
|
46090
46278
|
"integration_entity_id",
|
|
46091
46279
|
"updated_at",
|
|
46092
46280
|
"updated_at__not",
|
|
46093
|
-
"updated_at__isNull",
|
|
46094
|
-
"updated_at__isNotNull",
|
|
46095
46281
|
"updated_at__equals",
|
|
46096
46282
|
"updated_at__lt",
|
|
46097
46283
|
"updated_at__lte",
|
|
@@ -46099,13 +46285,13 @@ Examples:
|
|
|
46099
46285
|
"updated_at__gte",
|
|
46100
46286
|
"cancel_at",
|
|
46101
46287
|
"cancel_at__not",
|
|
46102
|
-
"cancel_at__isNull",
|
|
46103
|
-
"cancel_at__isNotNull",
|
|
46104
46288
|
"cancel_at__equals",
|
|
46105
46289
|
"cancel_at__lt",
|
|
46106
46290
|
"cancel_at__lte",
|
|
46107
46291
|
"cancel_at__gt",
|
|
46108
46292
|
"cancel_at__gte",
|
|
46293
|
+
"cancel_at__isNull",
|
|
46294
|
+
"cancel_at__isNotNull",
|
|
46109
46295
|
"contract_start__gte",
|
|
46110
46296
|
"contract_start__lte",
|
|
46111
46297
|
"contract_end__gte",
|
|
@@ -46392,7 +46578,7 @@ Examples:
|
|
|
46392
46578
|
// build/commands/generated/subscriptions-transitions.js
|
|
46393
46579
|
function registerSubscriptions_TransitionsCommands(parent) {
|
|
46394
46580
|
const resource = parent.command("subscriptions-transitions").description("Manage subscriptions > transitions");
|
|
46395
|
-
resource.command("list-subscription-transitions").description(`List subscription transitions (migrations from one subscription to another). Filterable and paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--source-subscription-id <value>", `source_subscription_id`).option("--source-subscription-id.not <value>", `source_subscription_id__not`).option("--source-subscription-id.
|
|
46581
|
+
resource.command("list-subscription-transitions").description(`List subscription transitions (migrations from one subscription to another). Filterable and paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--source-subscription-id <value>", `source_subscription_id`).option("--source-subscription-id.not <value>", `source_subscription_id__not`).option("--source-subscription-id.equals <value>", `source_subscription_id__equals`).option("--source-subscription-id.contains <value>", `source_subscription_id__contains`).option("--source-subscription-id.starts-with <value>", `source_subscription_id__startsWith`).option("--source-subscription-id.end-with <value>", `source_subscription_id__endWith`).option("--base-subscription-id <value>", `base_subscription_id`).option("--base-subscription-id.not <value>", `base_subscription_id__not`).option("--base-subscription-id.equals <value>", `base_subscription_id__equals`).option("--base-subscription-id.contains <value>", `base_subscription_id__contains`).option("--base-subscription-id.starts-with <value>", `base_subscription_id__startsWith`).option("--base-subscription-id.end-with <value>", `base_subscription_id__endWith`).option("--target-subscription-id <value>", `target_subscription_id`).option("--target-subscription-id.not <value>", `target_subscription_id__not`).option("--target-subscription-id.equals <value>", `target_subscription_id__equals`).option("--target-subscription-id.contains <value>", `target_subscription_id__contains`).option("--target-subscription-id.starts-with <value>", `target_subscription_id__startsWith`).option("--target-subscription-id.end-with <value>", `target_subscription_id__endWith`).option("--target-subscription-id.is-null <value>", `target_subscription_id__isNull`).option("--target-subscription-id.is-not-null <value>", `target_subscription_id__isNotNull`).option("--transition-date <value>", `transition_date`).option("--transition-date.not <value>", `transition_date__not`).option("--transition-date.equals <value>", `transition_date__equals`).option("--transition-date.lt <value>", `transition_date__lt`).option("--transition-date.lte <value>", `transition_date__lte`).option("--transition-date.gt <value>", `transition_date__gt`).option("--transition-date.gte <value>", `transition_date__gte`).option("--transition-date.is-null <value>", `transition_date__isNull`).option("--transition-date.is-not-null <value>", `transition_date__isNotNull`).option("--transitioned-at <value>", `transitioned_at`).option("--transitioned-at.not <value>", `transitioned_at__not`).option("--transitioned-at.equals <value>", `transitioned_at__equals`).option("--transitioned-at.lt <value>", `transitioned_at__lt`).option("--transitioned-at.lte <value>", `transitioned_at__lte`).option("--transitioned-at.gt <value>", `transitioned_at__gt`).option("--transitioned-at.gte <value>", `transitioned_at__gte`).option("--transitioned-at.is-null <value>", `transitioned_at__isNull`).option("--transitioned-at.is-not-null <value>", `transitioned_at__isNotNull`).addHelpText("after", `
|
|
46396
46582
|
Examples:
|
|
46397
46583
|
hyperline subscriptions-transitions list-subscription-transitions
|
|
46398
46584
|
hyperline subscriptions-transitions list-subscription-transitions --take <take> --status <status>`).action(async (opts) => {
|
|
@@ -46410,10 +46596,6 @@ Examples:
|
|
|
46410
46596
|
args.source_subscription_id = opts.sourceSubscriptionId;
|
|
46411
46597
|
if (opts["sourceSubscriptionId.not"] !== void 0)
|
|
46412
46598
|
args.source_subscription_id__not = opts["sourceSubscriptionId.not"];
|
|
46413
|
-
if (opts["sourceSubscriptionId.isNull"] !== void 0)
|
|
46414
|
-
args.source_subscription_id__isNull = opts["sourceSubscriptionId.isNull"];
|
|
46415
|
-
if (opts["sourceSubscriptionId.isNotNull"] !== void 0)
|
|
46416
|
-
args.source_subscription_id__isNotNull = opts["sourceSubscriptionId.isNotNull"];
|
|
46417
46599
|
if (opts["sourceSubscriptionId.equals"] !== void 0)
|
|
46418
46600
|
args.source_subscription_id__equals = opts["sourceSubscriptionId.equals"];
|
|
46419
46601
|
if (opts["sourceSubscriptionId.contains"] !== void 0)
|
|
@@ -46426,10 +46608,6 @@ Examples:
|
|
|
46426
46608
|
args.base_subscription_id = opts.baseSubscriptionId;
|
|
46427
46609
|
if (opts["baseSubscriptionId.not"] !== void 0)
|
|
46428
46610
|
args.base_subscription_id__not = opts["baseSubscriptionId.not"];
|
|
46429
|
-
if (opts["baseSubscriptionId.isNull"] !== void 0)
|
|
46430
|
-
args.base_subscription_id__isNull = opts["baseSubscriptionId.isNull"];
|
|
46431
|
-
if (opts["baseSubscriptionId.isNotNull"] !== void 0)
|
|
46432
|
-
args.base_subscription_id__isNotNull = opts["baseSubscriptionId.isNotNull"];
|
|
46433
46611
|
if (opts["baseSubscriptionId.equals"] !== void 0)
|
|
46434
46612
|
args.base_subscription_id__equals = opts["baseSubscriptionId.equals"];
|
|
46435
46613
|
if (opts["baseSubscriptionId.contains"] !== void 0)
|
|
@@ -46442,10 +46620,6 @@ Examples:
|
|
|
46442
46620
|
args.target_subscription_id = opts.targetSubscriptionId;
|
|
46443
46621
|
if (opts["targetSubscriptionId.not"] !== void 0)
|
|
46444
46622
|
args.target_subscription_id__not = opts["targetSubscriptionId.not"];
|
|
46445
|
-
if (opts["targetSubscriptionId.isNull"] !== void 0)
|
|
46446
|
-
args.target_subscription_id__isNull = opts["targetSubscriptionId.isNull"];
|
|
46447
|
-
if (opts["targetSubscriptionId.isNotNull"] !== void 0)
|
|
46448
|
-
args.target_subscription_id__isNotNull = opts["targetSubscriptionId.isNotNull"];
|
|
46449
46623
|
if (opts["targetSubscriptionId.equals"] !== void 0)
|
|
46450
46624
|
args.target_subscription_id__equals = opts["targetSubscriptionId.equals"];
|
|
46451
46625
|
if (opts["targetSubscriptionId.contains"] !== void 0)
|
|
@@ -46454,14 +46628,14 @@ Examples:
|
|
|
46454
46628
|
args.target_subscription_id__startsWith = opts["targetSubscriptionId.startsWith"];
|
|
46455
46629
|
if (opts["targetSubscriptionId.endWith"] !== void 0)
|
|
46456
46630
|
args.target_subscription_id__endWith = opts["targetSubscriptionId.endWith"];
|
|
46631
|
+
if (opts["targetSubscriptionId.isNull"] !== void 0)
|
|
46632
|
+
args.target_subscription_id__isNull = opts["targetSubscriptionId.isNull"];
|
|
46633
|
+
if (opts["targetSubscriptionId.isNotNull"] !== void 0)
|
|
46634
|
+
args.target_subscription_id__isNotNull = opts["targetSubscriptionId.isNotNull"];
|
|
46457
46635
|
if (opts.transitionDate !== void 0)
|
|
46458
46636
|
args.transition_date = opts.transitionDate;
|
|
46459
46637
|
if (opts["transitionDate.not"] !== void 0)
|
|
46460
46638
|
args.transition_date__not = opts["transitionDate.not"];
|
|
46461
|
-
if (opts["transitionDate.isNull"] !== void 0)
|
|
46462
|
-
args.transition_date__isNull = opts["transitionDate.isNull"];
|
|
46463
|
-
if (opts["transitionDate.isNotNull"] !== void 0)
|
|
46464
|
-
args.transition_date__isNotNull = opts["transitionDate.isNotNull"];
|
|
46465
46639
|
if (opts["transitionDate.equals"] !== void 0)
|
|
46466
46640
|
args.transition_date__equals = opts["transitionDate.equals"];
|
|
46467
46641
|
if (opts["transitionDate.lt"] !== void 0)
|
|
@@ -46472,14 +46646,14 @@ Examples:
|
|
|
46472
46646
|
args.transition_date__gt = opts["transitionDate.gt"];
|
|
46473
46647
|
if (opts["transitionDate.gte"] !== void 0)
|
|
46474
46648
|
args.transition_date__gte = opts["transitionDate.gte"];
|
|
46649
|
+
if (opts["transitionDate.isNull"] !== void 0)
|
|
46650
|
+
args.transition_date__isNull = opts["transitionDate.isNull"];
|
|
46651
|
+
if (opts["transitionDate.isNotNull"] !== void 0)
|
|
46652
|
+
args.transition_date__isNotNull = opts["transitionDate.isNotNull"];
|
|
46475
46653
|
if (opts.transitionedAt !== void 0)
|
|
46476
46654
|
args.transitioned_at = opts.transitionedAt;
|
|
46477
46655
|
if (opts["transitionedAt.not"] !== void 0)
|
|
46478
46656
|
args.transitioned_at__not = opts["transitionedAt.not"];
|
|
46479
|
-
if (opts["transitionedAt.isNull"] !== void 0)
|
|
46480
|
-
args.transitioned_at__isNull = opts["transitionedAt.isNull"];
|
|
46481
|
-
if (opts["transitionedAt.isNotNull"] !== void 0)
|
|
46482
|
-
args.transitioned_at__isNotNull = opts["transitionedAt.isNotNull"];
|
|
46483
46657
|
if (opts["transitionedAt.equals"] !== void 0)
|
|
46484
46658
|
args.transitioned_at__equals = opts["transitionedAt.equals"];
|
|
46485
46659
|
if (opts["transitionedAt.lt"] !== void 0)
|
|
@@ -46490,6 +46664,10 @@ Examples:
|
|
|
46490
46664
|
args.transitioned_at__gt = opts["transitionedAt.gt"];
|
|
46491
46665
|
if (opts["transitionedAt.gte"] !== void 0)
|
|
46492
46666
|
args.transitioned_at__gte = opts["transitionedAt.gte"];
|
|
46667
|
+
if (opts["transitionedAt.isNull"] !== void 0)
|
|
46668
|
+
args.transitioned_at__isNull = opts["transitionedAt.isNull"];
|
|
46669
|
+
if (opts["transitionedAt.isNotNull"] !== void 0)
|
|
46670
|
+
args.transitioned_at__isNotNull = opts["transitionedAt.isNotNull"];
|
|
46493
46671
|
if (opts.take !== void 0)
|
|
46494
46672
|
args.take = Number(opts.take);
|
|
46495
46673
|
if (opts.skip !== void 0)
|
|
@@ -46505,46 +46683,42 @@ Examples:
|
|
|
46505
46683
|
"status__in",
|
|
46506
46684
|
"source_subscription_id",
|
|
46507
46685
|
"source_subscription_id__not",
|
|
46508
|
-
"source_subscription_id__isNull",
|
|
46509
|
-
"source_subscription_id__isNotNull",
|
|
46510
46686
|
"source_subscription_id__equals",
|
|
46511
46687
|
"source_subscription_id__contains",
|
|
46512
46688
|
"source_subscription_id__startsWith",
|
|
46513
46689
|
"source_subscription_id__endWith",
|
|
46514
46690
|
"base_subscription_id",
|
|
46515
46691
|
"base_subscription_id__not",
|
|
46516
|
-
"base_subscription_id__isNull",
|
|
46517
|
-
"base_subscription_id__isNotNull",
|
|
46518
46692
|
"base_subscription_id__equals",
|
|
46519
46693
|
"base_subscription_id__contains",
|
|
46520
46694
|
"base_subscription_id__startsWith",
|
|
46521
46695
|
"base_subscription_id__endWith",
|
|
46522
46696
|
"target_subscription_id",
|
|
46523
46697
|
"target_subscription_id__not",
|
|
46524
|
-
"target_subscription_id__isNull",
|
|
46525
|
-
"target_subscription_id__isNotNull",
|
|
46526
46698
|
"target_subscription_id__equals",
|
|
46527
46699
|
"target_subscription_id__contains",
|
|
46528
46700
|
"target_subscription_id__startsWith",
|
|
46529
46701
|
"target_subscription_id__endWith",
|
|
46702
|
+
"target_subscription_id__isNull",
|
|
46703
|
+
"target_subscription_id__isNotNull",
|
|
46530
46704
|
"transition_date",
|
|
46531
46705
|
"transition_date__not",
|
|
46532
|
-
"transition_date__isNull",
|
|
46533
|
-
"transition_date__isNotNull",
|
|
46534
46706
|
"transition_date__equals",
|
|
46535
46707
|
"transition_date__lt",
|
|
46536
46708
|
"transition_date__lte",
|
|
46537
46709
|
"transition_date__gt",
|
|
46538
46710
|
"transition_date__gte",
|
|
46711
|
+
"transition_date__isNull",
|
|
46712
|
+
"transition_date__isNotNull",
|
|
46539
46713
|
"transitioned_at",
|
|
46540
46714
|
"transitioned_at__not",
|
|
46541
|
-
"transitioned_at__isNull",
|
|
46542
|
-
"transitioned_at__isNotNull",
|
|
46543
46715
|
"transitioned_at__equals",
|
|
46544
46716
|
"transitioned_at__lt",
|
|
46545
46717
|
"transitioned_at__lte",
|
|
46546
46718
|
"transitioned_at__gt",
|
|
46547
|
-
"transitioned_at__gte"
|
|
46719
|
+
"transitioned_at__gte",
|
|
46720
|
+
"transitioned_at__isNull",
|
|
46721
|
+
"transitioned_at__isNotNull"
|
|
46548
46722
|
]
|
|
46549
46723
|
});
|
|
46550
46724
|
});
|
|
@@ -46622,7 +46796,7 @@ Examples:
|
|
|
46622
46796
|
// build/commands/generated/taxes.js
|
|
46623
46797
|
function registerTaxesCommands(parent) {
|
|
46624
46798
|
const resource = parent.command("taxes").description("Manage taxes");
|
|
46625
|
-
resource.command("list-tax-rates").description(`List custom and default tax rate mappings with optional filters for id, name, description, and invoicing_entity_id. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--id <value>", `id`).option("--id.not <value>", `id__not`).option("--id.
|
|
46799
|
+
resource.command("list-tax-rates").description(`List custom and default tax rate mappings with optional filters for id, name, description, and invoicing_entity_id. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--id <value>", `id`).option("--id.not <value>", `id__not`).option("--id.equals <value>", `id__equals`).option("--id.contains <value>", `id__contains`).option("--id.starts-with <value>", `id__startsWith`).option("--id.end-with <value>", `id__endWith`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.equals <value>", `name__equals`).option("--name.contains <value>", `name__contains`).option("--name.starts-with <value>", `name__startsWith`).option("--name.end-with <value>", `name__endWith`).option("--name.is-null <value>", `name__isNull`).option("--name.is-not-null <value>", `name__isNotNull`).option("--description <value>", `description`).option("--description.not <value>", `description__not`).option("--description.equals <value>", `description__equals`).option("--description.contains <value>", `description__contains`).option("--description.starts-with <value>", `description__startsWith`).option("--description.end-with <value>", `description__endWith`).option("--description.is-null <value>", `description__isNull`).option("--description.is-not-null <value>", `description__isNotNull`).option("--invoicing-entity-id <value>", `invoicing_entity_id`).option("--invoicing-entity-id.not <value>", `invoicing_entity_id__not`).option("--invoicing-entity-id.equals <value>", `invoicing_entity_id__equals`).option("--invoicing-entity-id.contains <value>", `invoicing_entity_id__contains`).option("--invoicing-entity-id.starts-with <value>", `invoicing_entity_id__startsWith`).option("--invoicing-entity-id.end-with <value>", `invoicing_entity_id__endWith`).addHelpText("after", `
|
|
46626
46800
|
Examples:
|
|
46627
46801
|
hyperline taxes list-tax-rates
|
|
46628
46802
|
hyperline taxes list-tax-rates --take <take> --id <id>`).action(async (opts) => {
|
|
@@ -46636,10 +46810,6 @@ Examples:
|
|
|
46636
46810
|
args.id = opts.id;
|
|
46637
46811
|
if (opts["id.not"] !== void 0)
|
|
46638
46812
|
args.id__not = opts["id.not"];
|
|
46639
|
-
if (opts["id.isNull"] !== void 0)
|
|
46640
|
-
args.id__isNull = opts["id.isNull"];
|
|
46641
|
-
if (opts["id.isNotNull"] !== void 0)
|
|
46642
|
-
args.id__isNotNull = opts["id.isNotNull"];
|
|
46643
46813
|
if (opts["id.equals"] !== void 0)
|
|
46644
46814
|
args.id__equals = opts["id.equals"];
|
|
46645
46815
|
if (opts["id.contains"] !== void 0)
|
|
@@ -46652,10 +46822,6 @@ Examples:
|
|
|
46652
46822
|
args.name = opts.name;
|
|
46653
46823
|
if (opts["name.not"] !== void 0)
|
|
46654
46824
|
args.name__not = opts["name.not"];
|
|
46655
|
-
if (opts["name.isNull"] !== void 0)
|
|
46656
|
-
args.name__isNull = opts["name.isNull"];
|
|
46657
|
-
if (opts["name.isNotNull"] !== void 0)
|
|
46658
|
-
args.name__isNotNull = opts["name.isNotNull"];
|
|
46659
46825
|
if (opts["name.equals"] !== void 0)
|
|
46660
46826
|
args.name__equals = opts["name.equals"];
|
|
46661
46827
|
if (opts["name.contains"] !== void 0)
|
|
@@ -46664,14 +46830,14 @@ Examples:
|
|
|
46664
46830
|
args.name__startsWith = opts["name.startsWith"];
|
|
46665
46831
|
if (opts["name.endWith"] !== void 0)
|
|
46666
46832
|
args.name__endWith = opts["name.endWith"];
|
|
46833
|
+
if (opts["name.isNull"] !== void 0)
|
|
46834
|
+
args.name__isNull = opts["name.isNull"];
|
|
46835
|
+
if (opts["name.isNotNull"] !== void 0)
|
|
46836
|
+
args.name__isNotNull = opts["name.isNotNull"];
|
|
46667
46837
|
if (opts.description !== void 0)
|
|
46668
46838
|
args.description = opts.description;
|
|
46669
46839
|
if (opts["description.not"] !== void 0)
|
|
46670
46840
|
args.description__not = opts["description.not"];
|
|
46671
|
-
if (opts["description.isNull"] !== void 0)
|
|
46672
|
-
args.description__isNull = opts["description.isNull"];
|
|
46673
|
-
if (opts["description.isNotNull"] !== void 0)
|
|
46674
|
-
args.description__isNotNull = opts["description.isNotNull"];
|
|
46675
46841
|
if (opts["description.equals"] !== void 0)
|
|
46676
46842
|
args.description__equals = opts["description.equals"];
|
|
46677
46843
|
if (opts["description.contains"] !== void 0)
|
|
@@ -46680,14 +46846,14 @@ Examples:
|
|
|
46680
46846
|
args.description__startsWith = opts["description.startsWith"];
|
|
46681
46847
|
if (opts["description.endWith"] !== void 0)
|
|
46682
46848
|
args.description__endWith = opts["description.endWith"];
|
|
46849
|
+
if (opts["description.isNull"] !== void 0)
|
|
46850
|
+
args.description__isNull = opts["description.isNull"];
|
|
46851
|
+
if (opts["description.isNotNull"] !== void 0)
|
|
46852
|
+
args.description__isNotNull = opts["description.isNotNull"];
|
|
46683
46853
|
if (opts.invoicingEntityId !== void 0)
|
|
46684
46854
|
args.invoicing_entity_id = opts.invoicingEntityId;
|
|
46685
46855
|
if (opts["invoicingEntityId.not"] !== void 0)
|
|
46686
46856
|
args.invoicing_entity_id__not = opts["invoicingEntityId.not"];
|
|
46687
|
-
if (opts["invoicingEntityId.isNull"] !== void 0)
|
|
46688
|
-
args.invoicing_entity_id__isNull = opts["invoicingEntityId.isNull"];
|
|
46689
|
-
if (opts["invoicingEntityId.isNotNull"] !== void 0)
|
|
46690
|
-
args.invoicing_entity_id__isNotNull = opts["invoicingEntityId.isNotNull"];
|
|
46691
46857
|
if (opts["invoicingEntityId.equals"] !== void 0)
|
|
46692
46858
|
args.invoicing_entity_id__equals = opts["invoicingEntityId.equals"];
|
|
46693
46859
|
if (opts["invoicingEntityId.contains"] !== void 0)
|
|
@@ -46709,32 +46875,28 @@ Examples:
|
|
|
46709
46875
|
"skip",
|
|
46710
46876
|
"id",
|
|
46711
46877
|
"id__not",
|
|
46712
|
-
"id__isNull",
|
|
46713
|
-
"id__isNotNull",
|
|
46714
46878
|
"id__equals",
|
|
46715
46879
|
"id__contains",
|
|
46716
46880
|
"id__startsWith",
|
|
46717
46881
|
"id__endWith",
|
|
46718
46882
|
"name",
|
|
46719
46883
|
"name__not",
|
|
46720
|
-
"name__isNull",
|
|
46721
|
-
"name__isNotNull",
|
|
46722
46884
|
"name__equals",
|
|
46723
46885
|
"name__contains",
|
|
46724
46886
|
"name__startsWith",
|
|
46725
46887
|
"name__endWith",
|
|
46888
|
+
"name__isNull",
|
|
46889
|
+
"name__isNotNull",
|
|
46726
46890
|
"description",
|
|
46727
46891
|
"description__not",
|
|
46728
|
-
"description__isNull",
|
|
46729
|
-
"description__isNotNull",
|
|
46730
46892
|
"description__equals",
|
|
46731
46893
|
"description__contains",
|
|
46732
46894
|
"description__startsWith",
|
|
46733
46895
|
"description__endWith",
|
|
46896
|
+
"description__isNull",
|
|
46897
|
+
"description__isNotNull",
|
|
46734
46898
|
"invoicing_entity_id",
|
|
46735
46899
|
"invoicing_entity_id__not",
|
|
46736
|
-
"invoicing_entity_id__isNull",
|
|
46737
|
-
"invoicing_entity_id__isNotNull",
|
|
46738
46900
|
"invoicing_entity_id__equals",
|
|
46739
46901
|
"invoicing_entity_id__contains",
|
|
46740
46902
|
"invoicing_entity_id__startsWith",
|
|
@@ -47318,6 +47480,7 @@ function registerAllCommands(program2) {
|
|
|
47318
47480
|
registerCouponsCommands(program2);
|
|
47319
47481
|
registerCoupons_Promotion_CodesCommands(program2);
|
|
47320
47482
|
registerCustomers_CreditsCommands(program2);
|
|
47483
|
+
registerCustomers_FeaturesCommands(program2);
|
|
47321
47484
|
registerCustomers_Payment_MethodsCommands(program2);
|
|
47322
47485
|
registerCustomers_AddressCommands(program2);
|
|
47323
47486
|
registerCustomers_ShippingCommands(program2);
|
|
@@ -47326,12 +47489,14 @@ function registerAllCommands(program2) {
|
|
|
47326
47489
|
registerOrganisationsCommands(program2);
|
|
47327
47490
|
registerCustomers_SegmentsCommands(program2);
|
|
47328
47491
|
registerExportsCommands(program2);
|
|
47492
|
+
registerFeaturesCommands(program2);
|
|
47329
47493
|
registerFilesCommands(program2);
|
|
47330
47494
|
registerInvoicesCommands(program2);
|
|
47331
47495
|
registerInvoices_TransactionsCommands(program2);
|
|
47332
47496
|
registerInvoicing_EntitiesCommands(program2);
|
|
47333
47497
|
registerAi_MonitoringCommands(program2);
|
|
47334
47498
|
registerPaymentsCommands(program2);
|
|
47499
|
+
registerProducts_FeaturesCommands(program2);
|
|
47335
47500
|
registerProductsCommands(program2);
|
|
47336
47501
|
registerPrice_ConfigurationsCommands(program2);
|
|
47337
47502
|
registerQuotesCommands(program2);
|
|
@@ -66841,7 +67006,8 @@ var DST_HOUR_SHIFT_BY_LOCAL_MILLISECOND_OF_DAY = /* @__PURE__ */ new Map([
|
|
|
66841
67006
|
]);
|
|
66842
67007
|
|
|
66843
67008
|
// ../hyperline-lib/build/utils/api/filterBuilder.js
|
|
66844
|
-
var
|
|
67009
|
+
var nullAuthorizedOperators = ["isNull", "isNotNull"];
|
|
67010
|
+
var baseAuthorizedOperators = ["not", ...nullAuthorizedOperators];
|
|
66845
67011
|
var booleanAuthorizedOperators = [
|
|
66846
67012
|
...baseAuthorizedOperators,
|
|
66847
67013
|
"equals"
|
|
@@ -66870,6 +67036,7 @@ var authorizedOperators = [
|
|
|
66870
67036
|
...arrayAuthorizedOperators,
|
|
66871
67037
|
...mapAuthorizedOperators
|
|
66872
67038
|
];
|
|
67039
|
+
var NullFilterValueSchema = BooleanSchema.or(external_exports.literal("")).optional();
|
|
66873
67040
|
|
|
66874
67041
|
// ../hyperline-lib/build/http/dto/state.js
|
|
66875
67042
|
var StateSchema = external_exports.enum(usStates).openapi({
|