@addresszen/openapi 4.0.3 → 4.1.0

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/openapi.ts CHANGED
@@ -15,11 +15,11 @@ export interface paths {
15
15
  * Availability
16
16
  * @description Returns public information on an API Key: whether it can be used right now (`available`), the search contexts the key is licensed for (`contexts`) and the context that best matches the caller's IP address (`context`).
17
17
  *
18
- * The endpoint accepts API Keys (beginning `ak_`) and sub-licensed keys (beginning `sl_`), and needs no `user_token`.
18
+ * The endpoint accepts API Keys (beginning `ak_`) and sub-licensed keys (beginning `sl_`), and needs no Management Key.
19
19
  *
20
20
  * A key that exists but cannot be used, because it has no lookups left or has breached a limit, returns `200` with `"available": false`. An unknown or malformed key returns an error.
21
21
  *
22
- * Supply a valid `user_token` and the endpoint returns the key's private details instead, as `GET /keys/{key}/details` does. A `user_token` that does not own the key is rejected.
22
+ * Supply a valid Management Key and the endpoint returns the key's private details instead, as `GET /keys/{key}/details` does. A Management Key that does not own the key is rejected.
23
23
  */
24
24
  get: operations["KeyAvailability"];
25
25
  put?: never;
@@ -89,7 +89,7 @@ export interface paths {
89
89
  * Logs (CSV)
90
90
  * @description Returns a CSV of the charged lookups made on a key, one row per request.
91
91
  *
92
- * Requires the `user_token` for the account. The maximum interval is 90 days. Without a start or end date the interval is the last 21 days.
92
+ * Requires the account Management Key. The maximum interval is 90 days. Without a start or end date the interval is the last 21 days.
93
93
  *
94
94
  * The response is `text/csv` and downloads as an attachment. A non-200 response reverts to JSON, with the error code and message in the body.
95
95
  *
@@ -142,6 +142,12 @@ export interface paths {
142
142
  * A match returns the standardized address lines, city, state and ZIP+4, scored by `fit` and `confidence`. It also carries the CASS record behind the match: delivery point, DPV flags, carrier route, eLOT, county, congressional district, RDI, time zone and coordinates. No match returns `200` with a `count` of `0`, a `null` `match` and empty address fields.
143
143
  *
144
144
  * Only a match draws on your balance. A key without address verification enabled returns `401`. A verification still running after 9.5 seconds aborts with `429`.
145
+ *
146
+ * ## Countries
147
+ *
148
+ * Verify defaults to the United States, where it is CASS certified. Pass `context` with an ISO 3166-1 alpha-3 country code to verify an address elsewhere, e.g. `context=GBR` or `context=FRA`. The address datasets your key is licensed for decide which countries it can verify.
149
+ *
150
+ * Outside the United States there is no CASS record to return, so `match` carries the standardized address from that country's dataset instead. The top-level fields (`address_line_one`, `city`, `state`, `zip_code`, `country_iso_2`) are populated for every country, along with `confidence` and `fit`.
145
151
  */
146
152
  post: operations["AddressVerify"];
147
153
  delete?: never;
@@ -292,7 +298,7 @@ export interface paths {
292
298
  };
293
299
  /**
294
300
  * List
295
- * @description Returns a key's licensees, oldest first, up to 100 per request. The list omits cancelled licensees. The key must be enabled for sub-licensing.
301
+ * @description Returns a key's licensees, oldest first, up to 100 per request. The list omits canceled licensees. The key must be enabled for sub-licensing.
296
302
  */
297
303
  get: operations["ListLicensees"];
298
304
  put?: never;
@@ -316,15 +322,15 @@ export interface paths {
316
322
  };
317
323
  /**
318
324
  * Retrieve
319
- * @description Returns a licensee by its `sl_` key. A cancelled or unknown licensee returns `404`.
325
+ * @description Returns a licensee by its `sl_` key. A canceled or unknown licensee returns `404`.
320
326
  */
321
327
  get: operations["RetrieveLicensee"];
328
+ put?: never;
322
329
  /**
323
330
  * Update
324
331
  * @description Updates a licensee's address, postcode, allowed URLs and daily limit. Returns the updated licensee. The name is fixed at creation.
325
332
  */
326
- put: operations["UpdateLicensee"];
327
- post?: never;
333
+ post: operations["UpdateLicensee"];
328
334
  /**
329
335
  * Cancel
330
336
  * @description Cancels a licensee. Its key stops working and it drops out of the licensee list. Contact us to reverse it.
@@ -565,7 +571,7 @@ export interface components {
565
571
  /**
566
572
  * @description Determines whether the key can be used by the requesting agent.
567
573
  *
568
- * Returns false if one of the following conditions are met:
574
+ * Returns false if one of the following conditions is met:
569
575
  * - Key has no lookups remaining
570
576
  * - Daily limit has been reached on the key
571
577
  * - Daily individual limit has been reached
@@ -890,7 +896,16 @@ export interface components {
890
896
  daily_limit: components["schemas"]["ApiKeyDailyLimit"];
891
897
  monthly_limit: components["schemas"]["ApiKeyMonthlyLimit"];
892
898
  individual_limit: components["schemas"]["ApiKeyIndividualLimit"];
893
- /** @description A list of allowed URLs. An empty list means that allowed URLs are disabled. */
899
+ /**
900
+ * @description A list of allowed URLs. An empty list disables the check.
901
+ *
902
+ * A request is allowed when its `Origin` or `Referer` header matches an entry. Use one of these formats:
903
+ *
904
+ * - `https://www.example.com` allows one site. Scheme and host must match
905
+ * - `*.example.com` allows the domain and all its subdomains
906
+ *
907
+ * See [Allowed URLs](https://docs.addresszen.com/docs/guides/allowed-urls).
908
+ */
894
909
  allowed_urls: string[];
895
910
  /**
896
911
  * @description Number of days to preserve personal data stored in your key usage history. Set to 0 to prevent personal data storage
@@ -908,7 +923,7 @@ export interface components {
908
923
  */
909
924
  ip_forwarding: boolean;
910
925
  /**
911
- * @description Whether the key is enrolled in the premier support programme and monitored closely by our devops team. Read-only; managed by our team.
926
+ * @description Whether the key is enrolled in the premier support program and monitored closely by our devops team. Read-only; managed by our team.
912
927
  * @default false
913
928
  */
914
929
  premier_support: boolean;
@@ -962,7 +977,16 @@ export interface components {
962
977
  */
963
978
  limit?: number | null;
964
979
  };
965
- /** @description A list of allowed URLs. An empty list means that allowed URLs are disabled. Up to 10 allowed. */
980
+ /**
981
+ * @description A list of allowed URLs. An empty list disables the check. Up to 10 allowed.
982
+ *
983
+ * A request is allowed when its `Origin` or `Referer` header matches an entry. Use one of these formats:
984
+ *
985
+ * - `https://www.example.com` allows one site. Scheme and host must match
986
+ * - `*.example.com` allows the domain and all its subdomains
987
+ *
988
+ * See [Allowed URLs](https://docs.addresszen.com/docs/guides/allowed-urls).
989
+ */
966
990
  allowed_urls?: string[];
967
991
  /**
968
992
  * @description Number of days to preserve personal data stored in your key usage history. Set to 0 to prevent personal data storage
@@ -1467,7 +1491,7 @@ export interface components {
1467
1491
  match: components["schemas"]["UsaCassVerifiedAddress"];
1468
1492
  /** @description The number of addresses we matched to the input. We return the closest match by default. */
1469
1493
  count: number;
1470
- /** @description A score represented as number between 1 and 0. Fit compares the address elements present in your query against the matching address elements. It does not incorporate elements you have not presented in the score. A partial address (e.g. 12 Pye Green Road) will have a fit of 1 even though it is missing post town and postcode. Its confidence score will be less than 1 however because it is missing some crucial elements. */
1494
+ /** @description A score represented as number between 1 and 0. Fit compares the address elements present in your query against the matching address elements. It does not incorporate elements you have not presented in the score. A partial address (e.g. 123 Main St) will have a fit of 1 even though it is missing city and zip code. Its confidence score will be less than 1 however because it is missing some crucial elements. */
1471
1495
  fit: number;
1472
1496
  /** @description A confidence score represented as number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements. */
1473
1497
  confidence: number;
@@ -3340,9 +3364,9 @@ export interface components {
3340
3364
  /**
3341
3365
  * @description A number associated with the whole building. The building number may have a numeric and an alphanumeric component, which are concatenated e.g. 2A, or alternatively will have a simple building number or a complex building number. The building number always relates to the whole building and not a sub-unit within it.
3342
3366
  * A complex building number may be one of the following:
3343
- * - Dual. Two number separated by '/' e.g. 63/64 = 63, 64
3367
+ * - Dual. Two numbers separated by '/' e.g. 63/64 = 63, 64
3344
3368
  * - Sequence. An odd or even sequence of numbers with lower and upper bound separated by an underscore '_' e.g. `1_5` = 1,3,5 and `2_6` = 2,4,6
3345
- * - Range. A range of consecutive numbers with lower and upper bound separated by a dash '-' e.g. `63-66` = 63, 64, 56, 66
3369
+ * - Range. A range of consecutive numbers with lower and upper bound separated by a dash '-' e.g. `63-66` = 63, 64, 65, 66
3346
3370
  * The building number never appears on a line by itself and can prepend Building Group, Primary Thoroughfare or Primary Locality.
3347
3371
  */
3348
3372
  building_number: string;
@@ -8332,7 +8356,7 @@ export interface components {
8332
8356
  street_post_directional_abbreviation: string;
8333
8357
  /**
8334
8358
  * Building or Firm Name
8335
- * @description The name of a company, building, apartment complex, shopping center, or other distinguishing secondary address information.
8359
+ * @description The name of a company, building, apartment complex, shopping center or other distinguishing secondary address information.
8336
8360
  */
8337
8361
  building_or_firm_name: string;
8338
8362
  /**
@@ -8433,7 +8457,7 @@ export interface components {
8433
8457
  city_state_name_facility_code: "B" | "C" | "N" | "P" | "S" | "U" | "Y" | "";
8434
8458
  /**
8435
8459
  * ZIP Classification Code
8436
- * @description Describes the type of ZIP area a 5-digit ZIP Code serves, e.g. a single educational institution, post office boxes only, or a single address with unusually high mail volume.
8460
+ * @description Describes the type of ZIP area a 5-digit ZIP Code serves, e.g. a single educational institution, post office boxes only or a single address with unusually high mail volume.
8437
8461
  *
8438
8462
  * - M = Military ZIP Code
8439
8463
  * - P = ZIP Code having only Post Office Boxes
@@ -8744,10 +8768,17 @@ export interface components {
8744
8768
  address?: string;
8745
8769
  /**
8746
8770
  * @description Licensee's postcode
8747
- * @example ID1 1QD
8771
+ * @example BR8 7RE
8748
8772
  */
8749
8773
  postcode?: string;
8750
- /** @description A list of allowed URLs. An empty list means that whitelisting is disabled */
8774
+ /**
8775
+ * @description A list of allowed URLs. An empty list disables the check.
8776
+ *
8777
+ * A request is allowed when its `Origin` or `Referer` header matches an entry. Use one of these formats:
8778
+ *
8779
+ * - `https://www.example.com` allows one site. Scheme and host must match
8780
+ * - `*.example.com` allows the domain and all its subdomains
8781
+ */
8751
8782
  whitelist?: string[];
8752
8783
  daily?: {
8753
8784
  /**
@@ -8768,7 +8799,7 @@ export interface components {
8768
8799
  /**
8769
8800
  * @description Uniquely identifies a licensee for a key.
8770
8801
  *
8771
- * Required to perform paid lookups for a specific licensee. Typically begins `sk_`.
8802
+ * Required to perform paid lookups for a specific licensee. Typically begins `sl_`.
8772
8803
  * @example sl_ijoiqsxeQgXW2gkiE0X94
8773
8804
  */
8774
8805
  key: string;
@@ -8780,7 +8811,7 @@ export interface components {
8780
8811
  daily: {
8781
8812
  /**
8782
8813
  * Format: int32
8783
- * @description The number lookups performed by the licensee on the day represented b `licesees.daily.updatedAt`
8814
+ * @description The number of lookups performed by the licensee on the day represented by `licensees.daily.updatedAt`
8784
8815
  * @example 232
8785
8816
  */
8786
8817
  count: number;
@@ -9097,13 +9128,13 @@ export interface components {
9097
9128
  */
9098
9129
  ApiKeyPathParam: string;
9099
9130
  /**
9100
- * @description **Private User Token**
9131
+ * @description **Management Key**
9101
9132
  *
9102
- * A secret key used for sensitive operations on your account and API Keys.
9133
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
9103
9134
  *
9104
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9135
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9105
9136
  *
9106
- * Typically begins `uk_...`
9137
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
9107
9138
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
9108
9139
  */
9109
9140
  UserTokenParam: string;
@@ -9176,8 +9207,8 @@ export interface components {
9176
9207
  /**
9177
9208
  * @description **Bias by Geolocation**
9178
9209
  *
9179
- * Bias search to a geospatial circle determined by an origin and radius in metres. Max radius is `50000`.
9180
- * Uses the format bias_lonlat=[longitude],[latitude],[radius in metres].
9210
+ * Bias search to a geospatial circle determined by an origin and radius in meters. Max radius is `50000`.
9211
+ * Uses the format bias_lonlat=[longitude],[latitude],[radius in meters].
9181
9212
  * Only one geospatial bias may be provided.
9182
9213
  * @example -2.095,57.15,100
9183
9214
  */
@@ -9395,13 +9426,13 @@ export interface operations {
9395
9426
  parameters: {
9396
9427
  query?: {
9397
9428
  /**
9398
- * @description **Private User Token**
9429
+ * @description **Management Key**
9399
9430
  *
9400
- * A secret key used for sensitive operations on your account and API Keys.
9431
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
9401
9432
  *
9402
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9433
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9403
9434
  *
9404
- * Typically begins `uk_...`
9435
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
9405
9436
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
9406
9437
  */
9407
9438
  user_token?: components["parameters"]["UserTokenParam"];
@@ -9453,13 +9484,13 @@ export interface operations {
9453
9484
  parameters: {
9454
9485
  query?: {
9455
9486
  /**
9456
- * @description **Private User Token**
9487
+ * @description **Management Key**
9457
9488
  *
9458
- * A secret key used for sensitive operations on your account and API Keys.
9489
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
9459
9490
  *
9460
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9491
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9461
9492
  *
9462
- * Typically begins `uk_...`
9493
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
9463
9494
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
9464
9495
  */
9465
9496
  user_token?: components["parameters"]["UserTokenParam"];
@@ -9515,13 +9546,13 @@ export interface operations {
9515
9546
  parameters: {
9516
9547
  query?: {
9517
9548
  /**
9518
- * @description **Private User Token**
9549
+ * @description **Management Key**
9519
9550
  *
9520
- * A secret key used for sensitive operations on your account and API Keys.
9551
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
9521
9552
  *
9522
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9553
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9523
9554
  *
9524
- * Typically begins `uk_...`
9555
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
9525
9556
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
9526
9557
  */
9527
9558
  user_token?: components["parameters"]["UserTokenParam"];
@@ -9596,13 +9627,13 @@ export interface operations {
9596
9627
  parameters: {
9597
9628
  query?: {
9598
9629
  /**
9599
- * @description **Private User Token**
9630
+ * @description **Management Key**
9600
9631
  *
9601
- * A secret key used for sensitive operations on your account and API Keys.
9632
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
9602
9633
  *
9603
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9634
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
9604
9635
  *
9605
- * Typically begins `uk_...`
9636
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
9606
9637
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
9607
9638
  */
9608
9639
  user_token?: components["parameters"]["UserTokenParam"];
@@ -9803,8 +9834,8 @@ export interface operations {
9803
9834
  /**
9804
9835
  * @description **Bias by Geolocation**
9805
9836
  *
9806
- * Bias search to a geospatial circle determined by an origin and radius in metres. Max radius is `50000`.
9807
- * Uses the format bias_lonlat=[longitude],[latitude],[radius in metres].
9837
+ * Bias search to a geospatial circle determined by an origin and radius in meters. Max radius is `50000`.
9838
+ * Uses the format bias_lonlat=[longitude],[latitude],[radius in meters].
9808
9839
  * Only one geospatial bias may be provided.
9809
9840
  * @example -2.095,57.15,100
9810
9841
  */
@@ -10075,8 +10106,8 @@ export interface operations {
10075
10106
  /**
10076
10107
  * @description **Bias by Geolocation**
10077
10108
  *
10078
- * Bias search to a geospatial circle determined by an origin and radius in metres. Max radius is `50000`.
10079
- * Uses the format bias_lonlat=[longitude],[latitude],[radius in metres].
10109
+ * Bias search to a geospatial circle determined by an origin and radius in meters. Max radius is `50000`.
10110
+ * Uses the format bias_lonlat=[longitude],[latitude],[radius in meters].
10080
10111
  * Only one geospatial bias may be provided.
10081
10112
  * @example -2.095,57.15,100
10082
10113
  */
@@ -10190,13 +10221,13 @@ export interface operations {
10190
10221
  /** @description ID of the licensee after which to list results */
10191
10222
  starting_after?: number;
10192
10223
  /**
10193
- * @description **Private User Token**
10224
+ * @description **Management Key**
10194
10225
  *
10195
- * A secret key used for sensitive operations on your account and API Keys.
10226
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10196
10227
  *
10197
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10228
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10198
10229
  *
10199
- * Typically begins `uk_...`
10230
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10200
10231
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10201
10232
  */
10202
10233
  user_token?: components["parameters"]["UserTokenParam"];
@@ -10250,13 +10281,13 @@ export interface operations {
10250
10281
  parameters: {
10251
10282
  query?: {
10252
10283
  /**
10253
- * @description **Private User Token**
10284
+ * @description **Management Key**
10254
10285
  *
10255
- * A secret key used for sensitive operations on your account and API Keys.
10286
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10256
10287
  *
10257
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10288
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10258
10289
  *
10259
- * Typically begins `uk_...`
10290
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10260
10291
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10261
10292
  */
10262
10293
  user_token?: components["parameters"]["UserTokenParam"];
@@ -10303,13 +10334,13 @@ export interface operations {
10303
10334
  parameters: {
10304
10335
  query?: {
10305
10336
  /**
10306
- * @description **Private User Token**
10337
+ * @description **Management Key**
10307
10338
  *
10308
- * A secret key used for sensitive operations on your account and API Keys.
10339
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10309
10340
  *
10310
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10341
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10311
10342
  *
10312
- * Typically begins `uk_...`
10343
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10313
10344
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10314
10345
  */
10315
10346
  user_token?: components["parameters"]["UserTokenParam"];
@@ -10359,13 +10390,13 @@ export interface operations {
10359
10390
  parameters: {
10360
10391
  query?: {
10361
10392
  /**
10362
- * @description **Private User Token**
10393
+ * @description **Management Key**
10363
10394
  *
10364
- * A secret key used for sensitive operations on your account and API Keys.
10395
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10365
10396
  *
10366
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10397
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10367
10398
  *
10368
- * Typically begins `uk_...`
10399
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10369
10400
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10370
10401
  */
10371
10402
  user_token?: components["parameters"]["UserTokenParam"];
@@ -10419,13 +10450,13 @@ export interface operations {
10419
10450
  parameters: {
10420
10451
  query?: {
10421
10452
  /**
10422
- * @description **Private User Token**
10453
+ * @description **Management Key**
10423
10454
  *
10424
- * A secret key used for sensitive operations on your account and API Keys.
10455
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10425
10456
  *
10426
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10457
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10427
10458
  *
10428
- * Typically begins `uk_...`
10459
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10429
10460
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10430
10461
  */
10431
10462
  user_token?: components["parameters"]["UserTokenParam"];
@@ -10490,13 +10521,13 @@ export interface operations {
10490
10521
  parameters: {
10491
10522
  query?: {
10492
10523
  /**
10493
- * @description **Private User Token**
10524
+ * @description **Management Key**
10494
10525
  *
10495
- * A secret key used for sensitive operations on your account and API Keys.
10526
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10496
10527
  *
10497
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10528
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10498
10529
  *
10499
- * Typically begins `uk_...`
10530
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10500
10531
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10501
10532
  */
10502
10533
  user_token?: components["parameters"]["UserTokenParam"];
@@ -10546,13 +10577,13 @@ export interface operations {
10546
10577
  parameters: {
10547
10578
  query?: {
10548
10579
  /**
10549
- * @description **Private User Token**
10580
+ * @description **Management Key**
10550
10581
  *
10551
- * A secret key used for sensitive operations on your account and API Keys.
10582
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10552
10583
  *
10553
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10584
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10554
10585
  *
10555
- * Typically begins `uk_...`
10586
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10556
10587
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10557
10588
  */
10558
10589
  user_token?: components["parameters"]["UserTokenParam"];
@@ -10595,13 +10626,13 @@ export interface operations {
10595
10626
  parameters: {
10596
10627
  query?: {
10597
10628
  /**
10598
- * @description **Private User Token**
10629
+ * @description **Management Key**
10599
10630
  *
10600
- * A secret key used for sensitive operations on your account and API Keys.
10631
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10601
10632
  *
10602
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10633
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10603
10634
  *
10604
- * Typically begins `uk_...`
10635
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10605
10636
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10606
10637
  */
10607
10638
  user_token?: components["parameters"]["UserTokenParam"];
@@ -10701,13 +10732,13 @@ export interface operations {
10701
10732
  parameters: {
10702
10733
  query?: {
10703
10734
  /**
10704
- * @description **Private User Token**
10735
+ * @description **Management Key**
10705
10736
  *
10706
- * A secret key used for sensitive operations on your account and API Keys.
10737
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10707
10738
  *
10708
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10739
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10709
10740
  *
10710
- * Typically begins `uk_...`
10741
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10711
10742
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10712
10743
  */
10713
10744
  user_token?: components["parameters"]["UserTokenParam"];
@@ -10770,13 +10801,13 @@ export interface operations {
10770
10801
  parameters: {
10771
10802
  query?: {
10772
10803
  /**
10773
- * @description **Private User Token**
10804
+ * @description **Management Key**
10774
10805
  *
10775
- * A secret key used for sensitive operations on your account and API Keys.
10806
+ * A secret key used to manage your account and API Keys. It was previously called the user token.
10776
10807
  *
10777
- * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10808
+ * Your management key can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10778
10809
  *
10779
- * Typically begins `uk_...`
10810
+ * Typically begins `uk_...`. Prefer the `Authorization: Bearer uk_...` header.
10780
10811
  * @example uk_B59ScW1p1HHouf1VqclEPZUx
10781
10812
  */
10782
10813
  user_token?: components["parameters"]["UserTokenParam"];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@addresszen/openapi",
3
3
  "description": "AddressZen OpenAPI v3 specifications",
4
- "version": "4.0.3",
4
+ "version": "4.1.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.mjs",
@@ -17,8 +17,8 @@
17
17
  "./dist/*": "./dist/*"
18
18
  },
19
19
  "devDependencies": {
20
- "@atlas/tsconfig-base": "0.0.0",
21
- "@atlas/tsup-config": "0.0.0",
20
+ "@iddqdhq/tsconfig-base": "0.0.0",
21
+ "@iddqdhq/tsup-config": "0.0.0",
22
22
  "@redocly/cli": "~2.53.2",
23
23
  "@stoplight/prism-cli": "~5.0.0",
24
24
  "ts7": "npm:typescript@~7.0.2",